Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001322/0.001322, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001336/0.001336, allocations: 197 kB / 16.91 MB, free: 6.195 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.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03818/0.03818, allocations: 8.048 MB / 298.8 MB, free: 6.766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.91 kB / 360.8 MB, free: 8.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2351, allocations: 51.18 MB / 412 MB, free: 26.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004901/0.24, allocations: 4.295 MB / 416.3 MB, free: 22.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.2423, allocations: 1.438 MB / 417.7 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003952/0.2427, allocations: 12 kB / 417.7 MB, free: 20.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.2432, allocations: 123.2 kB / 417.8 MB, free: 20.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004865/0.2438, allocations: 170.9 kB / 418 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006531/0.2444, allocations: 364.7 kB / 418.4 MB, free: 19.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.245, allocations: 0.8846 MB / 419.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004715/0.2455, allocations: 481.7 kB / 419.7 MB, free: 18.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.2458, allocations: 342.8 kB / 420.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.2461, allocations: 374.4 kB / 420.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.671e-05/0.2462, allocations: 104 kB / 420.5 MB, free: 17.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.2463, allocations: 143.9 kB / 420.7 MB, free: 17.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.2466, allocations: 211.4 kB / 420.9 MB, free: 17.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.2469, allocations: 433.9 kB / 421.3 MB, free: 16.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006398/0.2476, allocations: 0.8537 MB / 422.1 MB, free: 16.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2476, allocations: 0 / 422.1 MB, free: 16.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2476, allocations: 0 / 422.1 MB, free: 16.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2476, allocations: 4 kB / 422.2 MB, free: 16.12 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001572/0.2492, allocations: 1.151 MB / 423.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2493, allocations: 8.031 kB / 423.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.2494, allocations: 84 kB / 423.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.2499, allocations: 0.505 MB / 423.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.25, allocations: 54 kB / 424 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.955e-05/0.2501, allocations: 79.91 kB / 424 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.2512, allocations: 0.6996 MB / 424.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.2512, allocations: 7.922 kB / 424.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/0.2513, allocations: 32 kB / 424.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.2513, allocations: 20 kB / 424.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009862/0.2523, allocations: 0.4938 MB / 425.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.2552, allocations: 2.556 MB / 427.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/0.2561, allocations: 444.1 kB / 428.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.2565, allocations: 176.8 kB / 428.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.2565, allocations: 11.98 kB / 428.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005775/0.2571, allocations: 262.8 kB / 428.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.2571, allocations: 0 / 428.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.00146/0.2586, allocations: 0.7004 MB / 429.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.2586, allocations: 140.5 kB / 429.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.2592, allocations: 0.5645 MB / 430.1 MB, free: 7.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.2592, allocations: 33.7 kB / 430.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.2594, allocations: 363.8 kB / 430.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.2595, allocations: 110.5 kB / 430.6 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2596, allocations: 78 kB / 430.7 MB, free: 7.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.987e-05/0.2597, allocations: 366.7 kB / 431 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.2601, allocations: 166.3 kB / 431.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.2604, allocations: 263.3 kB / 431.5 MB, free: 6.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/0.2612, allocations: 0.5388 MB / 432 MB, free: 5.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2612, allocations: 0 / 432 MB, free: 5.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00102/0.2622, allocations: 0.6037 MB / 432.6 MB, free: 5.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/0.2623, allocations: 93.05 kB / 432.7 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.2623, allocations: 7.938 kB / 432.7 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.2625, allocations: 29.22 kB / 432.7 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.2628, allocations: 79.97 kB / 432.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000794/0.2636, allocations: 1.394 MB / 434.2 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.264, allocations: 83.38 kB / 434.3 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.2641, allocations: 20.09 kB / 434.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005169/0.2646, allocations: 324.8 kB / 434.6 MB, free: 2.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003481/0.265, allocations: 251.2 kB / 434.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000673/0.2656, allocations: 0.5224 MB / 435.4 MB, free: 2.051 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.2657, allocations: 4 kB / 435.4 MB, free: 2.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009027/0.2666, allocations: 0.5726 MB / 436 MB, free: 1.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.2666, allocations: 95.59 kB / 436.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2666, allocations: 7.984 kB / 436.1 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.943e-05/0.2667, allocations: 24.84 kB / 436.1 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.267, allocations: 80.17 kB / 436.2 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007362/0.2677, allocations: 1.398 MB / 437.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/0.2682, allocations: 63.7 kB / 437.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.2682, allocations: 16 kB / 437.6 MB, free: 15.61 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 (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.0002323/0.2685, allocations: 270.4 kB / 437.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.2686, allocations: 59.33 kB / 438 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.2697, allocations: 0.5031 MB / 438.5 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2697, allocations: 0 / 438.5 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2697, allocations: 8 kB / 438.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2698, allocations: 0 / 438.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.2717, allocations: 1.179 MB / 439.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2717, allocations: 4 kB / 439.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.272, allocations: 59.95 kB / 439.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.38e-05/0.2721, allocations: 24.78 kB / 439.7 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/0.2721, allocations: 11.98 kB / 439.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.2732, allocations: 1.383 MB / 441.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2732, allocations: 4.156 kB / 441.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.2747, allocations: 0.7963 MB / 441.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.2748, allocations: 132.4 kB / 442.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.222e-05/0.2749, allocations: 12 kB / 442.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.2753, allocations: 51.89 kB / 442.1 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.2754, allocations: 31.95 kB / 442.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.2755, allocations: 8 kB / 442.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004992/0.276, allocations: 414.8 kB / 442.6 MB, free: 10.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.276, allocations: 0 / 442.6 MB, free: 10.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008265/0.2768, allocations: 290.8 kB / 442.9 MB, free: 10.09 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,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.0008457/0.2777, allocations: 373.8 kB / 443.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.2798, allocations: 1.198 MB / 444.4 MB, free: 8.551 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2798, allocations: 0 / 444.4 MB, free: 8.551 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006698/0.2805, allocations: 446.1 kB / 444.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.2811, allocations: 89.8 kB / 444.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.2835, allocations: 1.524 MB / 446.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.2839, allocations: 0.8978 MB / 447.4 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.2841, allocations: 43.44 kB / 447.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2841, allocations: 0 / 447.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of Templates: time 0.01422/0.2983, allocations: 10.64 MB / 458.1 MB, free: 10.82 MB / 334.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)