Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1744/0.1744, allocations: 8.029 MB / 298.4 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 71.89 kB / 360.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1181, allocations: 51.18 MB / 411.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.006501/0.1246, allocations: 4.13 MB / 415.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.1275, allocations: 1.434 MB / 417.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.128, allocations: 11.94 kB / 417.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004932/0.1285, allocations: 146.8 kB / 417.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006714/0.1292, allocations: 202.5 kB / 417.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000822/0.13, allocations: 382.8 kB / 418.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000811/0.1309, allocations: 0.8495 MB / 419 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006177/0.1315, allocations: 495.7 kB / 419.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.1318, allocations: 326.9 kB / 419.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003817/0.1322, allocations: 362.4 kB / 420.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.1324, allocations: 96 kB / 420.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.1326, allocations: 128 kB / 420.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.1329, allocations: 203.4 kB / 420.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003418/0.1332, allocations: 402.1 kB / 420.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009583/0.1342, allocations: 1.024 MB / 421.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1342, allocations: 4 kB / 421.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1342, allocations: 0 / 421.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1342, allocations: 0 / 421.9 MB, free: 0.8516 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.2175/0.3517, allocations: 1.109 MB / 423.1 MB, free: 44.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3518, allocations: 7.719 kB / 423.1 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.3519, allocations: 80.31 kB / 423.1 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.3527, allocations: 0.4947 MB / 423.6 MB, free: 43.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.3527, allocations: 50.09 kB / 423.7 MB, free: 43.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.3528, allocations: 64.48 kB / 423.7 MB, free: 43.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.3541, allocations: 0.6738 MB / 424.4 MB, free: 43.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.3541, allocations: 9.609 kB / 424.4 MB, free: 43.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.3542, allocations: 31.44 kB / 424.5 MB, free: 43.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3542, allocations: 15.91 kB / 424.5 MB, free: 43.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.3552, allocations: 493.5 kB / 425 MB, free: 43.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.3583, allocations: 2.58 MB / 427.5 MB, free: 42.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/0.3591, allocations: 430.4 kB / 428 MB, free: 42.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/0.3595, allocations: 171.6 kB / 428.1 MB, free: 42.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.3596, allocations: 6.391 kB / 428.1 MB, free: 42.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00055/0.3601, allocations: 255.9 kB / 428.4 MB, free: 42.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.3601, allocations: 4 kB / 428.4 MB, free: 42.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001421/0.3616, allocations: 0.6772 MB / 429.1 MB, free: 41.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.3616, allocations: 138.2 kB / 429.2 MB, free: 41.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/0.3622, allocations: 0.558 MB / 429.8 MB, free: 41.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.3622, allocations: 38.12 kB / 429.8 MB, free: 41.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.3624, allocations: 344 kB / 430.1 MB, free: 41.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/0.3624, allocations: 107.7 kB / 430.2 MB, free: 40.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3626, allocations: 76.36 kB / 430.3 MB, free: 40.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.3627, allocations: 364.9 kB / 430.7 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.363, allocations: 159.7 kB / 430.8 MB, free: 40.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.3634, allocations: 256.9 kB / 431.1 MB, free: 40.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007378/0.3642, allocations: 0.5302 MB / 431.6 MB, free: 40 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3642, allocations: 0 / 431.6 MB, free: 40 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000997/0.3652, allocations: 0.5886 MB / 432.2 MB, free: 39.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/0.3652, allocations: 94.11 kB / 432.3 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3653, allocations: 3.375 kB / 432.3 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.3654, allocations: 32.66 kB / 432.3 MB, free: 39.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.3657, allocations: 80.08 kB / 432.4 MB, free: 39.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007003/0.3665, allocations: 1.384 MB / 433.8 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/0.3669, allocations: 79.94 kB / 433.9 MB, free: 38.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.3669, allocations: 16.88 kB / 433.9 MB, free: 38.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004881/0.3674, allocations: 314.1 kB / 434.2 MB, free: 37.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003461/0.3678, allocations: 246.7 kB / 434.4 MB, free: 37.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006643/0.3684, allocations: 0.5132 MB / 434.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.444e-06/0.3684, allocations: 3.938 kB / 434.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009017/0.3693, allocations: 0.5646 MB / 435.5 MB, free: 37.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.3694, allocations: 94.92 kB / 435.6 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3694, allocations: 4.062 kB / 435.6 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.061e-05/0.3695, allocations: 23.12 kB / 435.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.3698, allocations: 80.36 kB / 435.7 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005902/0.3704, allocations: 1.389 MB / 437.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.3707, allocations: 58.73 kB / 437.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.3708, allocations: 17.09 kB / 437.2 MB, free: 35.6 MB / 350.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,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.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.000146/0.3709, allocations: 270.6 kB / 437.4 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.371, allocations: 57.09 kB / 437.5 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009498/0.372, allocations: 0.4949 MB / 438 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.372, allocations: 3.281 kB / 438 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.372, allocations: 0 / 438 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.372, allocations: 3.375 kB / 438 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.3734, allocations: 1.138 MB / 439.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3735, allocations: 0 / 439.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.3737, allocations: 55.45 kB / 439.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.429e-05/0.3738, allocations: 21.98 kB / 439.2 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.3739, allocations: 10.66 kB / 439.2 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006096/0.3745, allocations: 1.391 MB / 440.6 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3745, allocations: 0 / 440.6 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.3758, allocations: 0.7636 MB / 441.4 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/0.3758, allocations: 128.8 kB / 441.5 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.3759, allocations: 8.094 kB / 441.5 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.3763, allocations: 45.05 kB / 441.5 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/0.3764, allocations: 32.3 kB / 441.6 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.3764, allocations: 14.19 kB / 441.6 MB, free: 32.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003458/0.3768, allocations: 407 kB / 442 MB, free: 32.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3768, allocations: 0 / 442 MB, free: 32.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000684/0.3775, allocations: 270.9 kB / 442.3 MB, free: 32.15 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,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.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.0007852/0.3782, allocations: 372.4 kB / 442.6 MB, free: 32.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.3799, allocations: 1.178 MB / 443.8 MB, free: 31.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3799, allocations: 0 / 443.8 MB, free: 31.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.3804, allocations: 430.9 kB / 444.2 MB, free: 30.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.3809, allocations: 95.47 kB / 444.3 MB, free: 30.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3825, allocations: 1.205 MB / 445.5 MB, free: 30.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.3828, allocations: 0.9 MB / 446.4 MB, free: 29.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.383, allocations: 66.23 kB / 446.5 MB, free: 29.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.3831, allocations: 37.28 kB / 446.5 MB, free: 29.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3831, allocations: 0 / 446.5 MB, free: 29.46 MB / 350.1 MB Notification: Performance of Templates: time 0.01053/0.3937, allocations: 7.009 MB / 453.5 MB, free: 28.88 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)