Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.001248/0.001248, allocations: 104 kB / 15.58 MB, free: 188 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.001294/0.001294, allocations: 197.3 kB / 16.51 MB, free: 6.324 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.23/1.23, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1254/0.1254, allocations: 8.029 MB / 298.4 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 55.91 kB / 360.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09469/0.09578, allocations: 51.19 MB / 411.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004839/0.1006, allocations: 4.137 MB / 415.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.1024, allocations: 1.418 MB / 417.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.1026, allocations: 15.94 kB / 417.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.103, allocations: 150.8 kB / 417.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.1034, allocations: 202.5 kB / 417.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.1039, allocations: 378.6 kB / 418.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006336/0.1045, allocations: 0.8457 MB / 418.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005305/0.1051, allocations: 0.492 MB / 419.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.1054, allocations: 318.9 kB / 419.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.1057, allocations: 366.4 kB / 420.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.072e-05/0.1058, allocations: 96 kB / 420.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1059, allocations: 119.9 kB / 420.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.1061, allocations: 219.3 kB / 420.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002751/0.1064, allocations: 398.1 kB / 420.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007392/0.1071, allocations: 1.02 MB / 421.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1071, allocations: 0 / 421.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1072, allocations: 4 kB / 421.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1072, allocations: 4 kB / 421.9 MB, free: 0.8711 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.1533/0.2604, allocations: 1.101 MB / 423 MB, free: 44.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2605, allocations: 9.094 kB / 423 MB, free: 44.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.2606, allocations: 82.78 kB / 423.1 MB, free: 44.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.2612, allocations: 0.4963 MB / 423.6 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.2613, allocations: 47.47 kB / 423.6 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.243e-05/0.2614, allocations: 70.92 kB / 423.7 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.2624, allocations: 0.6728 MB / 424.4 MB, free: 44.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.2625, allocations: 7.984 kB / 424.4 MB, free: 44.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.2625, allocations: 30.09 kB / 424.4 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.2625, allocations: 14.59 kB / 424.4 MB, free: 44.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009106/0.2634, allocations: 497.3 kB / 424.9 MB, free: 44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.2664, allocations: 2.577 MB / 427.5 MB, free: 42.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008261/0.2673, allocations: 430.2 kB / 427.9 MB, free: 42.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.2676, allocations: 168.8 kB / 428.1 MB, free: 42.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.2677, allocations: 3.578 kB / 428.1 MB, free: 42.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005201/0.2682, allocations: 260.1 kB / 428.3 MB, free: 42.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.2682, allocations: 0 / 428.3 MB, free: 42.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001254/0.2695, allocations: 0.675 MB / 429 MB, free: 41.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2695, allocations: 137.8 kB / 429.1 MB, free: 41.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.27, allocations: 0.5686 MB / 429.7 MB, free: 41.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.2701, allocations: 34.95 kB / 429.7 MB, free: 41.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.2702, allocations: 343.8 kB / 430.1 MB, free: 41.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.2703, allocations: 103.2 kB / 430.2 MB, free: 41.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.2704, allocations: 77.97 kB / 430.3 MB, free: 41.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.072e-05/0.2705, allocations: 363 kB / 430.6 MB, free: 40.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.2709, allocations: 166.6 kB / 430.8 MB, free: 40.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/0.2712, allocations: 253.6 kB / 431 MB, free: 40.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.2719, allocations: 0.5334 MB / 431.6 MB, free: 40.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2719, allocations: 0 / 431.6 MB, free: 40.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008857/0.2728, allocations: 0.5925 MB / 432.1 MB, free: 39.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.2729, allocations: 89.92 kB / 432.2 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2729, allocations: 11.02 kB / 432.2 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.273, allocations: 25.8 kB / 432.3 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.2733, allocations: 89.47 kB / 432.4 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006455/0.274, allocations: 1.372 MB / 433.7 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.2744, allocations: 73.39 kB / 433.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.2744, allocations: 20.56 kB / 433.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004151/0.2748, allocations: 317.2 kB / 434.1 MB, free: 38.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003066/0.2751, allocations: 250.1 kB / 434.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005815/0.2757, allocations: 0.5172 MB / 434.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.2757, allocations: 3.938 kB / 434.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008175/0.2766, allocations: 0.5595 MB / 435.5 MB, free: 37.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.2766, allocations: 92.8 kB / 435.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2766, allocations: 6.531 kB / 435.6 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.48e-05/0.2767, allocations: 27.94 kB / 435.6 MB, free: 37.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.2769, allocations: 77.39 kB / 435.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005423/0.2775, allocations: 1.392 MB / 437.1 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.2778, allocations: 54.42 kB / 437.1 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.2779, allocations: 17.12 kB / 437.1 MB, free: 35.73 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,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.0001213/0.278, allocations: 266 kB / 437.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.2781, allocations: 60.97 kB / 437.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008421/0.2789, allocations: 0.4909 MB / 437.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2789, allocations: 3.125 kB / 437.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.2789, allocations: 0 / 437.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.279, allocations: 8.359 kB / 437.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.2803, allocations: 1.134 MB / 439.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2803, allocations: 0 / 439.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.2806, allocations: 61.78 kB / 439.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.45e-05/0.2806, allocations: 21.92 kB / 439.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.2807, allocations: 13.75 kB / 439.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005495/0.2812, allocations: 1.376 MB / 440.5 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2812, allocations: 5.719 kB / 440.6 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.2824, allocations: 0.7637 MB / 441.3 MB, free: 32.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.303e-05/0.2825, allocations: 139.4 kB / 441.5 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.2825, allocations: 8.062 kB / 441.5 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.2829, allocations: 44.16 kB / 441.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.283, allocations: 33.28 kB / 441.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.283, allocations: 9.844 kB / 441.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003177/0.2833, allocations: 405.3 kB / 441.9 MB, free: 32.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2833, allocations: 4 kB / 441.9 MB, free: 32.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006031/0.2839, allocations: 273.9 kB / 442.2 MB, free: 32.28 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,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.0007078/0.2846, allocations: 370 kB / 442.6 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.2861, allocations: 1.159 MB / 443.7 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2861, allocations: 0 / 443.7 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.2866, allocations: 432.2 kB / 444.2 MB, free: 31.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.2871, allocations: 89.38 kB / 444.2 MB, free: 31.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.2885, allocations: 1.213 MB / 445.5 MB, free: 30.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.2888, allocations: 0.8923 MB / 446.3 MB, free: 29.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.289, allocations: 65.34 kB / 446.4 MB, free: 29.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.2891, allocations: 40.06 kB / 446.5 MB, free: 29.6 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2891, allocations: 0 / 446.5 MB, free: 29.6 MB / 350.1 MB Notification: Performance of Templates: time 0.009365/0.2984, allocations: 7.021 MB / 453.5 MB, free: 29.01 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)