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.0007844/0.0007844, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008859/0.0008859, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1485/0.1485, allocations: 8.031 MB / 299.1 MB, free: 3.441 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.0002841, allocations: 8 kB / 361.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.08075, allocations: 52.19 MB / 414 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004023/0.08481, allocations: 3.552 MB / 417.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.08671, allocations: 1.326 MB / 418.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.08693, allocations: 15.94 kB / 418.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.08725, allocations: 115.3 kB / 419 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.08763, allocations: 163 kB / 419.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005303/0.08817, allocations: 255 kB / 419.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006688/0.08885, allocations: 0.7401 MB / 420.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004842/0.08935, allocations: 342.3 kB / 420.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.0896, allocations: 235 kB / 420.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.0899, allocations: 266.7 kB / 421 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.08997, allocations: 32 kB / 421 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.0901, allocations: 63.97 kB / 421 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.09026, allocations: 131.5 kB / 421.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.09039, allocations: 153.3 kB / 421.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006489/0.09105, allocations: 0.7832 MB / 422.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.09106, allocations: 0 / 422.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09107, allocations: 0 / 422.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.09108, allocations: 0 / 422.1 MB, free: 1.895 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.001488/0.09257, allocations: 1.007 MB / 423.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.09261, allocations: 12.03 kB / 423.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.09274, allocations: 86.97 kB / 423.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.09333, allocations: 488.7 kB / 423.7 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.09338, allocations: 49.31 kB / 423.7 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/0.09348, allocations: 64 kB / 423.8 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1533/0.2468, allocations: 0.6775 MB / 424.5 MB, free: 42.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.2469, allocations: 7.266 kB / 424.5 MB, free: 42.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.775e-05/0.247, allocations: 29.86 kB / 424.5 MB, free: 42.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.247, allocations: 15.06 kB / 424.5 MB, free: 42.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.248, allocations: 0.507 MB / 425 MB, free: 42.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.251, allocations: 2.616 MB / 427.6 MB, free: 41.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/0.2519, allocations: 455.8 kB / 428.1 MB, free: 41.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.2522, allocations: 191.9 kB / 428.3 MB, free: 41.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.2523, allocations: 4.781 kB / 428.3 MB, free: 41.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005162/0.2528, allocations: 266.6 kB / 428.5 MB, free: 41.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/0.2528, allocations: 0 / 428.5 MB, free: 41.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001331/0.2541, allocations: 0.7349 MB / 429.3 MB, free: 40.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.2542, allocations: 138.3 kB / 429.4 MB, free: 40.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005213/0.2547, allocations: 0.5466 MB / 430 MB, free: 40.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.2547, allocations: 36.33 kB / 430 MB, free: 40.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.2549, allocations: 345.2 kB / 430.3 MB, free: 40.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.029e-05/0.255, allocations: 110.8 kB / 430.4 MB, free: 40.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.2551, allocations: 6.25 kB / 430.4 MB, free: 40.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.2551, allocations: 369.2 kB / 430.8 MB, free: 40.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.2555, allocations: 163.4 kB / 431 MB, free: 40.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.2559, allocations: 276.7 kB / 431.2 MB, free: 39.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.2563, allocations: 266.8 kB / 431.5 MB, free: 39.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2563, allocations: 2.938 kB / 431.5 MB, free: 39.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009983/0.2573, allocations: 0.6241 MB / 432.1 MB, free: 39.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.492e-05/0.2574, allocations: 260 kB / 432.4 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2574, allocations: 3.188 kB / 432.4 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/0.2576, allocations: 28.86 kB / 432.4 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.2579, allocations: 93.8 kB / 432.5 MB, free: 39.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006045/0.2585, allocations: 1.282 MB / 433.8 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.2589, allocations: 96.17 kB / 433.9 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.259, allocations: 13.77 kB / 433.9 MB, free: 37.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.668e-06/0.259, allocations: 3.219 kB / 433.9 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008587/0.2598, allocations: 0.5479 MB / 434.4 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2598, allocations: 3.156 kB / 434.4 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.152e-05/0.2599, allocations: 21.98 kB / 434.5 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.2602, allocations: 81.98 kB / 434.5 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005292/0.2607, allocations: 1.28 MB / 435.8 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.2611, allocations: 80.59 kB / 435.9 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.2611, allocations: 14.47 kB / 435.9 MB, free: 36.23 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 ($whenCondition1,oneFlangeConn.limTau.state,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002563/0.2614, allocations: 365.1 kB / 436.3 MB, free: 35.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.2614, allocations: 50.19 kB / 436.3 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009089/0.2624, allocations: 0.522 MB / 436.8 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2624, allocations: 3.219 kB / 436.9 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2624, allocations: 3.953 kB / 436.9 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2624, allocations: 6 kB / 436.9 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.2638, allocations: 1.17 MB / 438 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2638, allocations: 3.953 kB / 438 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.2641, allocations: 75.33 kB / 438.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.298e-05/0.2641, allocations: 22.16 kB / 438.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.2642, allocations: 7.375 kB / 438.1 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005309/0.2647, allocations: 1.285 MB / 439.4 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2647, allocations: 2.953 kB / 439.4 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.2659, allocations: 0.8083 MB / 440.2 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.266, allocations: 138 kB / 440.4 MB, free: 33.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.2661, allocations: 11.59 kB / 440.4 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.2664, allocations: 53.53 kB / 440.4 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.2665, allocations: 30.8 kB / 440.5 MB, free: 33.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.2666, allocations: 13.53 kB / 440.5 MB, free: 33.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003448/0.2669, allocations: 405.6 kB / 440.9 MB, free: 32.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2669, allocations: 0 / 440.9 MB, free: 32.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006617/0.2676, allocations: 276.6 kB / 441.1 MB, free: 32.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007635/0.2684, allocations: 352.9 kB / 441.5 MB, free: 32.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.2699, allocations: 1.21 MB / 442.7 MB, free: 31.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2699, allocations: 0 / 442.7 MB, free: 31.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.2704, allocations: 447.3 kB / 443.1 MB, free: 31.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.2709, allocations: 88.91 kB / 443.2 MB, free: 31.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.2726, allocations: 1.453 MB / 444.7 MB, free: 30.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.2728, allocations: 0.9011 MB / 445.6 MB, free: 29.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002171/0.2731, allocations: 55.56 kB / 445.6 MB, free: 29.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.029e-05/0.2732, allocations: 36.12 kB / 445.7 MB, free: 29.88 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2732, allocations: 3.938 kB / 445.7 MB, free: 29.88 MB / 350.1 MB Notification: Performance of Templates: time 0.009316/0.2825, allocations: 6.29 MB / 452 MB, free: 29.32 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)