Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008319/0.008319, allocations: 99.14 kB / 15.73 MB, free: 6.062 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.001346/0.001346, allocations: 188.3 kB / 16.67 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03908/0.03908, allocations: 8.052 MB / 298.6 MB, free: 6.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 63.89 kB / 413.1 MB, free: 22.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1181, allocations: 51.19 MB / 464.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005934/0.124, allocations: 4.116 MB / 468.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.1268, allocations: 1.411 MB / 469.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005133/0.1274, allocations: 12 kB / 469.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004981/0.1279, allocations: 150.8 kB / 469.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007176/0.1287, allocations: 206.5 kB / 470.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008615/0.1295, allocations: 382.3 kB / 470.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.1307, allocations: 0.8412 MB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006864/0.1314, allocations: 442.5 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005094/0.1319, allocations: 322.9 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.1324, allocations: 358.4 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.1327, allocations: 92 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.1329, allocations: 120 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.1332, allocations: 203.4 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005141/0.1337, allocations: 394.2 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.1353, allocations: 1.027 MB / 474.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1353, allocations: 0 / 474.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1353, allocations: 3.938 kB / 474.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.853e-05/0.1354, allocations: 0 / 474.3 MB, free: 8.984 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003526/0.1389, allocations: 1.121 MB / 475.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.139, allocations: 8.031 kB / 475.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.1392, allocations: 88.42 kB / 475.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009592/0.1402, allocations: 0.5054 MB / 476 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.123e-05/0.1403, allocations: 45.31 kB / 476 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.1404, allocations: 67.95 kB / 476.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.1417, allocations: 0.6527 MB / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1417, allocations: 4 kB / 476.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/0.1418, allocations: 28 kB / 476.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1418, allocations: 12 kB / 476.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.1428, allocations: 484.9 kB / 477.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003369/0.1462, allocations: 2.494 MB / 479.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009257/0.1471, allocations: 425.1 kB / 480.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.1475, allocations: 173 kB / 480.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.1476, allocations: 4.234 kB / 480.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00053/0.1481, allocations: 253.7 kB / 480.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.834e-06/0.1481, allocations: 0 / 480.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00165/0.1498, allocations: 0.6859 MB / 481.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.1499, allocations: 144.5 kB / 481.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006297/0.1505, allocations: 0.5565 MB / 482 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.1506, allocations: 33.7 kB / 482 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.1508, allocations: 336.2 kB / 482.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.151, allocations: 119 kB / 482.5 MB, free: 404 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.1511, allocations: 69.7 kB / 482.5 MB, free: 328 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1513, allocations: 362.8 kB / 482.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.1516, allocations: 161.1 kB / 483 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.1521, allocations: 258.5 kB / 483.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/0.1529, allocations: 0.5309 MB / 483.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.153, allocations: 0 / 483.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001099/0.1541, allocations: 0.5846 MB / 484.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.421e-05/0.1541, allocations: 101.3 kB / 484.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.1542, allocations: 8 kB / 484.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.1543, allocations: 28.83 kB / 484.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.1546, allocations: 83.83 kB / 484.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009984/0.1556, allocations: 1.382 MB / 486 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.1561, allocations: 75.67 kB / 486.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.1561, allocations: 24.09 kB / 486.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005143/0.1566, allocations: 320.3 kB / 486.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003777/0.157, allocations: 246.8 kB / 486.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007469/0.1578, allocations: 0.5148 MB / 487.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.013e-06/0.1578, allocations: 4 kB / 487.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001232/0.159, allocations: 0.5574 MB / 487.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.928e-05/0.1591, allocations: 93.09 kB / 487.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1591, allocations: 4 kB / 487.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.1592, allocations: 24.84 kB / 487.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.1596, allocations: 76.23 kB / 487.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.1608, allocations: 1.386 MB / 489.3 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/0.1614, allocations: 59.8 kB / 489.4 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.1614, allocations: 16 kB / 489.4 MB, free: 8.836 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 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.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.0002674/0.1617, allocations: 276.3 kB / 489.7 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.162, allocations: 51.67 kB / 489.7 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.1634, allocations: 0.4883 MB / 490.2 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.1634, allocations: 7.984 kB / 490.2 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1634, allocations: 0 / 490.2 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.1635, allocations: 3.984 kB / 490.2 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.166, allocations: 1.128 MB / 491.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.166, allocations: 0 / 491.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.1664, allocations: 55.89 kB / 491.4 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.1665, allocations: 24.86 kB / 491.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.1666, allocations: 15.92 kB / 491.4 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.1684, allocations: 1.371 MB / 492.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1684, allocations: 0 / 492.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.1704, allocations: 0.7704 MB / 493.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.1707, allocations: 132.7 kB / 493.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.1708, allocations: 11.98 kB / 493.7 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/0.1713, allocations: 51.89 kB / 493.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.1715, allocations: 31.97 kB / 493.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/0.1716, allocations: 19.92 kB / 493.8 MB, free: 4.098 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008703/0.1725, allocations: 402.8 kB / 494.2 MB, free: 3.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1725, allocations: 0 / 494.2 MB, free: 3.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00146/0.1739, allocations: 267.2 kB / 494.5 MB, free: 3.445 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,oneFlange.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.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.001294/0.1752, allocations: 378.6 kB / 494.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002891/0.1782, allocations: 1.155 MB / 496 MB, free: 1.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1782, allocations: 0 / 496 MB, free: 1.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009787/0.1792, allocations: 429.3 kB / 496.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008583/0.18, allocations: 84.95 kB / 496.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.1832, allocations: 1.201 MB / 497.7 MB, free: 180 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009267/0.1841, allocations: 0.8893 MB / 498.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.1845, allocations: 71.34 kB / 498.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.1847, allocations: 31.44 kB / 498.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1847, allocations: 0 / 498.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of Templates: time 0.01938/0.2041, allocations: 7.073 MB / 0.4939 GB, free: 8.113 MB / 382.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)