Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001462/0.001462, allocations: 100.1 kB / 15.88 MB, free: 12 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.001708/0.001709, allocations: 199.1 kB / 16.79 MB, free: 6.809 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.16/0.16, allocations: 8.022 MB / 298.6 MB, free: 2.441 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 59.91 kB / 360.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1053, allocations: 51.2 MB / 411.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.006026/0.1114, allocations: 4.153 MB / 415.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.1141, allocations: 1.418 MB / 417.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.1145, allocations: 11.94 kB / 417.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.1149, allocations: 115.3 kB / 417.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.1155, allocations: 167 kB / 417.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006868/0.1162, allocations: 347.1 kB / 418 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006821/0.1169, allocations: 0.7597 MB / 418.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006161/0.1175, allocations: 443.1 kB / 419.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.1178, allocations: 278.8 kB / 419.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.1181, allocations: 334.4 kB / 419.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.727e-05/0.1182, allocations: 52 kB / 419.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.1184, allocations: 83.92 kB / 419.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.1186, allocations: 171.4 kB / 420.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.1189, allocations: 358.1 kB / 420.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006805/0.1196, allocations: 0.803 MB / 421.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1196, allocations: 0 / 421.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1197, allocations: 3.938 kB / 421.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1197, allocations: 0 / 421.2 MB, free: 2.074 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.001931/0.1216, allocations: 1.112 MB / 422.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1217, allocations: 8.031 kB / 422.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.1218, allocations: 84 kB / 422.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.1225, allocations: 0.4937 MB / 422.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.085e-05/0.1225, allocations: 53.25 kB / 423 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.1227, allocations: 79.91 kB / 423.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2003/0.323, allocations: 0.6633 MB / 423.7 MB, free: 44.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.323, allocations: 1.625 kB / 423.7 MB, free: 44.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/0.3231, allocations: 26.06 kB / 423.8 MB, free: 44.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.3231, allocations: 15.41 kB / 423.8 MB, free: 44.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.3242, allocations: 492.5 kB / 424.3 MB, free: 44.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003491/0.3277, allocations: 2.581 MB / 426.8 MB, free: 43.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008562/0.3286, allocations: 424.4 kB / 427.2 MB, free: 43.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.329, allocations: 181.9 kB / 427.4 MB, free: 43.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.329, allocations: 4.969 kB / 427.4 MB, free: 43.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005983/0.3296, allocations: 246.2 kB / 427.7 MB, free: 43.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.3297, allocations: 3.688 kB / 427.7 MB, free: 43.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001494/0.3312, allocations: 0.6877 MB / 428.4 MB, free: 42.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.3312, allocations: 139 kB / 428.5 MB, free: 42.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.3318, allocations: 0.5552 MB / 429.1 MB, free: 42.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.3319, allocations: 32.98 kB / 429.1 MB, free: 42.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.3321, allocations: 351.8 kB / 429.4 MB, free: 41.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.042e-05/0.3322, allocations: 97.7 kB / 429.5 MB, free: 41.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.3323, allocations: 78.25 kB / 429.6 MB, free: 41.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.475e-05/0.3324, allocations: 360.4 kB / 430 MB, free: 41.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.3328, allocations: 162.7 kB / 430.1 MB, free: 41.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.3332, allocations: 259 kB / 430.4 MB, free: 41.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007981/0.334, allocations: 0.5322 MB / 430.9 MB, free: 40.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3341, allocations: 0 / 430.9 MB, free: 40.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001087/0.3352, allocations: 0.5942 MB / 431.5 MB, free: 40.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/0.3352, allocations: 93.91 kB / 431.6 MB, free: 40.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3352, allocations: 3.688 kB / 431.6 MB, free: 40.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.3354, allocations: 28.97 kB / 431.6 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.3357, allocations: 82.06 kB / 431.7 MB, free: 40.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007609/0.3365, allocations: 1.282 MB / 433 MB, free: 39.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.337, allocations: 80.55 kB / 433.1 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/0.337, allocations: 16.94 kB / 433.1 MB, free: 39.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005333/0.3376, allocations: 315.7 kB / 433.4 MB, free: 38.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000357/0.3379, allocations: 248.8 kB / 433.6 MB, free: 38.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006705/0.3386, allocations: 0.5162 MB / 434.1 MB, free: 38.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.307e-06/0.3386, allocations: 0 / 434.1 MB, free: 38.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009741/0.3396, allocations: 0.5591 MB / 434.7 MB, free: 38.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.3397, allocations: 98.09 kB / 434.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3397, allocations: 3.062 kB / 434.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-05/0.3398, allocations: 25.09 kB / 434.8 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.3401, allocations: 74.11 kB / 434.9 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000653/0.3407, allocations: 1.295 MB / 436.2 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.3412, allocations: 61.53 kB / 436.3 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.3412, allocations: 21.12 kB / 436.3 MB, free: 36.68 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.0001945/0.3414, allocations: 263.3 kB / 436.5 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.072e-05/0.3415, allocations: 52.94 kB / 436.6 MB, free: 36.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009916/0.3425, allocations: 0.4969 MB / 437.1 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3425, allocations: 3.25 kB / 437.1 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.3425, allocations: 0 / 437.1 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3426, allocations: 0 / 437.1 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.3442, allocations: 1.144 MB / 438.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3442, allocations: 0 / 438.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.3445, allocations: 58.36 kB / 438.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.898e-05/0.3446, allocations: 18.52 kB / 438.3 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.3446, allocations: 10.34 kB / 438.3 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006588/0.3453, allocations: 1.278 MB / 439.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3453, allocations: 3.312 kB / 439.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.3467, allocations: 0.7689 MB / 440.4 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.3468, allocations: 139 kB / 440.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.3469, allocations: 15.38 kB / 440.5 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.3473, allocations: 44.56 kB / 440.6 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.3474, allocations: 30.22 kB / 440.6 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.3474, allocations: 11.16 kB / 440.6 MB, free: 33.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004137/0.3478, allocations: 407.6 kB / 441 MB, free: 33.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3479, allocations: 0 / 441 MB, free: 33.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009749/0.3488, allocations: 282.3 kB / 441.3 MB, free: 33.32 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.001005/0.3499, allocations: 368.9 kB / 441.6 MB, free: 33.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.3517, allocations: 1.159 MB / 442.8 MB, free: 32.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3517, allocations: 0 / 442.8 MB, free: 32.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005483/0.3522, allocations: 430.5 kB / 443.2 MB, free: 32.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/0.3529, allocations: 82.14 kB / 443.3 MB, free: 32.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.3551, allocations: 1.488 MB / 444.8 MB, free: 31.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3554, allocations: 0.889 MB / 445.7 MB, free: 30.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3556, allocations: 44 kB / 445.7 MB, free: 30.39 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3556, allocations: 0 / 445.7 MB, free: 30.39 MB / 350.1 MB Notification: Performance of Templates: time 0.01404/0.3696, allocations: 10.34 MB / 456.1 MB, free: 29.24 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)