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.00141/0.00141, allocations: 108 kB / 15.58 MB, free: 184 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.001724/0.001724, allocations: 192.3 kB / 16.5 MB, free: 6.699 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1808/0.1808, allocations: 8.023 MB / 298.4 MB, free: 2.43 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 55.91 kB / 360.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1303, allocations: 51.19 MB / 411.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005878/0.1362, allocations: 4.107 MB / 415.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1385, allocations: 1.415 MB / 417.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.1388, allocations: 11.94 kB / 417.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.1392, allocations: 146.9 kB / 417.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.1397, allocations: 210.5 kB / 417.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.1403, allocations: 367 kB / 418 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007249/0.1411, allocations: 0.8413 MB / 418.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005487/0.1416, allocations: 458.7 kB / 419.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.1419, allocations: 314.9 kB / 419.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.1423, allocations: 354.4 kB / 419.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.1424, allocations: 99.94 kB / 420 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.1426, allocations: 116 kB / 420.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.1428, allocations: 207.4 kB / 420.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.1431, allocations: 394.1 kB / 420.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008531/0.144, allocations: 0.997 MB / 421.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.144, allocations: 3.984 kB / 421.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.144, allocations: 4 kB / 421.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.144, allocations: 3.938 kB / 421.7 MB, free: 1.004 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.2088/0.3529, allocations: 1.092 MB / 422.8 MB, free: 44.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.3529, allocations: 9.781 kB / 422.8 MB, free: 44.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.3532, allocations: 79.06 kB / 422.9 MB, free: 44.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000832/0.354, allocations: 499.2 kB / 423.4 MB, free: 44.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.3541, allocations: 47.2 kB / 423.5 MB, free: 44.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.3542, allocations: 66 kB / 423.5 MB, free: 44.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.3555, allocations: 0.649 MB / 424.2 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.3555, allocations: 8.031 kB / 424.2 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/0.3556, allocations: 26.75 kB / 424.2 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.3556, allocations: 17.95 kB / 424.2 MB, free: 44.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009636/0.3566, allocations: 479.6 kB / 424.7 MB, free: 44.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/0.3604, allocations: 2.509 MB / 427.2 MB, free: 42.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00083/0.3613, allocations: 419.4 kB / 427.6 MB, free: 42.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.3616, allocations: 169 kB / 427.8 MB, free: 42.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.3617, allocations: 3.578 kB / 427.8 MB, free: 42.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005844/0.3623, allocations: 267.5 kB / 428 MB, free: 42.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.755e-06/0.3623, allocations: 0 / 428 MB, free: 42.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001433/0.3637, allocations: 0.6736 MB / 428.7 MB, free: 42.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.3638, allocations: 137.8 kB / 428.8 MB, free: 41.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.3643, allocations: 0.5599 MB / 429.4 MB, free: 41.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.3644, allocations: 32.83 kB / 429.4 MB, free: 41.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.3646, allocations: 329.4 kB / 429.8 MB, free: 41.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.873e-05/0.3647, allocations: 119 kB / 429.9 MB, free: 41.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.3648, allocations: 77.64 kB / 429.9 MB, free: 41.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.3649, allocations: 360.1 kB / 430.3 MB, free: 40.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.3653, allocations: 160.7 kB / 430.5 MB, free: 40.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.3656, allocations: 251.2 kB / 430.7 MB, free: 40.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007278/0.3664, allocations: 0.5377 MB / 431.2 MB, free: 40.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3664, allocations: 0 / 431.2 MB, free: 40.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009732/0.3674, allocations: 0.5933 MB / 431.8 MB, free: 40.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.3674, allocations: 94.59 kB / 431.9 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3674, allocations: 3.188 kB / 431.9 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.3676, allocations: 21.02 kB / 431.9 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.3679, allocations: 82.31 kB / 432 MB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007284/0.3686, allocations: 1.386 MB / 433.4 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.369, allocations: 77.48 kB / 433.5 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.3691, allocations: 25.67 kB / 433.5 MB, free: 38.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000443/0.3695, allocations: 308.1 kB / 433.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003293/0.3699, allocations: 246.4 kB / 434.1 MB, free: 38.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006657/0.3706, allocations: 0.509 MB / 434.6 MB, free: 37.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.3706, allocations: 3.25 kB / 434.6 MB, free: 37.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008849/0.3715, allocations: 0.559 MB / 435.1 MB, free: 37.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.3715, allocations: 95.03 kB / 435.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3715, allocations: 3.312 kB / 435.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-05/0.3716, allocations: 25.45 kB / 435.2 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.3719, allocations: 82.81 kB / 435.3 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005921/0.3725, allocations: 1.381 MB / 436.7 MB, free: 35.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.3728, allocations: 66.45 kB / 436.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.3729, allocations: 20.38 kB / 436.8 MB, free: 35.91 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.000142/0.373, allocations: 266.8 kB / 437.1 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.3731, allocations: 51.38 kB / 437.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008945/0.374, allocations: 0.491 MB / 437.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.374, allocations: 3.281 kB / 437.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.374, allocations: 0 / 437.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.374, allocations: 3.422 kB / 437.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.3754, allocations: 1.131 MB / 438.7 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3755, allocations: 0 / 438.7 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.3757, allocations: 61.55 kB / 438.8 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.077e-05/0.3758, allocations: 29.08 kB / 438.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.3759, allocations: 7.188 kB / 438.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005773/0.3764, allocations: 1.379 MB / 440.2 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3764, allocations: 3.828 kB / 440.2 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.3777, allocations: 0.7633 MB / 441 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.279e-05/0.3778, allocations: 133.8 kB / 441.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.3778, allocations: 10.97 kB / 441.1 MB, free: 32.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.3782, allocations: 48.09 kB / 441.2 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3783, allocations: 31.03 kB / 441.2 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.3783, allocations: 6.5 kB / 441.2 MB, free: 32.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003491/0.3787, allocations: 411.6 kB / 441.6 MB, free: 32.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3787, allocations: 0 / 441.6 MB, free: 32.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006698/0.3794, allocations: 267.5 kB / 441.9 MB, free: 32.48 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.0007889/0.3802, allocations: 370.2 kB / 442.2 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.3818, allocations: 1.179 MB / 443.4 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3818, allocations: 3.188 kB / 443.4 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.3824, allocations: 425.4 kB / 443.8 MB, free: 31.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.3829, allocations: 97.22 kB / 443.9 MB, free: 31.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.3846, allocations: 1.191 MB / 445.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3849, allocations: 0.8928 MB / 446 MB, free: 29.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.3852, allocations: 59.25 kB / 446.1 MB, free: 29.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.3853, allocations: 36.06 kB / 446.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of SimCode: time 1.583e-06/0.3853, allocations: 0 / 446.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of Templates: time 0.01177/0.397, allocations: 6.998 MB / 453.1 MB, free: 29.22 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)