Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1509/0.1509, allocations: 8.028 MB / 299.1 MB, free: 3.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003, allocations: 8 kB / 361.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.09912, allocations: 52.19 MB / 414 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004257/0.1034, allocations: 3.56 MB / 417.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.1057, allocations: 1.322 MB / 418.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.1061, allocations: 11.94 kB / 418.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.1065, allocations: 123.3 kB / 419 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004585/0.1069, allocations: 159 kB / 419.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.1075, allocations: 251 kB / 419.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006456/0.1082, allocations: 0.7324 MB / 420.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004994/0.1087, allocations: 362.3 kB / 420.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.1089, allocations: 223 kB / 420.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.1093, allocations: 266.6 kB / 421 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.167e-05/0.1093, allocations: 39.98 kB / 421 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.1095, allocations: 63.92 kB / 421.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.1096, allocations: 127.5 kB / 421.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.1098, allocations: 157.3 kB / 421.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006676/0.1104, allocations: 0.787 MB / 422.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1105, allocations: 0 / 422.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1105, allocations: 4 kB / 422.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1105, allocations: 0 / 422.1 MB, free: 1.902 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001559/0.1121, allocations: 0.9968 MB / 423.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1121, allocations: 8.031 kB / 423.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.1122, allocations: 82.97 kB / 423.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006502/0.1129, allocations: 492.7 kB / 423.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.113, allocations: 49.31 kB / 423.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.77e-05/0.1131, allocations: 64 kB / 423.8 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1863/0.2994, allocations: 0.6817 MB / 424.5 MB, free: 41.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.2995, allocations: 2.297 kB / 424.5 MB, free: 41.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/0.2996, allocations: 30.08 kB / 424.5 MB, free: 41.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.2996, allocations: 14.31 kB / 424.5 MB, free: 41.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.3007, allocations: 0.5096 MB / 425 MB, free: 41.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003399/0.3041, allocations: 2.619 MB / 427.7 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008604/0.3049, allocations: 456.6 kB / 428.1 MB, free: 40.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.3053, allocations: 195.2 kB / 428.3 MB, free: 40.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.3054, allocations: 4.484 kB / 428.3 MB, free: 40.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005425/0.3059, allocations: 269.4 kB / 428.6 MB, free: 40.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.3059, allocations: 0 / 428.6 MB, free: 40.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001486/0.3074, allocations: 0.7285 MB / 429.3 MB, free: 40.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.3075, allocations: 138.9 kB / 429.4 MB, free: 39.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006132/0.3081, allocations: 0.556 MB / 430 MB, free: 39.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.3082, allocations: 33.39 kB / 430 MB, free: 39.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.3084, allocations: 347 kB / 430.4 MB, free: 39.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.3085, allocations: 105.6 kB / 430.5 MB, free: 39.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.3085, allocations: 13.72 kB / 430.5 MB, free: 39.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.3086, allocations: 360.9 kB / 430.8 MB, free: 39.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.3089, allocations: 167.5 kB / 431 MB, free: 39.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.3093, allocations: 274.5 kB / 431.3 MB, free: 39.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.3097, allocations: 267.1 kB / 431.5 MB, free: 39.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3098, allocations: 4 kB / 431.5 MB, free: 39.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001051/0.3108, allocations: 0.6149 MB / 432.1 MB, free: 38.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.3109, allocations: 265.5 kB / 432.4 MB, free: 38.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3109, allocations: 3.125 kB / 432.4 MB, free: 38.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.3111, allocations: 24.08 kB / 432.4 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.3114, allocations: 91.97 kB / 432.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007155/0.3122, allocations: 1.284 MB / 433.8 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.3126, allocations: 90.47 kB / 433.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.3126, allocations: 16.72 kB / 433.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/0.3126, allocations: 3.188 kB / 433.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009398/0.3136, allocations: 0.5412 MB / 434.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3136, allocations: 7.344 kB / 434.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.78e-05/0.3137, allocations: 25.25 kB / 434.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.3139, allocations: 84.19 kB / 434.6 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006117/0.3146, allocations: 1.286 MB / 435.8 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.3149, allocations: 78.47 kB / 435.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.315, allocations: 22.38 kB / 435.9 MB, free: 35.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,oneFlangeConn.limTau.state,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,oneFlangeConn.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000322/0.3153, allocations: 362 kB / 436.3 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.3154, allocations: 58.2 kB / 436.3 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009347/0.3163, allocations: 0.5193 MB / 436.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3163, allocations: 3.406 kB / 436.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3163, allocations: 3.953 kB / 436.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3163, allocations: 3.562 kB / 436.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.3178, allocations: 1.169 MB / 438 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3178, allocations: 3.953 kB / 438.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.3181, allocations: 63.38 kB / 438.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.704e-05/0.3181, allocations: 26.22 kB / 438.1 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.3182, allocations: 12.17 kB / 438.2 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005699/0.3188, allocations: 1.283 MB / 439.4 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3188, allocations: 0 / 439.4 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.32, allocations: 0.8087 MB / 440.2 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.552e-05/0.3201, allocations: 136.8 kB / 440.4 MB, free: 32.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.3202, allocations: 7.031 kB / 440.4 MB, free: 32.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.3205, allocations: 56.08 kB / 440.4 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/0.3206, allocations: 36.09 kB / 440.5 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.3206, allocations: 10.28 kB / 440.5 MB, free: 32.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003717/0.321, allocations: 399.4 kB / 440.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.321, allocations: 4 kB / 440.9 MB, free: 32.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007344/0.3218, allocations: 277.5 kB / 441.1 MB, free: 32.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008635/0.3226, allocations: 369.7 kB / 441.5 MB, free: 32.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.3242, allocations: 1.203 MB / 442.7 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3242, allocations: 0 / 442.7 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.3247, allocations: 443.9 kB / 443.1 MB, free: 31.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.3253, allocations: 94.55 kB / 443.2 MB, free: 31.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.3271, allocations: 1.45 MB / 444.7 MB, free: 30.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3274, allocations: 0.8971 MB / 445.6 MB, free: 29.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.3277, allocations: 58.98 kB / 445.6 MB, free: 29.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-05/0.3277, allocations: 36.3 kB / 445.7 MB, free: 29.49 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3278, allocations: 0 / 445.7 MB, free: 29.49 MB / 350.1 MB Notification: Performance of Templates: time 0.01005/0.3378, allocations: 6.288 MB / 452 MB, free: 28.93 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)