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.0009545/0.0009546, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001132/0.001132, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.14/0.14, allocations: 8.02 MB / 299.1 MB, free: 3.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002818, allocations: 8 kB / 361.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08269/0.08298, allocations: 52.19 MB / 414 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004096/0.08711, allocations: 3.696 MB / 417.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.08909, allocations: 1.357 MB / 419 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.08932, allocations: 15.94 kB / 419 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.08964, allocations: 119.3 kB / 419.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003969/0.09005, allocations: 166.9 kB / 419.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.09056, allocations: 263 kB / 419.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006853/0.09126, allocations: 0.7751 MB / 420.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004624/0.09173, allocations: 337 kB / 420.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.09198, allocations: 243 kB / 420.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.09231, allocations: 286.6 kB / 421.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.09239, allocations: 36 kB / 421.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.09253, allocations: 60 kB / 421.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.09269, allocations: 147.4 kB / 421.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.09283, allocations: 161.3 kB / 421.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006826/0.09352, allocations: 0.8143 MB / 422.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.09354, allocations: 0 / 422.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.09354, allocations: 0 / 422.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.09356, allocations: 0 / 422.4 MB, free: 1.543 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.001514/0.09508, allocations: 1.034 MB / 423.4 MB, free: 452 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.09511, allocations: 8.031 kB / 423.5 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.09524, allocations: 90.95 kB / 423.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.15/0.2453, allocations: 489.1 kB / 424 MB, free: 41.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.2454, allocations: 54.22 kB / 424.1 MB, free: 41.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.2455, allocations: 78.22 kB / 424.1 MB, free: 41.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.2468, allocations: 0.7149 MB / 424.9 MB, free: 41.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.2469, allocations: 2.344 kB / 424.9 MB, free: 41.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.2469, allocations: 31.81 kB / 424.9 MB, free: 41.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.2469, allocations: 15.62 kB / 424.9 MB, free: 41.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.248, allocations: 0.5323 MB / 425.4 MB, free: 41.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/0.2511, allocations: 2.597 MB / 428 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008169/0.252, allocations: 467.3 kB / 428.5 MB, free: 40.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.2523, allocations: 200.2 kB / 428.7 MB, free: 40.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.2524, allocations: 4.312 kB / 428.7 MB, free: 40.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005373/0.2529, allocations: 277.7 kB / 429 MB, free: 40.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.2529, allocations: 0 / 429 MB, free: 40.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001397/0.2543, allocations: 0.7589 MB / 429.7 MB, free: 40.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.2544, allocations: 139.9 kB / 429.9 MB, free: 40 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.2549, allocations: 0.5607 MB / 430.4 MB, free: 39.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.2549, allocations: 38.3 kB / 430.5 MB, free: 39.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.2551, allocations: 348 kB / 430.8 MB, free: 39.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.844e-05/0.2552, allocations: 117.5 kB / 430.9 MB, free: 39.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.2552, allocations: 9.531 kB / 430.9 MB, free: 39.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.2553, allocations: 366.5 kB / 431.3 MB, free: 39.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.2557, allocations: 169.5 kB / 431.4 MB, free: 39.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.2561, allocations: 273 kB / 431.7 MB, free: 39.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.2565, allocations: 283.5 kB / 432 MB, free: 39.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2566, allocations: 0 / 432 MB, free: 39.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001039/0.2576, allocations: 0.6377 MB / 432.6 MB, free: 38.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.582e-05/0.2577, allocations: 253.1 kB / 432.9 MB, free: 38.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2577, allocations: 3.891 kB / 432.9 MB, free: 38.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.2578, allocations: 32.42 kB / 432.9 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.2581, allocations: 89.98 kB / 433 MB, free: 38.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005961/0.2588, allocations: 1.289 MB / 434.3 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.2591, allocations: 89.95 kB / 434.4 MB, free: 37.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.2592, allocations: 24.2 kB / 434.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.188e-06/0.2592, allocations: 6.375 kB / 434.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000831/0.26, allocations: 0.5482 MB / 435 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.26, allocations: 3.344 kB / 435 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.137e-05/0.2601, allocations: 25.2 kB / 435 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.2604, allocations: 83.53 kB / 435.1 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00053/0.2609, allocations: 1.299 MB / 436.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.2613, allocations: 87.02 kB / 436.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.2613, allocations: 16.56 kB / 436.5 MB, free: 35.52 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 ($whenCondition1,twoFlanges.limTau.state,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002435/0.2616, allocations: 364.1 kB / 436.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.2616, allocations: 57.27 kB / 436.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009104/0.2625, allocations: 0.5397 MB / 437.4 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2625, allocations: 3.188 kB / 437.4 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.2626, allocations: 0 / 437.4 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2626, allocations: 3.422 kB / 437.4 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.264, allocations: 1.227 MB / 438.6 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.264, allocations: 0 / 438.6 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.2643, allocations: 67.3 kB / 438.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.219e-05/0.2643, allocations: 26 kB / 438.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.2644, allocations: 18.39 kB / 438.8 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005256/0.2649, allocations: 1.284 MB / 440 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2649, allocations: 3.406 kB / 440 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.2661, allocations: 0.8313 MB / 440.9 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/0.2662, allocations: 142.7 kB / 441 MB, free: 32.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.2663, allocations: 14.88 kB / 441 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.2667, allocations: 53.72 kB / 441.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.2667, allocations: 31.66 kB / 441.1 MB, free: 32.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.2668, allocations: 17.06 kB / 441.1 MB, free: 32.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003488/0.2671, allocations: 413.8 kB / 441.5 MB, free: 32.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2671, allocations: 0 / 441.5 MB, free: 32.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006455/0.2678, allocations: 285.4 kB / 441.8 MB, free: 32.03 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,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007308/0.2685, allocations: 360.9 kB / 442.2 MB, free: 31.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.27, allocations: 1.216 MB / 443.4 MB, free: 31.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.27, allocations: 4.062 kB / 443.4 MB, free: 31.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004919/0.2705, allocations: 451.5 kB / 443.8 MB, free: 30.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.271, allocations: 85.86 kB / 443.9 MB, free: 30.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.2727, allocations: 1.508 MB / 445.4 MB, free: 29.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.2729, allocations: 0.9012 MB / 446.3 MB, free: 29.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.2732, allocations: 72.8 kB / 446.4 MB, free: 29.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.104e-05/0.2733, allocations: 32.59 kB / 446.4 MB, free: 29.08 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2733, allocations: 0 / 446.4 MB, free: 29.08 MB / 350.1 MB Notification: Performance of Templates: time 0.009148/0.2824, allocations: 6.463 MB / 452.9 MB, free: 28.54 MB / 350.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)