Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001313/0.001313, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.448/1.448, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04201/0.04201, allocations: 8.564 MB / 299.6 MB, free: 6.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 59.89 kB / 362 MB, free: 7.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2453, allocations: 51.37 MB / 413.4 MB, free: 25.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.004974/0.2504, allocations: 4.44 MB / 417.8 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.2535, allocations: 2.102 MB / 419.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004821/0.2541, allocations: 15.94 kB / 419.9 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.2545, allocations: 166.7 kB / 420.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005823/0.2552, allocations: 226.2 kB / 420.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.2559, allocations: 426.3 kB / 420.7 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006499/0.2566, allocations: 0.9547 MB / 421.7 MB, free: 17.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000521/0.2571, allocations: 0.5005 MB / 422.2 MB, free: 16.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003522/0.2575, allocations: 374.6 kB / 422.6 MB, free: 16.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003787/0.2578, allocations: 406.3 kB / 423 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.961e-05/0.258, allocations: 112 kB / 423.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.2582, allocations: 163.9 kB / 423.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.2584, allocations: 239.3 kB / 423.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.2587, allocations: 473.7 kB / 423.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007945/0.2595, allocations: 1.196 MB / 425.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2595, allocations: 0 / 425.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2595, allocations: 3.938 kB / 425.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.2595, allocations: 0 / 425.1 MB, free: 13.74 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001751/0.2613, allocations: 1.241 MB / 426.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2613, allocations: 11.89 kB / 426.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.2614, allocations: 99.81 kB / 426.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.262, allocations: 0.556 MB / 427 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.2621, allocations: 58.38 kB / 427.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.631e-05/0.2622, allocations: 80.12 kB / 427.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.2633, allocations: 0.7408 MB / 427.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.2634, allocations: 4 kB / 427.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.2634, allocations: 28 kB / 427.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.2634, allocations: 16 kB / 428 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.2645, allocations: 0.5309 MB / 428.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.2678, allocations: 2.726 MB / 431.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/0.2687, allocations: 476.2 kB / 431.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.2691, allocations: 181 kB / 431.9 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.2692, allocations: 4 kB / 431.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000633/0.2698, allocations: 270.9 kB / 432.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.2698, allocations: 3.938 kB / 432.1 MB, free: 6.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001626/0.2715, allocations: 0.7347 MB / 432.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.2715, allocations: 162.5 kB / 433 MB, free: 5.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006561/0.2722, allocations: 0.6748 MB / 433.7 MB, free: 4.785 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.2722, allocations: 37.7 kB / 433.7 MB, free: 4.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.2725, allocations: 383.8 kB / 434.1 MB, free: 4.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.2725, allocations: 122.2 kB / 434.2 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.2727, allocations: 98.03 kB / 434.3 MB, free: 4.141 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.2728, allocations: 374.7 kB / 434.7 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/0.2732, allocations: 178.6 kB / 434.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.2736, allocations: 307.9 kB / 435.2 MB, free: 3.238 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008249/0.2745, allocations: 0.5953 MB / 435.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2745, allocations: 0 / 435.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001121/0.2756, allocations: 0.6562 MB / 436.4 MB, free: 1.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/0.2757, allocations: 97.09 kB / 436.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2757, allocations: 4 kB / 436.5 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.2759, allocations: 33.22 kB / 436.5 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.2762, allocations: 95.88 kB / 436.6 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007407/0.277, allocations: 1.387 MB / 438 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.2774, allocations: 83.58 kB / 438.1 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.2775, allocations: 23.98 kB / 438.1 MB, free: 0 / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007276/0.2782, allocations: 357 kB / 438.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005192/0.2787, allocations: 295.8 kB / 438.8 MB, free: 15.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001013/0.2798, allocations: 0.5564 MB / 439.3 MB, free: 14.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.906e-06/0.2798, allocations: 0 / 439.3 MB, free: 14.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.001368/0.2812, allocations: 0.6431 MB / 440 MB, free: 14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.859e-05/0.2812, allocations: 90.78 kB / 440.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.2813, allocations: 8 kB / 440.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001102/0.2814, allocations: 32.78 kB / 440.1 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.2818, allocations: 87.89 kB / 440.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.283, allocations: 1.391 MB / 441.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/0.2835, allocations: 71.73 kB / 441.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.2835, allocations: 20 kB / 441.7 MB, free: 12.14 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,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 (53): * Single equations (assignments): 49 * 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.0002622/0.2838, allocations: 271.8 kB / 441.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.284, allocations: 67.19 kB / 442 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.2853, allocations: 0.5343 MB / 442.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2853, allocations: 7.938 kB / 442.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2853, allocations: 0 / 442.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2853, allocations: 0 / 442.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.2876, allocations: 1.287 MB / 443.8 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.2876, allocations: 0 / 443.8 MB, free: 9.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.288, allocations: 55.95 kB / 443.9 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.2881, allocations: 32.78 kB / 443.9 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.2881, allocations: 12 kB / 443.9 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.2893, allocations: 1.379 MB / 445.3 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.2893, allocations: 0 / 445.3 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.2911, allocations: 0.8236 MB / 446.1 MB, free: 7.395 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.2913, allocations: 144.4 kB / 446.3 MB, free: 7.234 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.2914, allocations: 11.94 kB / 446.3 MB, free: 7.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.2919, allocations: 43.95 kB / 446.3 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.292, allocations: 35.95 kB / 446.4 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.2921, allocations: 12 kB / 446.4 MB, free: 7.133 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007408/0.2928, allocations: 486.8 kB / 446.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2928, allocations: 0 / 446.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001107/0.2939, allocations: 318.7 kB / 447.2 MB, free: 6.348 MB / 318.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 (32): * Single equations (assignments): 27 * 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.001499/0.2954, allocations: 426.1 kB / 447.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00262/0.2981, allocations: 1.259 MB / 448.8 MB, free: 4.715 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2981, allocations: 0 / 448.8 MB, free: 4.715 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007912/0.2989, allocations: 450.6 kB / 449.3 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/0.2997, allocations: 95.52 kB / 449.4 MB, free: 4.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.3026, allocations: 1.403 MB / 450.8 MB, free: 2.707 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.3033, allocations: 0.929 MB / 451.7 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.3035, allocations: 47.42 kB / 451.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3035, allocations: 0 / 451.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of Templates: time 0.02112/0.3246, allocations: 12.02 MB / 463.8 MB, free: 5.691 MB / 334.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1)