Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.001414/0.001414, 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.002498/0.002498, allocations: 197 kB / 16.26 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1434/0.1434, allocations: 8.033 MB / 298.1 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 59.91 kB / 360.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08542/0.08651, allocations: 51.19 MB / 411.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004855/0.0914, allocations: 4.126 MB / 415.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.09331, allocations: 1.395 MB / 416.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.09354, allocations: 15.94 kB / 416.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.09392, allocations: 115.3 kB / 417 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.09433, allocations: 167 kB / 417.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005554/0.0949, allocations: 339.2 kB / 417.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006452/0.09555, allocations: 0.8374 MB / 418.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000483/0.09604, allocations: 446.7 kB / 418.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.0963, allocations: 315 kB / 419 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.0966, allocations: 362.4 kB / 419.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.026e-05/0.0967, allocations: 92 kB / 419.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.09686, allocations: 120 kB / 419.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.09704, allocations: 207.3 kB / 419.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.09733, allocations: 398.1 kB / 420.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007537/0.09809, allocations: 0.997 MB / 421.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.0981, allocations: 0 / 421.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09811, allocations: 0 / 421.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.09812, allocations: 0 / 421.2 MB, free: 1.504 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.001518/0.09965, allocations: 1.104 MB / 422.3 MB, free: 336 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.09969, allocations: 8.031 kB / 422.3 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.09981, allocations: 84 kB / 422.4 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1695/0.2693, allocations: 489.6 kB / 422.9 MB, free: 44.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/0.2694, allocations: 50.94 kB / 422.9 MB, free: 44.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.2695, allocations: 66.09 kB / 423 MB, free: 44.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.2707, allocations: 0.6483 MB / 423.6 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.2707, allocations: 2.469 kB / 423.6 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/0.2708, allocations: 29.41 kB / 423.7 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.2708, allocations: 17.7 kB / 423.7 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009245/0.2718, allocations: 478.4 kB / 424.1 MB, free: 44.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.2746, allocations: 2.513 MB / 426.7 MB, free: 43.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/0.2754, allocations: 423.4 kB / 427.1 MB, free: 42.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.2757, allocations: 169.2 kB / 427.2 MB, free: 42.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.2758, allocations: 5.031 kB / 427.2 MB, free: 42.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005064/0.2763, allocations: 250.2 kB / 427.5 MB, free: 42.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.2763, allocations: 2.062 kB / 427.5 MB, free: 42.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001387/0.2777, allocations: 0.6904 MB / 428.2 MB, free: 42.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.2778, allocations: 135.2 kB / 428.3 MB, free: 42.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.2783, allocations: 0.5533 MB / 428.9 MB, free: 41.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.2784, allocations: 39.11 kB / 428.9 MB, free: 41.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.2786, allocations: 341.9 kB / 429.2 MB, free: 41.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.2787, allocations: 104.9 kB / 429.3 MB, free: 41.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.2788, allocations: 72.66 kB / 429.4 MB, free: 41.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2789, allocations: 358.7 kB / 429.8 MB, free: 41.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.2793, allocations: 164.8 kB / 429.9 MB, free: 41.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.2796, allocations: 263.3 kB / 430.2 MB, free: 40.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007038/0.2804, allocations: 0.525 MB / 430.7 MB, free: 40.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2804, allocations: 0 / 430.7 MB, free: 40.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000926/0.2813, allocations: 0.5988 MB / 431.3 MB, free: 40.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.2814, allocations: 89.81 kB / 431.4 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2814, allocations: 3.188 kB / 431.4 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.2815, allocations: 25.67 kB / 431.4 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.2818, allocations: 85.89 kB / 431.5 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006883/0.2825, allocations: 1.377 MB / 432.9 MB, free: 38.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.2829, allocations: 79.78 kB / 432.9 MB, free: 38.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.2829, allocations: 25.17 kB / 433 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004185/0.2834, allocations: 312.2 kB / 433.3 MB, free: 38.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003212/0.2837, allocations: 248.1 kB / 433.5 MB, free: 38.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006155/0.2843, allocations: 0.515 MB / 434 MB, free: 37.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.2843, allocations: 2.844 kB / 434 MB, free: 37.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008407/0.2852, allocations: 0.5503 MB / 434.6 MB, free: 37.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.2852, allocations: 90.64 kB / 434.7 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.2852, allocations: 7.672 kB / 434.7 MB, free: 37.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.746e-05/0.2853, allocations: 28.05 kB / 434.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.2855, allocations: 78.92 kB / 434.8 MB, free: 37.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005948/0.2862, allocations: 1.385 MB / 436.2 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.2865, allocations: 65.95 kB / 436.2 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.2865, allocations: 19.94 kB / 436.3 MB, free: 36.12 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.0001429/0.2867, allocations: 269.2 kB / 436.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.2868, allocations: 48.59 kB / 436.6 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008709/0.2876, allocations: 497.8 kB / 437.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.2876, allocations: 3.219 kB / 437.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2876, allocations: 8.812 kB / 437.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2877, allocations: 3.281 kB / 437.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.289, allocations: 1.129 MB / 438.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.289, allocations: 0 / 438.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.2893, allocations: 66.94 kB / 438.3 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.995e-05/0.2893, allocations: 17.69 kB / 438.3 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.2894, allocations: 11.12 kB / 438.3 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005462/0.2899, allocations: 1.374 MB / 439.7 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2899, allocations: 3.938 kB / 439.7 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.2911, allocations: 0.7695 MB / 440.4 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.2912, allocations: 128 kB / 440.6 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.2912, allocations: 17.7 kB / 440.6 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.2915, allocations: 37.11 kB / 440.6 MB, free: 32.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.2916, allocations: 30.83 kB / 440.6 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.2917, allocations: 17.14 kB / 440.7 MB, free: 32.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003199/0.292, allocations: 405.8 kB / 441.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.292, allocations: 0 / 441.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006242/0.2926, allocations: 274.8 kB / 441.3 MB, free: 32.68 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.0008022/0.2934, allocations: 366.6 kB / 441.7 MB, free: 32.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.2949, allocations: 1.166 MB / 442.9 MB, free: 31.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.295, allocations: 0 / 442.9 MB, free: 31.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.2954, allocations: 430.9 kB / 443.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.2959, allocations: 89.34 kB / 443.4 MB, free: 31.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.2975, allocations: 1.441 MB / 444.8 MB, free: 30.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.2978, allocations: 0.8971 MB / 445.7 MB, free: 29.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002019/0.298, allocations: 57.3 kB / 445.8 MB, free: 29.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.2981, allocations: 35.31 kB / 445.8 MB, free: 29.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2981, allocations: 0 / 445.8 MB, free: 29.77 MB / 350.1 MB Notification: Performance of Templates: time 0.009552/0.3077, allocations: 6.807 MB / 452.6 MB, free: 29.21 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)