Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.004702/0.004702, allocations: 99.64 kB / 15.73 MB, free: 6.047 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.0009942/0.0009943, allocations: 193.9 kB / 16.67 MB, free: 5.965 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03706/0.03706, allocations: 8.036 MB / 298.6 MB, free: 6.801 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 63.91 kB / 413.1 MB, free: 22.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08326/0.08433, allocations: 51.19 MB / 464.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.00491/0.08927, allocations: 4.297 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.09123, allocations: 1.458 MB / 470 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.09148, allocations: 12 kB / 470 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.09185, allocations: 158.8 kB / 470.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.0923, allocations: 206.4 kB / 470.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.09294, allocations: 402.4 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008474/0.0938, allocations: 0.8961 MB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000543/0.09435, allocations: 471.8 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.09466, allocations: 342.8 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.09502, allocations: 374.4 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.09514, allocations: 107.9 kB / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.09533, allocations: 132 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.09552, allocations: 215.4 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.09585, allocations: 430 kB / 473.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009124/0.09677, allocations: 1.09 MB / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.09678, allocations: 0 / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09679, allocations: 0 / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.09681, allocations: 0 / 474.8 MB, free: 8.496 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.00164/0.09845, allocations: 1.17 MB / 476 MB, free: 7.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.09849, allocations: 8.031 kB / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.09863, allocations: 88.42 kB / 476 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006317/0.09927, allocations: 0.5287 MB / 476.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.09932, allocations: 50 kB / 476.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.359e-05/0.09942, allocations: 72 kB / 476.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.1006, allocations: 0.6996 MB / 477.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.1006, allocations: 15.94 kB / 477.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/0.1007, allocations: 32 kB / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1007, allocations: 16 kB / 477.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.1018, allocations: 0.5015 MB / 478 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/0.1051, allocations: 2.541 MB / 480.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009241/0.106, allocations: 443.4 kB / 480.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/0.1064, allocations: 184.7 kB / 481.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.1064, allocations: 4 kB / 481.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000521/0.107, allocations: 259.4 kB / 481.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.634e-06/0.107, allocations: 0 / 481.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001524/0.1085, allocations: 0.72 MB / 482.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.1086, allocations: 136.5 kB / 482.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/0.1091, allocations: 0.5606 MB / 482.8 MB, free: 112 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.1092, allocations: 37.69 kB / 482.8 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.1094, allocations: 360.7 kB / 483.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/0.1095, allocations: 123 kB / 483.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.1096, allocations: 74.06 kB / 483.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1098, allocations: 366.7 kB / 483.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.1102, allocations: 166.3 kB / 483.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.1106, allocations: 267.2 kB / 484.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008554/0.1115, allocations: 0.5387 MB / 484.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1115, allocations: 3.938 kB / 484.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001085/0.1126, allocations: 0.6079 MB / 485.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.1127, allocations: 91.55 kB / 485.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1127, allocations: 8.312 kB / 485.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/0.1128, allocations: 28.84 kB / 485.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.1132, allocations: 83.81 kB / 485.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008852/0.114, allocations: 1.395 MB / 486.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.1144, allocations: 83.58 kB / 487 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.1145, allocations: 12 kB / 487 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005033/0.115, allocations: 328.9 kB / 487.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003891/0.1154, allocations: 247.3 kB / 487.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007528/0.1162, allocations: 0.5187 MB / 488.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.1162, allocations: 4 kB / 488.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009933/0.1172, allocations: 0.5882 MB / 488.7 MB, free: 9.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/0.1172, allocations: 93.09 kB / 488.8 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1172, allocations: 7.984 kB / 488.8 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.337e-05/0.1173, allocations: 24.84 kB / 488.8 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.1176, allocations: 79.89 kB / 488.9 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007961/0.1184, allocations: 1.383 MB / 490.2 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.1188, allocations: 71.89 kB / 490.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.1188, allocations: 16 kB / 490.3 MB, free: 7.922 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.0001608/0.119, allocations: 268.4 kB / 490.6 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.1191, allocations: 59.66 kB / 490.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.1201, allocations: 0.5104 MB / 491.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1201, allocations: 0 / 491.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1201, allocations: 4 kB / 491.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1201, allocations: 0 / 491.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.1217, allocations: 1.187 MB / 492.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1218, allocations: 0 / 492.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.1221, allocations: 71.88 kB / 492.4 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.92e-05/0.1221, allocations: 20.86 kB / 492.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.1222, allocations: 11.98 kB / 492.5 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007634/0.1229, allocations: 1.383 MB / 493.8 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.123, allocations: 0 / 493.8 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.1244, allocations: 0.8009 MB / 494.6 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.1245, allocations: 132.8 kB / 494.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.1245, allocations: 12 kB / 494.8 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.1249, allocations: 47.95 kB / 494.8 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.911e-05/0.125, allocations: 31.95 kB / 494.9 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.125, allocations: 8 kB / 494.9 MB, free: 3.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004201/0.1255, allocations: 414.8 kB / 495.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1255, allocations: 0 / 495.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006905/0.1262, allocations: 291.1 kB / 495.6 MB, free: 2.387 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.0007903/0.127, allocations: 378.8 kB / 495.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.1289, allocations: 1.178 MB / 497.1 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.1289, allocations: 4.062 kB / 497.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006327/0.1296, allocations: 437.2 kB / 497.5 MB, free: 408 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.1301, allocations: 85.81 kB / 497.6 MB, free: 324 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.1322, allocations: 1.252 MB / 498.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.1326, allocations: 0.9056 MB / 499.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002116/0.1329, allocations: 63.42 kB / 499.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.823e-05/0.133, allocations: 35.44 kB / 499.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.133, allocations: 0 / 499.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of Templates: time 0.01182/0.1448, allocations: 7.307 MB / 0.4953 GB, free: 6.715 MB / 382.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)