Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00879/0.00879, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.002419/0.002419, allocations: 192.5 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.579/1.579, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04291/0.04291, allocations: 8.023 MB / 298.5 MB, free: 6.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001968, allocations: 59.91 kB / 413.1 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1247, allocations: 51.24 MB / 464.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange2): time 0.007895/0.1326, allocations: 4.863 MB / 469.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005256/0.138, allocations: 2.554 MB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009462/0.1389, allocations: 15.94 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006999/0.1397, allocations: 238.5 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009544/0.1407, allocations: 282.1 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.142, allocations: 0.5542 MB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.1435, allocations: 1.04 MB / 473.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000741/0.1443, allocations: 499.8 kB / 474.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005718/0.1449, allocations: 394.6 kB / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.1455, allocations: 442.1 kB / 475.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.1457, allocations: 108 kB / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004995/0.1462, allocations: 203.9 kB / 475.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.1465, allocations: 247.2 kB / 475.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004881/0.147, allocations: 477.6 kB / 476.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.1488, allocations: 1.257 MB / 477.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1488, allocations: 4 kB / 477.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1488, allocations: 0 / 477.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.1489, allocations: 0 / 477.5 MB, free: 5.781 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002405/0.1513, allocations: 1.307 MB / 478.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1513, allocations: 15.89 kB / 478.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.1516, allocations: 100.3 kB / 478.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.1526, allocations: 0.609 MB / 479.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.771e-05/0.1527, allocations: 57.69 kB / 479.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.1529, allocations: 76.12 kB / 479.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.1543, allocations: 0.7012 MB / 480.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.1543, allocations: 4 kB / 480.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-05/0.1544, allocations: 35.98 kB / 480.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.1544, allocations: 20 kB / 480.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.1558, allocations: 0.5008 MB / 480.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.16, allocations: 2.6 MB / 483.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1611, allocations: 456.3 kB / 484 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/0.1616, allocations: 181.3 kB / 484.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.978e-05/0.1617, allocations: 8.266 kB / 484.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006516/0.1623, allocations: 275.6 kB / 484.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.1623, allocations: 4 kB / 484.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001986/0.1643, allocations: 0.733 MB / 485.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.1645, allocations: 195.9 kB / 485.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.1657, allocations: 0.7854 MB / 486.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.1657, allocations: 33.7 kB / 486.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.1662, allocations: 416.6 kB / 486.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.1663, allocations: 119.1 kB / 486.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.1665, allocations: 98.02 kB / 486.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.1668, allocations: 386.8 kB / 487.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.1673, allocations: 174.6 kB / 487.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/0.1678, allocations: 290.8 kB / 487.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.169, allocations: 0.5696 MB / 488.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.169, allocations: 0 / 488.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001553/0.1705, allocations: 0.6629 MB / 488.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.015e-05/0.1706, allocations: 97.09 kB / 488.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.1707, allocations: 4 kB / 488.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.1709, allocations: 28.78 kB / 489 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.1713, allocations: 95.88 kB / 489.1 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.1726, allocations: 1.383 MB / 490.5 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/0.1732, allocations: 91.67 kB / 490.5 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.1733, allocations: 23.98 kB / 490.6 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008579/0.1742, allocations: 357 kB / 490.9 MB, free: 7.621 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006373/0.1748, allocations: 285.4 kB / 491.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001019/0.1759, allocations: 0.5498 MB / 491.7 MB, free: 6.672 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.1759, allocations: 0 / 491.7 MB, free: 6.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001428/0.1773, allocations: 0.6276 MB / 492.4 MB, free: 6.016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.839e-05/0.1774, allocations: 95.44 kB / 492.5 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1774, allocations: 4.094 kB / 492.5 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.1775, allocations: 33.2 kB / 492.5 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.1779, allocations: 91.81 kB / 492.6 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.1791, allocations: 1.379 MB / 494 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.1797, allocations: 67.73 kB / 494 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.1798, allocations: 20.09 kB / 494.1 MB, free: 4.172 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.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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.0002883/0.1801, allocations: 285.4 kB / 494.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.1802, allocations: 71.53 kB / 494.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.1815, allocations: 0.535 MB / 494.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.1816, allocations: 7.984 kB / 494.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1816, allocations: 3.938 kB / 495 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.1816, allocations: 4 kB / 495 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.184, allocations: 1.28 MB / 496.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.184, allocations: 4 kB / 496.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.1843, allocations: 71.88 kB / 496.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.1845, allocations: 24.78 kB / 496.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.1845, allocations: 12 kB / 496.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.1857, allocations: 1.378 MB / 497.7 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1857, allocations: 0 / 497.7 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.1876, allocations: 0.8319 MB / 498.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.1879, allocations: 188.6 kB / 498.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.188, allocations: 8 kB / 498.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.1883, allocations: 43.95 kB / 498.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.1885, allocations: 43.83 kB / 498.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.1885, allocations: 8 kB / 498.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008403/0.1894, allocations: 0.5654 MB / 499.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1894, allocations: 4 kB / 499.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001002/0.1904, allocations: 323.1 kB / 499.7 MB, free: 14.2 MB / 382.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.pDC.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 (33): * Single equations (assignments): 28 * 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.002518/0.1929, allocations: 0.6434 MB / 0.4886 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.1954, allocations: 1.218 MB / 0.4898 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.1954, allocations: 0 / 0.4898 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.1962, allocations: 446.1 kB / 0.4903 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008808/0.1971, allocations: 129 kB / 0.4904 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.1999, allocations: 1.465 MB / 0.4918 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.2005, allocations: 0.9564 MB / 0.4927 GB, free: 9.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003139/0.2008, allocations: 76.56 kB / 0.4928 GB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.201, allocations: 51.42 kB / 0.4929 GB, free: 9.297 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.201, allocations: 0 / 0.4929 GB, free: 9.297 MB / 382.1 MB Notification: Performance of Templates: time 0.01843/0.2194, allocations: 8.853 MB / 0.5015 GB, free: 500 kB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe 2>&1)