Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.001584/0.001584, allocations: 111.7 kB / 16.41 MB, free: 6.492 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.001719/0.001719, allocations: 183 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04044/0.04044, allocations: 8.028 MB / 299.2 MB, free: 6.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.89 kB / 413.8 MB, free: 22.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.09113, allocations: 51.18 MB / 464.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.005576/0.09673, allocations: 4.141 MB / 469.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.09924, allocations: 1.418 MB / 470.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004437/0.09971, allocations: 15.94 kB / 470.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004682/0.1002, allocations: 150.8 kB / 470.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006888/0.1009, allocations: 202.5 kB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.1017, allocations: 386.1 kB / 471.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.1027, allocations: 0.8533 MB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006906/0.1034, allocations: 495.6 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004128/0.1039, allocations: 330.8 kB / 472.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.1044, allocations: 362.4 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.1045, allocations: 96 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.1047, allocations: 116 kB / 473.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.105, allocations: 219.3 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000397/0.1054, allocations: 410 kB / 474.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.1065, allocations: 1.047 MB / 475.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1065, allocations: 0 / 475.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1065, allocations: 0 / 475.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.748e-05/0.1065, allocations: 0 / 475.1 MB, free: 8.832 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.001929/0.1085, allocations: 1.134 MB / 476.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1085, allocations: 8.031 kB / 476.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.1087, allocations: 84.42 kB / 476.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007304/0.1094, allocations: 0.5097 MB / 476.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.1095, allocations: 53.25 kB / 476.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.1096, allocations: 71.94 kB / 477 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.1108, allocations: 0.6644 MB / 477.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.1109, allocations: 4 kB / 477.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.1109, allocations: 28 kB / 477.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.1109, allocations: 19.94 kB / 477.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.112, allocations: 485 kB / 478.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/0.1157, allocations: 2.568 MB / 480.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009577/0.1167, allocations: 426.8 kB / 481.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.1171, allocations: 177 kB / 481.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.1172, allocations: 4.234 kB / 481.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/0.1177, allocations: 265.6 kB / 481.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.1177, allocations: 0 / 481.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001568/0.1193, allocations: 0.678 MB / 482.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.1194, allocations: 140.5 kB / 482.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006487/0.12, allocations: 0.5527 MB / 482.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.1201, allocations: 33.7 kB / 483 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.1203, allocations: 356.7 kB / 483.3 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.1204, allocations: 107.1 kB / 483.4 MB, free: 112 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.1206, allocations: 77.66 kB / 483.5 MB, free: 28 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1207, allocations: 362.8 kB / 483.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004047/0.1212, allocations: 161.1 kB / 484 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.1216, allocations: 258.5 kB / 484.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008712/0.1225, allocations: 0.527 MB / 484.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.1225, allocations: 0 / 484.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001165/0.1237, allocations: 0.5962 MB / 485.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.155e-05/0.1238, allocations: 93.09 kB / 485.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.1238, allocations: 4.375 kB / 485.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/0.1239, allocations: 24.84 kB / 485.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.1243, allocations: 83.92 kB / 485.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.1253, allocations: 1.394 MB / 487 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/0.1258, allocations: 75.62 kB / 487.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.1258, allocations: 24.09 kB / 487.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005453/0.1264, allocations: 312.5 kB / 487.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004077/0.1268, allocations: 246.9 kB / 487.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007807/0.1276, allocations: 0.5187 MB / 488.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.1276, allocations: 0 / 488.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001067/0.1287, allocations: 0.569 MB / 488.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.1287, allocations: 89.09 kB / 488.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1287, allocations: 4 kB / 488.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.622e-05/0.1288, allocations: 32.77 kB / 488.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.1291, allocations: 75.89 kB / 488.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009083/0.1301, allocations: 1.371 MB / 490.3 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.1305, allocations: 67.89 kB / 490.4 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.1305, allocations: 16 kB / 490.4 MB, free: 8.543 MB / 366.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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlangeConn.limTau.state,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.1307, allocations: 268.3 kB / 490.6 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.886e-05/0.1308, allocations: 55.67 kB / 490.7 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.1319, allocations: 0.4921 MB / 491.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1319, allocations: 0 / 491.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1319, allocations: 4 kB / 491.2 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1319, allocations: 7.922 kB / 491.2 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.1337, allocations: 1.139 MB / 492.3 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.1337, allocations: 3.938 kB / 492.3 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.134, allocations: 59.89 kB / 492.4 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.482e-05/0.1341, allocations: 28.84 kB / 492.4 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.1341, allocations: 8 kB / 492.4 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009063/0.1351, allocations: 1.382 MB / 493.8 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1351, allocations: 0 / 493.8 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.1365, allocations: 0.7704 MB / 494.6 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.1366, allocations: 132.8 kB / 494.7 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-05/0.1367, allocations: 8 kB / 494.7 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.1371, allocations: 47.89 kB / 494.8 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.1372, allocations: 35.95 kB / 494.8 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.1373, allocations: 12 kB / 494.8 MB, free: 3.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004615/0.1377, allocations: 402.8 kB / 495.2 MB, free: 3.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1377, allocations: 3.938 kB / 495.2 MB, free: 3.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007766/0.1385, allocations: 275.1 kB / 495.5 MB, free: 3.125 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008082/0.1393, allocations: 374.4 kB / 495.8 MB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001903/0.1412, allocations: 1.163 MB / 497 MB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1413, allocations: 4.062 kB / 497 MB, free: 1.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006098/0.1419, allocations: 421.3 kB / 497.4 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.1424, allocations: 88.09 kB / 497.5 MB, free: 1.086 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.1445, allocations: 1.246 MB / 498.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.145, allocations: 0.8893 MB / 499.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.1451, allocations: 43.42 kB / 499.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1452, allocations: 0 / 499.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of Templates: time 0.0137/0.1589, allocations: 10.41 MB / 0.4981 GB, free: 4.434 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)