Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.005027/0.005027, allocations: 100.6 kB / 15.73 MB, free: 6.484 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.001141/0.001141, allocations: 193 kB / 16.68 MB, free: 6.363 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1671/0.1671, allocations: 8.315 MB / 298.8 MB, free: 2.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 413.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2344, allocations: 51.26 MB / 464.7 MB, free: 17.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005186/0.2397, allocations: 4.302 MB / 469.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.2421, allocations: 1.443 MB / 470.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003538/0.2425, allocations: 15.72 kB / 470.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.243, allocations: 163.5 kB / 470.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00063/0.2437, allocations: 215.5 kB / 470.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007795/0.2445, allocations: 388.9 kB / 471.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008506/0.2454, allocations: 0.8914 MB / 472.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005784/0.246, allocations: 490.2 kB / 472.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003619/0.2463, allocations: 339.8 kB / 473 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.2467, allocations: 383 kB / 473.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.2469, allocations: 99.66 kB / 473.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.2471, allocations: 133 kB / 473.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.2473, allocations: 217.3 kB / 473.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.2476, allocations: 426 kB / 474.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.2488, allocations: 1.085 MB / 475.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2488, allocations: 0 / 475.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2488, allocations: 0 / 475.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.2488, allocations: 4 kB / 475.3 MB, free: 11.42 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.001799/0.2507, allocations: 1.171 MB / 476.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2507, allocations: 9.625 kB / 476.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.2509, allocations: 88.11 kB / 476.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006825/0.2516, allocations: 0.516 MB / 477.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.2516, allocations: 51.08 kB / 477.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.2518, allocations: 76.48 kB / 477.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.2532, allocations: 0.7095 MB / 477.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.2532, allocations: 6.156 kB / 477.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.2533, allocations: 28 kB / 477.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.2533, allocations: 15.28 kB / 477.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.2544, allocations: 0.5066 MB / 478.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.2577, allocations: 2.543 MB / 481 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009057/0.2586, allocations: 449.7 kB / 481.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.259, allocations: 180.3 kB / 481.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.2591, allocations: 8.203 kB / 481.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005117/0.2596, allocations: 259.4 kB / 481.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.2596, allocations: 0 / 481.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001559/0.2612, allocations: 0.718 MB / 482.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.2612, allocations: 135.7 kB / 482.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/0.2619, allocations: 0.5644 MB / 483.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.2619, allocations: 37.27 kB / 483.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.2621, allocations: 359.5 kB / 483.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.322e-05/0.2622, allocations: 121.9 kB / 483.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.2623, allocations: 77.84 kB / 483.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.2624, allocations: 364.2 kB / 484.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.2628, allocations: 166.9 kB / 484.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.2632, allocations: 258.4 kB / 484.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.264, allocations: 0.5471 MB / 485.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.264, allocations: 5.375 kB / 485.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001175/0.2652, allocations: 0.606 MB / 485.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.2653, allocations: 97.38 kB / 485.9 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2653, allocations: 6.828 kB / 485.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/0.2655, allocations: 25.94 kB / 485.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.2658, allocations: 84.25 kB / 486 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007934/0.2666, allocations: 1.385 MB / 487.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.2671, allocations: 94.17 kB / 487.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.2672, allocations: 25.95 kB / 487.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005685/0.2677, allocations: 319.2 kB / 487.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003783/0.2681, allocations: 247.4 kB / 488.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006837/0.2688, allocations: 0.5222 MB / 488.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.2688, allocations: 0 / 488.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001017/0.2699, allocations: 0.5784 MB / 489.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.2699, allocations: 90.5 kB / 489.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2699, allocations: 2.719 kB / 489.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-05/0.27, allocations: 31.22 kB / 489.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.2703, allocations: 80.92 kB / 489.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008289/0.2711, allocations: 1.389 MB / 490.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.2716, allocations: 57.98 kB / 490.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.2717, allocations: 17.28 kB / 490.8 MB, free: 15.64 MB / 366.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.0002501/0.2719, allocations: 271.3 kB / 491.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/0.272, allocations: 54.05 kB / 491.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.2732, allocations: 0.513 MB / 491.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2732, allocations: 8.375 kB / 491.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2732, allocations: 0 / 491.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2732, allocations: 0 / 491.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.2751, allocations: 1.184 MB / 492.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2752, allocations: 5.312 kB / 492.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.2755, allocations: 58.86 kB / 492.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.99e-05/0.2756, allocations: 23.34 kB / 492.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.2756, allocations: 8.062 kB / 492.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009042/0.2765, allocations: 1.393 MB / 494.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2765, allocations: 0 / 494.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.2781, allocations: 0.7964 MB / 495.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.2782, allocations: 142.4 kB / 495.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/0.2783, allocations: 9.031 kB / 495.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.2787, allocations: 40.73 kB / 495.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.2788, allocations: 33.67 kB / 495.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.2789, allocations: 11.72 kB / 495.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005287/0.2794, allocations: 411.6 kB / 495.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2794, allocations: 0 / 495.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000865/0.2803, allocations: 299.3 kB / 496.1 MB, free: 11.61 MB / 366.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.0008432/0.2811, allocations: 362.8 kB / 496.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.2831, allocations: 1.188 MB / 497.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2831, allocations: 0 / 497.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006527/0.2838, allocations: 441 kB / 498 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006141/0.2844, allocations: 90.12 kB / 498.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.2867, allocations: 1.251 MB / 499.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.2872, allocations: 0.9017 MB / 0.4885 GB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000241/0.2875, allocations: 63.42 kB / 0.4886 GB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.2876, allocations: 39.44 kB / 0.4886 GB, free: 8.09 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2876, allocations: 0 / 0.4886 GB, free: 8.09 MB / 366.1 MB Notification: Performance of Templates: time 0.01273/0.3003, allocations: 7.306 MB / 0.4958 GB, free: 0.8203 MB / 366.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)