Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.004011/0.004011, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.0009765/0.0009765, allocations: 204.6 kB / 16.68 MB, free: 5.969 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1572/0.1572, allocations: 8.014 MB / 298.5 MB, free: 2.426 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 59.91 kB / 413.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2338, allocations: 51.2 MB / 464.2 MB, free: 18.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004681/0.2385, allocations: 4.142 MB / 468.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.2408, allocations: 1.429 MB / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003514/0.2411, allocations: 14.62 kB / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.2416, allocations: 149 kB / 470 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000518/0.2421, allocations: 200.4 kB / 470.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.2428, allocations: 384.4 kB / 470.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006845/0.2435, allocations: 0.8464 MB / 471.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005535/0.2441, allocations: 490.1 kB / 471.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.2444, allocations: 324.5 kB / 472.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.2447, allocations: 359.7 kB / 472.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.2448, allocations: 96.53 kB / 472.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.245, allocations: 132.8 kB / 472.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.2452, allocations: 202.1 kB / 473 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.2455, allocations: 414.9 kB / 473.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009636/0.2464, allocations: 1.04 MB / 474.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2465, allocations: 0 / 474.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2465, allocations: 0 / 474.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.2465, allocations: 0 / 474.4 MB, free: 11.97 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.001482/0.248, allocations: 1.137 MB / 475.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.248, allocations: 9.625 kB / 475.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.2481, allocations: 86.38 kB / 475.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/0.2487, allocations: 0.5101 MB / 476.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.2488, allocations: 57.53 kB / 476.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/0.2489, allocations: 73.75 kB / 476.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.2501, allocations: 0.6699 MB / 476.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.2501, allocations: 5.031 kB / 477 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.411e-05/0.2501, allocations: 28.11 kB / 477 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.2502, allocations: 15.22 kB / 477 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.2512, allocations: 485.9 kB / 477.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.2541, allocations: 2.566 MB / 480 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008302/0.2549, allocations: 425.6 kB / 480.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.2553, allocations: 174.2 kB / 480.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.2553, allocations: 2.641 kB / 480.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004782/0.2558, allocations: 275 kB / 480.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.2558, allocations: 0 / 480.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001387/0.2572, allocations: 0.6759 MB / 481.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.2573, allocations: 142.9 kB / 481.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/0.2578, allocations: 0.5464 MB / 482.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.2578, allocations: 32.92 kB / 482.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.258, allocations: 354.1 kB / 482.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.2581, allocations: 113 kB / 482.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.2582, allocations: 73.5 kB / 482.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.2583, allocations: 367.2 kB / 483.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.2586, allocations: 163.5 kB / 483.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.2591, allocations: 258.9 kB / 483.6 MB, free: 5.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007557/0.2598, allocations: 0.5291 MB / 484.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.2598, allocations: 1.156 kB / 484.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009995/0.2608, allocations: 0.5914 MB / 484.7 MB, free: 4.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.2609, allocations: 96.56 kB / 484.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2609, allocations: 7.312 kB / 484.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001297/0.261, allocations: 25.41 kB / 484.8 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.2613, allocations: 78.3 kB / 484.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006253/0.262, allocations: 1.382 MB / 486.3 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.2624, allocations: 76.84 kB / 486.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.2624, allocations: 22.56 kB / 486.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004653/0.2629, allocations: 315.2 kB / 486.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003454/0.2632, allocations: 247.7 kB / 486.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006685/0.2639, allocations: 0.5079 MB / 487.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.2639, allocations: 1.156 kB / 487.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009133/0.2648, allocations: 0.5701 MB / 488 MB, free: 1.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.2649, allocations: 91.28 kB / 488.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2649, allocations: 3.438 kB / 488.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.661e-05/0.265, allocations: 33.16 kB / 488.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.2652, allocations: 75.58 kB / 488.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005441/0.2658, allocations: 1.393 MB / 489.6 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.2662, allocations: 62.8 kB / 489.7 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.2662, allocations: 13.16 kB / 489.7 MB, free: 376 kB / 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,oneFlangeConn.limTau.state,$whenCondition1,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 (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.0001361/0.2663, allocations: 275.4 kB / 490 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.2664, allocations: 53.23 kB / 490 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.2675, allocations: 0.4913 MB / 490.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2675, allocations: 2.75 kB / 490.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2675, allocations: 1.375 kB / 490.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.2675, allocations: 7.922 kB / 490.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.2691, allocations: 1.137 MB / 491.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.2691, allocations: 7.875 kB / 491.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.2694, allocations: 56.95 kB / 491.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.001e-05/0.2694, allocations: 23.75 kB / 491.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.2695, allocations: 7.75 kB / 491.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007697/0.2702, allocations: 1.374 MB / 493.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2703, allocations: 0 / 493.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.2716, allocations: 0.7704 MB / 493.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2718, allocations: 133.4 kB / 494 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.2718, allocations: 9.344 kB / 494 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.2722, allocations: 48.33 kB / 494.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.2723, allocations: 37 kB / 494.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.2723, allocations: 16.25 kB / 494.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000416/0.2727, allocations: 402.7 kB / 494.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2727, allocations: 0 / 494.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007062/0.2735, allocations: 277.6 kB / 494.8 MB, free: 12.4 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,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 (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.0007516/0.2742, allocations: 364.2 kB / 495.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.276, allocations: 1.173 MB / 496.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.276, allocations: 0 / 496.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005723/0.2766, allocations: 428.4 kB / 496.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.2771, allocations: 84.06 kB / 496.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.2789, allocations: 1.215 MB / 498 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.2793, allocations: 0.8976 MB / 498.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.2795, allocations: 59.75 kB / 499 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.776e-05/0.2796, allocations: 40.73 kB / 499 MB, free: 9.309 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2796, allocations: 1.438 kB / 499 MB, free: 9.309 MB / 366.1 MB Notification: Performance of Templates: time 0.01121/0.2908, allocations: 7.103 MB / 0.4943 GB, free: 2.379 MB / 366.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)