Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.0007526/0.0007526, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005674/0.005674, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1381/0.1381, allocations: 8.028 MB / 299.5 MB, free: 3.391 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004462, allocations: 11.98 kB / 362.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09145/0.09192, allocations: 52.19 MB / 414.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004064/0.09601, allocations: 3.884 MB / 418.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.09801, allocations: 1.43 MB / 419.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.09825, allocations: 12 kB / 419.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.09857, allocations: 123.2 kB / 420 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.09897, allocations: 167 kB / 420.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.0996, allocations: 366.7 kB / 420.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007036/0.1003, allocations: 0.8025 MB / 421.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005313/0.1008, allocations: 423.1 kB / 421.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000256/0.1011, allocations: 254.8 kB / 422 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.1014, allocations: 302.5 kB / 422.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.844e-05/0.1015, allocations: 32 kB / 422.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1017, allocations: 67.86 kB / 422.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.1018, allocations: 143.4 kB / 422.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.1021, allocations: 375.6 kB / 422.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008443/0.103, allocations: 0.9848 MB / 423.9 MB, free: 288 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.103, allocations: 0 / 423.9 MB, free: 288 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.103, allocations: 4 kB / 423.9 MB, free: 284 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.103, allocations: 0 / 423.9 MB, free: 284 kB / 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.1652/0.2682, allocations: 1.017 MB / 424.9 MB, free: 41.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2682, allocations: 7.562 kB / 424.9 MB, free: 41.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.2683, allocations: 84.53 kB / 425 MB, free: 41.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.2689, allocations: 0.5015 MB / 425.5 MB, free: 41.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.2689, allocations: 54.53 kB / 425.6 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-05/0.269, allocations: 76.62 kB / 425.6 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.2701, allocations: 0.7257 MB / 426.4 MB, free: 41.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.2702, allocations: 0 / 426.4 MB, free: 41.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.2702, allocations: 33.06 kB / 426.4 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.2703, allocations: 16.38 kB / 426.4 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.2713, allocations: 0.5333 MB / 426.9 MB, free: 41.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.2741, allocations: 2.595 MB / 429.5 MB, free: 40.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008402/0.2749, allocations: 468.8 kB / 430 MB, free: 40.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.2753, allocations: 193.5 kB / 430.2 MB, free: 40.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.2754, allocations: 3.125 kB / 430.2 MB, free: 40.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005307/0.2759, allocations: 278.4 kB / 430.5 MB, free: 40.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.2759, allocations: 0 / 430.5 MB, free: 40.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001393/0.2773, allocations: 0.762 MB / 431.2 MB, free: 39.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.2774, allocations: 138.6 kB / 431.4 MB, free: 39.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/0.2779, allocations: 0.5685 MB / 431.9 MB, free: 39.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.278, allocations: 35.89 kB / 432 MB, free: 39.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.2781, allocations: 356.6 kB / 432.3 MB, free: 39.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.2782, allocations: 107.7 kB / 432.4 MB, free: 39.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.2783, allocations: 42.52 kB / 432.5 MB, free: 39.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.726e-05/0.2783, allocations: 361.9 kB / 432.8 MB, free: 38.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.2787, allocations: 176.8 kB / 433 MB, free: 38.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.2792, allocations: 278.3 kB / 433.3 MB, free: 38.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008171/0.28, allocations: 0.5835 MB / 433.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.28, allocations: 3.188 kB / 433.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001006/0.281, allocations: 0.6385 MB / 434.5 MB, free: 38.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.2811, allocations: 256.9 kB / 434.7 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2811, allocations: 7.844 kB / 434.7 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.2813, allocations: 24.88 kB / 434.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.2816, allocations: 90.22 kB / 434.9 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006168/0.2822, allocations: 1.291 MB / 436.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.2826, allocations: 95.12 kB / 436.2 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.2827, allocations: 20.84 kB / 436.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.419e-06/0.2827, allocations: 5 kB / 436.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008888/0.2836, allocations: 0.5549 MB / 436.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2836, allocations: 6.422 kB / 436.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.119e-05/0.2836, allocations: 21.42 kB / 436.8 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.2839, allocations: 81.36 kB / 436.9 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005136/0.2844, allocations: 1.298 MB / 438.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.2848, allocations: 86.55 kB / 438.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.2848, allocations: 15.81 kB / 438.3 MB, free: 34.77 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,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 (45): * Single equations (assignments): 41 * 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.0002454/0.2851, allocations: 360.2 kB / 438.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.2852, allocations: 61.91 kB / 438.7 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009683/0.2861, allocations: 0.5393 MB / 439.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2861, allocations: 2.938 kB / 439.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2862, allocations: 2.969 kB / 439.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2862, allocations: 3.422 kB / 439.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.2876, allocations: 1.217 MB / 440.5 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2876, allocations: 0 / 440.5 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.2879, allocations: 76.53 kB / 440.6 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.401e-05/0.288, allocations: 23.78 kB / 440.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.288, allocations: 10.47 kB / 440.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005469/0.2886, allocations: 1.296 MB / 441.9 MB, free: 32.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2886, allocations: 3.938 kB / 441.9 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.2899, allocations: 0.8378 MB / 442.7 MB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.29, allocations: 132.2 kB / 442.9 MB, free: 31.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.2901, allocations: 15.47 kB / 442.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/0.2905, allocations: 57.39 kB / 442.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.2906, allocations: 31.09 kB / 443 MB, free: 31.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.2906, allocations: 10.62 kB / 443 MB, free: 31.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003302/0.2909, allocations: 417.5 kB / 443.4 MB, free: 31.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.2909, allocations: 2.719 kB / 443.4 MB, free: 31.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006253/0.2916, allocations: 284.8 kB / 443.7 MB, free: 31.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,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 (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.0007283/0.2923, allocations: 361.7 kB / 444 MB, free: 31.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.2939, allocations: 1.236 MB / 445.3 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.294, allocations: 3.031 kB / 445.3 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.2945, allocations: 456.8 kB / 445.7 MB, free: 30.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.295, allocations: 87.3 kB / 445.8 MB, free: 29.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.2967, allocations: 1.582 MB / 447.4 MB, free: 28.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.297, allocations: 0.9035 MB / 448.3 MB, free: 28.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002068/0.2972, allocations: 62.61 kB / 448.3 MB, free: 28.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.022e-05/0.2973, allocations: 32.88 kB / 448.4 MB, free: 28.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2973, allocations: 0 / 448.4 MB, free: 28.25 MB / 350.1 MB Notification: Performance of Templates: time 0.009375/0.3066, allocations: 6.643 MB / 455 MB, free: 27.71 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)