Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.001032/0.001033, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001103/0.001104, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1412/0.1412, allocations: 8.035 MB / 298.1 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 59.91 kB / 360.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08844/0.0896, allocations: 51.2 MB / 411.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005345/0.09498, allocations: 4.126 MB / 415.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.09705, allocations: 1.387 MB / 416.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.09731, allocations: 15.94 kB / 416.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.09769, allocations: 115.3 kB / 417 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004316/0.09813, allocations: 167 kB / 417.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.09874, allocations: 339.3 kB / 417.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007124/0.09947, allocations: 0.8452 MB / 418.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.1, allocations: 450.7 kB / 418.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.1003, allocations: 314.9 kB / 419 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.1006, allocations: 354.5 kB / 419.4 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.1007, allocations: 96 kB / 419.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.1009, allocations: 119.9 kB / 419.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.1011, allocations: 199.4 kB / 419.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.1014, allocations: 406.1 kB / 420.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008218/0.1023, allocations: 0.997 MB / 421.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1023, allocations: 3.984 kB / 421.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1023, allocations: 0 / 421.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1023, allocations: 0 / 421.2 MB, free: 1.508 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00165/0.104, allocations: 1.094 MB / 422.3 MB, free: 348 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.104, allocations: 12.03 kB / 422.3 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.1042, allocations: 80 kB / 422.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1424/0.2466, allocations: 498 kB / 422.9 MB, free: 44.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.2467, allocations: 48.53 kB / 422.9 MB, free: 44.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.2468, allocations: 65.78 kB / 423 MB, free: 44.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.248, allocations: 0.6501 MB / 423.6 MB, free: 44.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.2481, allocations: 4.875 kB / 423.6 MB, free: 44.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/0.2481, allocations: 27.22 kB / 423.7 MB, free: 44.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.2482, allocations: 13.38 kB / 423.7 MB, free: 44.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009904/0.2492, allocations: 486.6 kB / 424.1 MB, free: 44.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.2522, allocations: 2.506 MB / 426.7 MB, free: 43.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008714/0.253, allocations: 421.1 kB / 427.1 MB, free: 42.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.2534, allocations: 173.1 kB / 427.2 MB, free: 42.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.2535, allocations: 6.781 kB / 427.2 MB, free: 42.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006561/0.2541, allocations: 244.9 kB / 427.5 MB, free: 42.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.2542, allocations: 0 / 427.5 MB, free: 42.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001506/0.2557, allocations: 0.6844 MB / 428.2 MB, free: 42.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.2557, allocations: 146.4 kB / 428.3 MB, free: 42.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005618/0.2563, allocations: 0.553 MB / 428.9 MB, free: 41.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.2564, allocations: 32.73 kB / 428.9 MB, free: 41.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.2566, allocations: 337.1 kB / 429.2 MB, free: 41.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.661e-05/0.2567, allocations: 110.5 kB / 429.3 MB, free: 41.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.2568, allocations: 76.69 kB / 429.4 MB, free: 41.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2569, allocations: 356.9 kB / 429.8 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.2573, allocations: 164.4 kB / 429.9 MB, free: 41.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.2577, allocations: 260.7 kB / 430.2 MB, free: 41.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007236/0.2584, allocations: 0.5285 MB / 430.7 MB, free: 40.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2585, allocations: 0 / 430.7 MB, free: 40.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000952/0.2594, allocations: 0.5934 MB / 431.3 MB, free: 40.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.2595, allocations: 94.59 kB / 431.4 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2595, allocations: 7.25 kB / 431.4 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.2596, allocations: 24.69 kB / 431.4 MB, free: 40.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.2599, allocations: 82.39 kB / 431.5 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000831/0.2608, allocations: 1.378 MB / 432.9 MB, free: 38.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.2612, allocations: 83.36 kB / 433 MB, free: 38.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.2613, allocations: 16.88 kB / 433 MB, free: 38.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000514/0.2618, allocations: 314.1 kB / 433.3 MB, free: 38.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003676/0.2622, allocations: 249.1 kB / 433.5 MB, free: 38.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006663/0.2628, allocations: 0.5093 MB / 434 MB, free: 38.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.2629, allocations: 0 / 434 MB, free: 38.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009393/0.2638, allocations: 0.555 MB / 434.6 MB, free: 37.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.2639, allocations: 94.06 kB / 434.7 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2639, allocations: 7.156 kB / 434.7 MB, free: 37.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.778e-05/0.264, allocations: 29.44 kB / 434.7 MB, free: 37.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.2642, allocations: 81.84 kB / 434.8 MB, free: 37.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007072/0.265, allocations: 1.383 MB / 436.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.2654, allocations: 62.55 kB / 436.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.2654, allocations: 21 kB / 436.3 MB, free: 36.23 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 (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.0002199/0.2656, allocations: 274.9 kB / 436.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.2657, allocations: 49.22 kB / 436.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009661/0.2667, allocations: 0.4887 MB / 437.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2667, allocations: 3.156 kB / 437.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2667, allocations: 3.938 kB / 437.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2667, allocations: 3.938 kB / 437.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.2682, allocations: 1.131 MB / 438.2 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2682, allocations: 0 / 438.2 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.2685, allocations: 58.17 kB / 438.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.135e-05/0.2686, allocations: 21.89 kB / 438.3 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.2686, allocations: 7.25 kB / 438.3 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006507/0.2693, allocations: 1.376 MB / 439.7 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2693, allocations: 3.938 kB / 439.7 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.2705, allocations: 0.7666 MB / 440.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.2707, allocations: 132.1 kB / 440.6 MB, free: 33.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.2707, allocations: 11.28 kB / 440.6 MB, free: 33.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.2711, allocations: 43.81 kB / 440.6 MB, free: 33.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2712, allocations: 35.03 kB / 440.7 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.2712, allocations: 10.44 kB / 440.7 MB, free: 33.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003814/0.2716, allocations: 404.9 kB / 441.1 MB, free: 32.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2716, allocations: 96 / 441.1 MB, free: 32.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007287/0.2723, allocations: 271.6 kB / 441.3 MB, free: 32.79 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,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.0008439/0.2732, allocations: 376.6 kB / 441.7 MB, free: 32.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.2748, allocations: 1.167 MB / 442.9 MB, free: 31.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2748, allocations: 0.8125 kB / 442.9 MB, free: 31.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.2753, allocations: 429.8 kB / 443.3 MB, free: 31.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.2759, allocations: 84.11 kB / 443.4 MB, free: 31.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.2776, allocations: 1.433 MB / 444.8 MB, free: 30.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.2779, allocations: 0.8886 MB / 445.7 MB, free: 29.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002346/0.2781, allocations: 65.14 kB / 445.7 MB, free: 29.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.204e-05/0.2782, allocations: 37.34 kB / 445.8 MB, free: 29.88 MB / 350.1 MB Notification: Performance of SimCode: time 9.01e-07/0.2783, allocations: 0 / 445.8 MB, free: 29.88 MB / 350.1 MB Notification: Performance of Templates: time 0.01107/0.2893, allocations: 6.806 MB / 452.6 MB, free: 29.31 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)