Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.001046/0.001046, allocations: 108 kB / 15.58 MB, free: 184 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.001115/0.001115, allocations: 193.9 kB / 16.5 MB, free: 6.699 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1284/0.1284, allocations: 8.026 MB / 298.4 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 55.91 kB / 360.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.09447, allocations: 51.19 MB / 411.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005159/0.09967, allocations: 4.29 MB / 416 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1018, allocations: 1.457 MB / 417.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.1022, allocations: 16 kB / 417.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.1026, allocations: 158.8 kB / 417.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005533/0.1032, allocations: 214.4 kB / 417.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007658/0.1039, allocations: 394.9 kB / 418.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008347/0.1048, allocations: 0.8923 MB / 419.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005969/0.1054, allocations: 484 kB / 419.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.1058, allocations: 338.9 kB / 420 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004096/0.1062, allocations: 382.3 kB / 420.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.1063, allocations: 100 kB / 420.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.1065, allocations: 128 kB / 420.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.1068, allocations: 215.4 kB / 420.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003874/0.1072, allocations: 426 kB / 421.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000895/0.1081, allocations: 1.063 MB / 422.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1081, allocations: 0 / 422.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1081, allocations: 0 / 422.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.1081, allocations: 0 / 422.2 MB, free: 0.5312 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.1544/0.2625, allocations: 1.146 MB / 423.4 MB, free: 44.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2625, allocations: 9.969 kB / 423.4 MB, free: 44.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.2627, allocations: 84.41 kB / 423.5 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.2633, allocations: 0.4992 MB / 424 MB, free: 43.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.2633, allocations: 55.56 kB / 424 MB, free: 43.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.739e-05/0.2634, allocations: 76.08 kB / 424.1 MB, free: 43.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.2645, allocations: 0.7035 MB / 424.8 MB, free: 43.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.2645, allocations: 2.812 kB / 424.8 MB, free: 43.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.2646, allocations: 34.69 kB / 424.8 MB, free: 43.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.2646, allocations: 17.94 kB / 424.9 MB, free: 43.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009741/0.2656, allocations: 0.5022 MB / 425.4 MB, free: 43.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.2683, allocations: 2.552 MB / 427.9 MB, free: 42.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/0.2691, allocations: 445.3 kB / 428.4 MB, free: 42.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.2694, allocations: 175.9 kB / 428.5 MB, free: 42.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.2695, allocations: 7.953 kB / 428.5 MB, free: 42.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005139/0.27, allocations: 262.4 kB / 428.8 MB, free: 42.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.27, allocations: 0 / 428.8 MB, free: 42.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001331/0.2714, allocations: 0.7113 MB / 429.5 MB, free: 41.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.2714, allocations: 146.1 kB / 429.6 MB, free: 41.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/0.2719, allocations: 0.572 MB / 430.2 MB, free: 41.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.2719, allocations: 35.92 kB / 430.3 MB, free: 41.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.2721, allocations: 346.5 kB / 430.6 MB, free: 41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.427e-05/0.2722, allocations: 118.7 kB / 430.7 MB, free: 40.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.2723, allocations: 77.16 kB / 430.8 MB, free: 40.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.2723, allocations: 364.6 kB / 431.1 MB, free: 40.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.2727, allocations: 168.9 kB / 431.3 MB, free: 40.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.2731, allocations: 264.3 kB / 431.6 MB, free: 40.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007054/0.2738, allocations: 0.5468 MB / 432.1 MB, free: 39.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2738, allocations: 0 / 432.1 MB, free: 39.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000963/0.2748, allocations: 0.6056 MB / 432.7 MB, free: 39.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.2748, allocations: 90.2 kB / 432.8 MB, free: 39.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2748, allocations: 8.406 kB / 432.8 MB, free: 39.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.275, allocations: 28.78 kB / 432.8 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.2753, allocations: 81.59 kB / 432.9 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006609/0.276, allocations: 1.394 MB / 434.3 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.2764, allocations: 80.14 kB / 434.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.2764, allocations: 17.28 kB / 434.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004536/0.2769, allocations: 321.6 kB / 434.7 MB, free: 37.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003279/0.2772, allocations: 252.5 kB / 435 MB, free: 37.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006243/0.2778, allocations: 0.5267 MB / 435.5 MB, free: 37.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.2778, allocations: 3.25 kB / 435.5 MB, free: 37.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008516/0.2787, allocations: 0.5727 MB / 436.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.2787, allocations: 94.33 kB / 436.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2787, allocations: 3.125 kB / 436.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.215e-05/0.2788, allocations: 29.62 kB / 436.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.2791, allocations: 81.44 kB / 436.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005712/0.2797, allocations: 1.388 MB / 437.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.28, allocations: 62.03 kB / 437.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.2801, allocations: 23.41 kB / 437.7 MB, free: 35.48 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,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.0001312/0.2802, allocations: 272 kB / 438 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.2803, allocations: 55.41 kB / 438.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009081/0.2812, allocations: 0.5044 MB / 438.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2812, allocations: 3.25 kB / 438.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2812, allocations: 1.438 kB / 438.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2812, allocations: 14.41 kB / 438.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.2826, allocations: 1.178 MB / 439.8 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2827, allocations: 0 / 439.8 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.2829, allocations: 59.53 kB / 439.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-05/0.283, allocations: 18.64 kB / 439.8 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.2831, allocations: 17.33 kB / 439.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005758/0.2836, allocations: 1.386 MB / 441.2 MB, free: 32.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2837, allocations: 3.516 kB / 441.2 MB, free: 32.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.2848, allocations: 0.7963 MB / 442 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/0.2849, allocations: 131 kB / 442.2 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.285, allocations: 10.38 kB / 442.2 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.2854, allocations: 46.08 kB / 442.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.2855, allocations: 34.33 kB / 442.3 MB, free: 32.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.2855, allocations: 13.38 kB / 442.3 MB, free: 32.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003492/0.2858, allocations: 416.1 kB / 442.7 MB, free: 32.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2858, allocations: 0 / 442.7 MB, free: 32.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006727/0.2865, allocations: 281.6 kB / 443 MB, free: 31.98 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,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.0007555/0.2873, allocations: 380.5 kB / 443.3 MB, free: 31.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.2888, allocations: 1.178 MB / 444.5 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2888, allocations: 0.8125 kB / 444.5 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004909/0.2893, allocations: 443.4 kB / 444.9 MB, free: 30.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.2898, allocations: 88.66 kB / 445 MB, free: 30.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.2914, allocations: 1.237 MB / 446.3 MB, free: 30 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.2917, allocations: 0.9037 MB / 447.2 MB, free: 29.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.2918, allocations: 61.8 kB / 447.2 MB, free: 29.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.931e-05/0.2919, allocations: 42.39 kB / 447.3 MB, free: 29.26 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2919, allocations: 0 / 447.3 MB, free: 29.26 MB / 350.1 MB Notification: Performance of Templates: time 0.01077/0.3027, allocations: 7.225 MB / 454.5 MB, free: 28.67 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)