Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.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.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01028/0.01028, allocations: 100.5 kB / 15.73 MB, free: 5.582 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.001667/0.001667, allocations: 195.9 kB / 16.67 MB, free: 5.523 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04025/0.04025, allocations: 8.047 MB / 298.6 MB, free: 6.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.89 kB / 413.1 MB, free: 22.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.114, allocations: 51.2 MB / 464.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.007427/0.1215, allocations: 4.295 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.1246, allocations: 1.454 MB / 470 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006935/0.1253, allocations: 15.94 kB / 470 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006063/0.1259, allocations: 154.8 kB / 470.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008191/0.1268, allocations: 222.4 kB / 470.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008899/0.1277, allocations: 390.6 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008557/0.1286, allocations: 0.8922 MB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006043/0.1292, allocations: 479.8 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.1295, allocations: 338.9 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.1299, allocations: 390.3 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.13, allocations: 100 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.1302, allocations: 131.9 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.1305, allocations: 219.3 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.1308, allocations: 430 kB / 473.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.1318, allocations: 1.079 MB / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1319, allocations: 0 / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1319, allocations: 0 / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1319, allocations: 4 kB / 474.8 MB, free: 8.492 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001836/0.1337, allocations: 1.151 MB / 475.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1338, allocations: 8.031 kB / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.1339, allocations: 84 kB / 476 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007251/0.1347, allocations: 0.5167 MB / 476.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.1347, allocations: 50 kB / 476.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.1348, allocations: 75.91 kB / 476.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.1361, allocations: 0.7035 MB / 477.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.1362, allocations: 3.984 kB / 477.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.538e-05/0.1363, allocations: 36 kB / 477.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.1363, allocations: 16 kB / 477.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.1374, allocations: 0.4938 MB / 477.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.141, allocations: 2.536 MB / 480.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009944/0.142, allocations: 447.4 kB / 480.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.1424, allocations: 180.8 kB / 481.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.1424, allocations: 7.984 kB / 481.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005838/0.143, allocations: 267.3 kB / 481.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.704e-06/0.1431, allocations: 0 / 481.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001703/0.1448, allocations: 0.7043 MB / 482 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.1449, allocations: 136.5 kB / 482.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.1455, allocations: 0.5761 MB / 482.8 MB, free: 144 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.1455, allocations: 33.7 kB / 482.8 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.1458, allocations: 355.9 kB / 483.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.346e-05/0.1459, allocations: 114.4 kB / 483.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.146, allocations: 74.06 kB / 483.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1462, allocations: 366.7 kB / 483.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.1466, allocations: 166.3 kB / 483.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.1471, allocations: 267.3 kB / 484.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009426/0.1481, allocations: 0.5425 MB / 484.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.1481, allocations: 4 kB / 484.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001199/0.1493, allocations: 0.6037 MB / 485.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.351e-05/0.1494, allocations: 97.09 kB / 485.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1494, allocations: 96 / 485.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.1495, allocations: 28.78 kB / 485.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.1499, allocations: 88.22 kB / 485.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.151, allocations: 1.383 MB / 486.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.1514, allocations: 75.48 kB / 486.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.1515, allocations: 19.98 kB / 486.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005854/0.1521, allocations: 320.9 kB / 487.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004285/0.1525, allocations: 251.3 kB / 487.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008336/0.1534, allocations: 0.5187 MB / 488 MB, free: 10.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.1534, allocations: 0 / 488 MB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.00109/0.1545, allocations: 0.5843 MB / 488.6 MB, free: 9.816 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.1545, allocations: 101.1 kB / 488.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.1546, allocations: 0 / 488.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.83e-05/0.1547, allocations: 28.84 kB / 488.7 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.155, allocations: 75.83 kB / 488.8 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009205/0.1559, allocations: 1.398 MB / 490.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.1563, allocations: 67.81 kB / 490.3 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.1564, allocations: 19.98 kB / 490.3 MB, free: 7.973 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,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0002118/0.1566, allocations: 260.5 kB / 490.5 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.1567, allocations: 55.34 kB / 490.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.1579, allocations: 0.5142 MB / 491.1 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.1579, allocations: 8 kB / 491.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.1579, allocations: 0 / 491.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1579, allocations: 0 / 491.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.1597, allocations: 1.187 MB / 492.3 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1597, allocations: 0 / 492.3 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.1601, allocations: 59.95 kB / 492.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.603e-05/0.1601, allocations: 20.78 kB / 492.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.1602, allocations: 16 kB / 492.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009876/0.1612, allocations: 1.379 MB / 493.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1612, allocations: 3.938 kB / 493.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.1628, allocations: 0.7928 MB / 494.6 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1629, allocations: 136.5 kB / 494.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.163, allocations: 12 kB / 494.7 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.1633, allocations: 39.95 kB / 494.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.1635, allocations: 31.95 kB / 494.8 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.1635, allocations: 16 kB / 494.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004611/0.164, allocations: 410.8 kB / 495.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.403e-06/0.164, allocations: 0 / 495.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007602/0.1648, allocations: 298.7 kB / 495.5 MB, free: 2.449 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * 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.0008134/0.1656, allocations: 370.8 kB / 495.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.1676, allocations: 1.189 MB / 497 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1676, allocations: 0 / 497 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006864/0.1683, allocations: 434.2 kB / 497.5 MB, free: 476 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/0.1689, allocations: 92.48 kB / 497.6 MB, free: 392 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.171, allocations: 1.233 MB / 498.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.1715, allocations: 0.9017 MB / 499.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.1717, allocations: 63.42 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1718, allocations: 35.44 kB / 499.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1718, allocations: 7.938 kB / 499.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of Templates: time 0.01322/0.1851, allocations: 7.292 MB / 0.4952 GB, free: 6.812 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)