Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.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.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001574, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.00151/0.00151, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.601/1.601, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1927/0.1927, allocations: 8.562 MB / 299.3 MB, free: 2.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002038, allocations: 63.89 kB / 361.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1616, allocations: 51.39 MB / 412.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.009929/0.1716, allocations: 5.169 MB / 418.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004316/0.1759, allocations: 1.453 MB / 419.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.1774, allocations: 15.94 kB / 419.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009598/0.1784, allocations: 167.1 kB / 419.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.1799, allocations: 202.8 kB / 419.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1812, allocations: 327.7 kB / 420.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002013/0.1833, allocations: 0.9626 MB / 421.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.1844, allocations: 0.5194 MB / 421.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008851/0.1853, allocations: 378.6 kB / 422.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009488/0.1863, allocations: 426.1 kB / 422.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.1865, allocations: 104 kB / 422.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.1869, allocations: 144 kB / 422.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.1871, allocations: 215.3 kB / 422.9 MB, free: 416 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2721/0.4593, allocations: 451.3 kB / 423.4 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.4606, allocations: 0.875 MB / 424.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4606, allocations: 1 kB / 424.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4606, allocations: 0 / 424.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.4607, allocations: 0 / 424.3 MB, free: 37.61 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001724/0.4624, allocations: 1.201 MB / 425.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.4624, allocations: 12.61 kB / 425.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.4626, allocations: 90 kB / 425.6 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.4631, allocations: 0.5067 MB / 426.1 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.4632, allocations: 84.17 kB / 426.2 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.375e-05/0.4633, allocations: 79.84 kB / 426.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.4644, allocations: 0.7242 MB / 427 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.4645, allocations: 4.469 kB / 427 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.4645, allocations: 28.59 kB / 427 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.4646, allocations: 16.53 kB / 427 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.4656, allocations: 0.5346 MB / 427.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.4687, allocations: 2.649 MB / 430.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008837/0.4696, allocations: 478.9 kB / 430.7 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.4699, allocations: 194 kB / 430.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.47, allocations: 3.5 kB / 430.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005509/0.4705, allocations: 278.8 kB / 431.1 MB, free: 35.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.763e-06/0.4705, allocations: 0 / 431.1 MB, free: 35.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.00154/0.4721, allocations: 0.7647 MB / 431.9 MB, free: 35.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.4721, allocations: 138.3 kB / 432 MB, free: 34.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.4727, allocations: 0.5822 MB / 432.6 MB, free: 34.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.4727, allocations: 32.77 kB / 432.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.4729, allocations: 371.7 kB / 433 MB, free: 34.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.4729, allocations: 121.5 kB / 433.1 MB, free: 34.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.4731, allocations: 102.6 kB / 433.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.4732, allocations: 367.9 kB / 433.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.4736, allocations: 189.4 kB / 433.8 MB, free: 34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.474, allocations: 301.1 kB / 434.1 MB, free: 33.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007614/0.4747, allocations: 0.6108 MB / 434.7 MB, free: 33.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4748, allocations: 0.5625 kB / 434.7 MB, free: 33.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001062/0.4758, allocations: 0.6775 MB / 435.3 MB, free: 33.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.109e-05/0.4759, allocations: 94.48 kB / 435.4 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.4759, allocations: 3.188 kB / 435.4 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/0.4761, allocations: 24.56 kB / 435.5 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.4764, allocations: 108.2 kB / 435.6 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006601/0.4771, allocations: 1.375 MB / 436.9 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.4776, allocations: 92.97 kB / 437 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.4776, allocations: 20.09 kB / 437.1 MB, free: 31.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004996/0.4781, allocations: 351.7 kB / 437.4 MB, free: 31.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003599/0.4785, allocations: 288.2 kB / 437.7 MB, free: 31.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000716/0.4792, allocations: 0.5865 MB / 438.3 MB, free: 30.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.993e-06/0.4792, allocations: 0 / 438.3 MB, free: 30.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.000967/0.4802, allocations: 0.6551 MB / 438.9 MB, free: 30.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.4802, allocations: 98.52 kB / 439 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4802, allocations: 3.375 kB / 439 MB, free: 30.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.905e-05/0.4803, allocations: 25.7 kB / 439 MB, free: 30.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.4806, allocations: 103.3 kB / 439.1 MB, free: 30.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005491/0.4812, allocations: 1.375 MB / 440.5 MB, free: 28.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.4816, allocations: 68.66 kB / 440.6 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.4817, allocations: 23.12 kB / 440.6 MB, free: 28.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$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 (56): * Single equations (assignments): 52 * 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.0001454/0.4818, allocations: 280.9 kB / 440.9 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/0.4819, allocations: 59.84 kB / 440.9 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009844/0.4829, allocations: 0.5429 MB / 441.5 MB, free: 28.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4829, allocations: 7.281 kB / 441.5 MB, free: 28.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.4829, allocations: 0 / 441.5 MB, free: 28.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4829, allocations: 3.188 kB / 441.5 MB, free: 28.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.4844, allocations: 1.254 MB / 442.7 MB, free: 27.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4844, allocations: 0 / 442.7 MB, free: 27.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.4847, allocations: 65.62 kB / 442.8 MB, free: 27.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.724e-05/0.4848, allocations: 25.34 kB / 442.8 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.4848, allocations: 7.312 kB / 442.8 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005521/0.4854, allocations: 1.378 MB / 444.2 MB, free: 26.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4854, allocations: 3.25 kB / 444.2 MB, free: 26.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.4867, allocations: 0.844 MB / 445.1 MB, free: 25.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.4869, allocations: 173.4 kB / 445.2 MB, free: 25.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.4869, allocations: 11.19 kB / 445.2 MB, free: 25.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.4873, allocations: 48.33 kB / 445.3 MB, free: 25.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4874, allocations: 42.23 kB / 445.3 MB, free: 25.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.4875, allocations: 16.23 kB / 445.4 MB, free: 25.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003557/0.4878, allocations: 412.4 kB / 445.8 MB, free: 25.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4878, allocations: 0 / 445.8 MB, free: 25.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007263/0.4886, allocations: 291.8 kB / 446 MB, free: 25.18 MB / 350.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: 5 ($whenCondition1,oneFlange.limitingTorque,oneFlange.limTau.state,tauRef.T_start,tauRef.count) * 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 (34): * Single equations (assignments): 29 * 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.001175/0.4897, allocations: 378.4 kB / 446.4 MB, free: 25.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.4915, allocations: 1.285 MB / 447.7 MB, free: 24.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4915, allocations: 3.219 kB / 447.7 MB, free: 24.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.492, allocations: 453.6 kB / 448.1 MB, free: 23.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.4926, allocations: 84.03 kB / 448.2 MB, free: 23.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.4946, allocations: 1.611 MB / 449.8 MB, free: 22.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.495, allocations: 0.9166 MB / 450.8 MB, free: 22.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.4951, allocations: 39.12 kB / 450.8 MB, free: 22.12 MB / 350.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4951, allocations: 0 / 450.8 MB, free: 22.12 MB / 350.1 MB Notification: Performance of Templates: time 0.01184/0.5069, allocations: 11.22 MB / 462 MB, free: 20.89 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1)