Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 108.2 kB / 16.37 MB, free: 5.984 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.001131/0.001131, allocations: 193.4 kB / 17.31 MB, free: 5.602 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04027/0.04027, allocations: 8.039 MB / 299.2 MB, free: 6.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 63.91 kB / 362.1 MB, free: 7.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2388, allocations: 51.2 MB / 413.3 MB, free: 26.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004686/0.2436, allocations: 4.108 MB / 417.4 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.2457, allocations: 1.407 MB / 418.8 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.246, allocations: 12 kB / 418.8 MB, free: 20.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004112/0.2465, allocations: 150.8 kB / 418.9 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.247, allocations: 194.5 kB / 419.1 MB, free: 20.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.2476, allocations: 390.4 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005596/0.2481, allocations: 0.8374 MB / 420.3 MB, free: 18.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004673/0.2486, allocations: 456.3 kB / 420.8 MB, free: 18.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.2488, allocations: 318.8 kB / 421.1 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.2491, allocations: 346.5 kB / 421.4 MB, free: 17.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.681e-05/0.2492, allocations: 96 kB / 421.5 MB, free: 17.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.2494, allocations: 124 kB / 421.7 MB, free: 17.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.2496, allocations: 207.4 kB / 421.9 MB, free: 17.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.2499, allocations: 394.1 kB / 422.2 MB, free: 17.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007238/0.2506, allocations: 1.02 MB / 423.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2506, allocations: 0 / 423.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2506, allocations: 0 / 423.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.2506, allocations: 0 / 423.3 MB, free: 15.99 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001525/0.2522, allocations: 1.098 MB / 424.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2522, allocations: 12.03 kB / 424.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.2523, allocations: 80 kB / 424.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.2529, allocations: 0.4934 MB / 424.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.253, allocations: 53.3 kB / 425 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.038e-05/0.253, allocations: 64 kB / 425.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009596/0.254, allocations: 0.6449 MB / 425.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.254, allocations: 7.984 kB / 425.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.2541, allocations: 28 kB / 425.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.2541, allocations: 16 kB / 425.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009057/0.255, allocations: 476.9 kB / 426.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.2579, allocations: 2.485 MB / 428.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.2587, allocations: 432.6 kB / 429.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.2591, allocations: 173 kB / 429.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.582e-05/0.2591, allocations: 8.234 kB / 429.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004802/0.2596, allocations: 249.7 kB / 429.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.482e-06/0.2596, allocations: 4 kB / 429.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001429/0.2611, allocations: 0.6779 MB / 430.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.2611, allocations: 140.7 kB / 430.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.2616, allocations: 0.5605 MB / 430.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.2617, allocations: 37.7 kB / 431 MB, free: 7.895 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.2618, allocations: 331.4 kB / 431.3 MB, free: 7.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.2619, allocations: 102.6 kB / 431.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.262, allocations: 77.59 kB / 431.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.2621, allocations: 362.8 kB / 431.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.2625, allocations: 161.2 kB / 432 MB, free: 6.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.2628, allocations: 262.4 kB / 432.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006958/0.2635, allocations: 0.5345 MB / 432.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2636, allocations: 0 / 432.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009149/0.2645, allocations: 0.5883 MB / 433.4 MB, free: 5.336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.2645, allocations: 89.05 kB / 433.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2645, allocations: 4 kB / 433.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.2647, allocations: 24.84 kB / 433.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.265, allocations: 92.16 kB / 433.6 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007373/0.2657, allocations: 1.382 MB / 434.9 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.2661, allocations: 71.48 kB / 435 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.2662, allocations: 20 kB / 435 MB, free: 3.496 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004473/0.2666, allocations: 316.5 kB / 435.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000333/0.267, allocations: 246.9 kB / 435.6 MB, free: 2.898 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006192/0.2676, allocations: 0.511 MB / 436.1 MB, free: 2.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.2676, allocations: 0 / 436.1 MB, free: 2.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008435/0.2685, allocations: 0.5612 MB / 436.7 MB, free: 1.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.2685, allocations: 97.16 kB / 436.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2685, allocations: 0 / 436.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.704e-05/0.2686, allocations: 32.78 kB / 436.8 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.2689, allocations: 71.89 kB / 436.9 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006263/0.2695, allocations: 1.382 MB / 438.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.2699, allocations: 63.86 kB / 438.3 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.2699, allocations: 19.98 kB / 438.3 MB, free: 15.9 MB / 318.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 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.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.0002134/0.2702, allocations: 271.9 kB / 438.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.2702, allocations: 59.33 kB / 438.6 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.2713, allocations: 492 kB / 439.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2713, allocations: 4 kB / 439.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2713, allocations: 7.922 kB / 439.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.2713, allocations: 3.984 kB / 439.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.273, allocations: 1.124 MB / 440.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.273, allocations: 0 / 440.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.2734, allocations: 63.89 kB / 440.3 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.478e-05/0.2734, allocations: 16.84 kB / 440.3 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.2735, allocations: 11.94 kB / 440.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009219/0.2744, allocations: 1.382 MB / 441.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2744, allocations: 0 / 441.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.2758, allocations: 0.77 MB / 442.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.276, allocations: 128.5 kB / 442.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.276, allocations: 12 kB / 442.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.2764, allocations: 39.95 kB / 442.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.2766, allocations: 31.95 kB / 442.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.2766, allocations: 19.94 kB / 442.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004511/0.2771, allocations: 406.8 kB / 443.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2771, allocations: 0 / 443.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007504/0.2778, allocations: 263 kB / 443.4 MB, free: 10.52 MB / 318.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,oneFlange.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.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.0008342/0.2787, allocations: 376.9 kB / 443.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.2805, allocations: 1.151 MB / 444.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2805, allocations: 4 kB / 444.9 MB, free: 9.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006245/0.2812, allocations: 434.1 kB / 445.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.2817, allocations: 82.56 kB / 445.4 MB, free: 8.492 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.2837, allocations: 1.189 MB / 446.6 MB, free: 7.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.2842, allocations: 0.8893 MB / 447.5 MB, free: 6.355 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.2844, allocations: 63.34 kB / 447.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.538e-05/0.2845, allocations: 35.42 kB / 447.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2845, allocations: 4 kB / 447.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of Templates: time 0.0124/0.297, allocations: 6.988 MB / 454.6 MB, free: 15.3 MB / 334.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)