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.001573/0.001573, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00229/0.00229, allocations: 189.9 kB / 16.67 MB, free: 6.57 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.509/1.509, allocations: 222.9 MB / 240.3 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2107/0.2107, allocations: 8.026 MB / 298.5 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001676, allocations: 59.91 kB / 413 MB, free: 9.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3542, allocations: 51.19 MB / 464.2 MB, free: 18.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005242/0.3595, allocations: 4.125 MB / 468.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.362, allocations: 1.411 MB / 469.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006181/0.3626, allocations: 18.25 kB / 469.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005256/0.3632, allocations: 147.8 kB / 469.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008266/0.3641, allocations: 208.4 kB / 470.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009628/0.365, allocations: 369.3 kB / 470.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.3662, allocations: 0.843 MB / 471.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005943/0.3668, allocations: 449.3 kB / 471.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005013/0.3673, allocations: 318.6 kB / 472.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.3677, allocations: 353.7 kB / 472.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.3678, allocations: 93.66 kB / 472.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.368, allocations: 118.3 kB / 472.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.3682, allocations: 204.2 kB / 472.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003132/0.3686, allocations: 398.9 kB / 473.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.3698, allocations: 1.014 MB / 474.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3698, allocations: 9.281 kB / 474.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3698, allocations: 3.938 kB / 474.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.3698, allocations: 0 / 474.3 MB, free: 12.07 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.001596/0.3714, allocations: 1.117 MB / 475.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3715, allocations: 9.625 kB / 475.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.3716, allocations: 85.09 kB / 475.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006375/0.3723, allocations: 0.5041 MB / 476 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.3723, allocations: 47.44 kB / 476 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.3724, allocations: 72.61 kB / 476.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.3736, allocations: 0.6448 MB / 476.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.3736, allocations: 5.75 kB / 476.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-05/0.3737, allocations: 28.12 kB / 476.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.3737, allocations: 14.06 kB / 476.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.3748, allocations: 479 kB / 477.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003054/0.3779, allocations: 2.506 MB / 479.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008887/0.3788, allocations: 418 kB / 480.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/0.3791, allocations: 170.5 kB / 480.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.3792, allocations: 3.234 kB / 480.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005381/0.3797, allocations: 262.7 kB / 480.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.3797, allocations: 3.938 kB / 480.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001508/0.3813, allocations: 0.6757 MB / 481.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.3813, allocations: 145.9 kB / 481.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005957/0.3819, allocations: 0.5547 MB / 482 MB, free: 6.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.382, allocations: 33.42 kB / 482 MB, free: 6.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.3822, allocations: 347.6 kB / 482.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.877e-05/0.3823, allocations: 108.6 kB / 482.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.3824, allocations: 77.88 kB / 482.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.3825, allocations: 360 kB / 482.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.3828, allocations: 158.6 kB / 483 MB, free: 6.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.3833, allocations: 255.3 kB / 483.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/0.3841, allocations: 0.543 MB / 483.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3841, allocations: 1.094 kB / 483.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001137/0.3852, allocations: 0.5881 MB / 484.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.3853, allocations: 96.05 kB / 484.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.3853, allocations: 7.078 kB / 484.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.3855, allocations: 21.67 kB / 484.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.3858, allocations: 78.88 kB / 484.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007772/0.3866, allocations: 1.378 MB / 486 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.3871, allocations: 84.73 kB / 486.1 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.3872, allocations: 22.14 kB / 486.1 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000559/0.3877, allocations: 311.6 kB / 486.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003743/0.3881, allocations: 251.1 kB / 486.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007062/0.3888, allocations: 0.5157 MB / 487.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.3888, allocations: 1.188 kB / 487.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009951/0.3898, allocations: 0.5615 MB / 487.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.3899, allocations: 90.73 kB / 487.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3899, allocations: 7.109 kB / 487.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.968e-05/0.39, allocations: 30.59 kB / 487.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.3903, allocations: 74.83 kB / 487.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006275/0.3909, allocations: 1.381 MB / 489.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.3914, allocations: 66.52 kB / 489.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.3914, allocations: 17.84 kB / 489.4 MB, free: 0.582 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.0001843/0.3916, allocations: 272.5 kB / 489.6 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/0.3917, allocations: 53.02 kB / 489.7 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.3928, allocations: 0.4951 MB / 490.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3928, allocations: 2.719 kB / 490.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3928, allocations: 1.312 kB / 490.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3928, allocations: 0 / 490.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.3947, allocations: 1.128 MB / 491.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3947, allocations: 0 / 491.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.395, allocations: 57.14 kB / 491.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.509e-05/0.3951, allocations: 26.41 kB / 491.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.3951, allocations: 16 kB / 491.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.3962, allocations: 1.383 MB / 492.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3962, allocations: 0 / 492.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.398, allocations: 0.7623 MB / 493.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.3982, allocations: 141.8 kB / 493.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.642e-05/0.3983, allocations: 8.344 kB / 493.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.3986, allocations: 41.64 kB / 493.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.3988, allocations: 31.92 kB / 493.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.3988, allocations: 11.59 kB / 493.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007273/0.3995, allocations: 407 kB / 494.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3996, allocations: 4 kB / 494.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001213/0.4008, allocations: 267.5 kB / 494.5 MB, free: 12.63 MB / 366.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.001036/0.4018, allocations: 363.2 kB / 494.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002263/0.4041, allocations: 1.16 MB / 496 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.4041, allocations: 1.344 kB / 496 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000783/0.4049, allocations: 430.8 kB / 496.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009367/0.4059, allocations: 99.03 kB / 496.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.4088, allocations: 1.194 MB / 497.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/0.4095, allocations: 0.8938 MB / 498.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003109/0.4098, allocations: 58.27 kB / 498.6 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.4099, allocations: 39.89 kB / 498.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4099, allocations: 0 / 498.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of Templates: time 0.01312/0.4231, allocations: 7.083 MB / 0.4939 GB, free: 2.73 MB / 366.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)