Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 107.3 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.001381/0.001381, allocations: 190.8 kB / 16.25 MB, free: 6.152 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.53/1.53, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1516/0.1516, allocations: 8.233 MB / 298.3 MB, free: 2.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001888, allocations: 67.89 kB / 360.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1207, allocations: 51.31 MB / 411.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.00746/0.1282, allocations: 4.849 MB / 416.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005406/0.1337, allocations: 2.496 MB / 419.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007649/0.1344, allocations: 19.94 kB / 419.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007538/0.1353, allocations: 199 kB / 419.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008953/0.1362, allocations: 250.8 kB / 419.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.1375, allocations: 0.4986 MB / 420.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.1388, allocations: 1.041 MB / 421.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000812/0.1396, allocations: 0.492 MB / 421.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000649/0.1403, allocations: 398.5 kB / 422 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006691/0.141, allocations: 461.8 kB / 422.4 MB, free: 200 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.1411, allocations: 108 kB / 422.5 MB, free: 92 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1946/0.3357, allocations: 205 kB / 422.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003821/0.3362, allocations: 250.3 kB / 423 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000561/0.3367, allocations: 481.2 kB / 423.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.3381, allocations: 1.244 MB / 424.7 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3382, allocations: 1.406 kB / 424.7 MB, free: 37.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3382, allocations: 0 / 424.7 MB, free: 37.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.3382, allocations: 0 / 424.7 MB, free: 37.06 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001859/0.3401, allocations: 1.293 MB / 426 MB, free: 36.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3401, allocations: 15.77 kB / 426 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.3403, allocations: 104.6 kB / 426.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005935/0.3409, allocations: 0.5946 MB / 426.7 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.341, allocations: 81.48 kB / 426.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.3411, allocations: 73.25 kB / 426.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.3423, allocations: 0.7236 MB / 427.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.3423, allocations: 8.219 kB / 427.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.3424, allocations: 25 kB / 427.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.3424, allocations: 16.16 kB / 427.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.3435, allocations: 0.515 MB / 428.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002941/0.3464, allocations: 2.658 MB / 430.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.3473, allocations: 456.1 kB / 431.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/0.3477, allocations: 190.3 kB / 431.4 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.3478, allocations: 7.047 kB / 431.4 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000596/0.3484, allocations: 278.7 kB / 431.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.3484, allocations: 0 / 431.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.001512/0.3499, allocations: 0.7471 MB / 432.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.35, allocations: 219.2 kB / 432.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008044/0.3508, allocations: 0.8002 MB / 433.5 MB, free: 33.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.3508, allocations: 32.95 kB / 433.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.3511, allocations: 407.4 kB / 433.9 MB, free: 33.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.3512, allocations: 124.2 kB / 434 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.3513, allocations: 104.6 kB / 434.1 MB, free: 33.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.623e-05/0.3514, allocations: 379.4 kB / 434.5 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.3518, allocations: 189.3 kB / 434.7 MB, free: 32.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.3523, allocations: 314.8 kB / 435 MB, free: 32.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/0.353, allocations: 0.5828 MB / 435.6 MB, free: 32.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3531, allocations: 0 / 435.6 MB, free: 32.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001108/0.3542, allocations: 0.6964 MB / 436.3 MB, free: 32.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.3542, allocations: 97.86 kB / 436.4 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3543, allocations: 3.844 kB / 436.4 MB, free: 31.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.3544, allocations: 22.02 kB / 436.4 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.3548, allocations: 105.7 kB / 436.5 MB, free: 31.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007536/0.3555, allocations: 1.373 MB / 437.9 MB, free: 30.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.3561, allocations: 99.17 kB / 438 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.3561, allocations: 20.09 kB / 438 MB, free: 30.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006189/0.3567, allocations: 375.1 kB / 438.3 MB, free: 30.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003967/0.3572, allocations: 303.2 kB / 438.6 MB, free: 30.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007269/0.3579, allocations: 0.5609 MB / 439.2 MB, free: 29.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.3579, allocations: 0 / 439.2 MB, free: 29.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001031/0.3589, allocations: 0.6599 MB / 439.9 MB, free: 29.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.359, allocations: 94.45 kB / 439.9 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.359, allocations: 7.5 kB / 440 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.578e-05/0.3591, allocations: 28.7 kB / 440 MB, free: 29.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.3594, allocations: 101.8 kB / 440.1 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006291/0.3601, allocations: 1.393 MB / 441.5 MB, free: 27.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.3606, allocations: 76.06 kB / 441.6 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.3606, allocations: 19.62 kB / 441.6 MB, free: 27.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: 8 (oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 55 * 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.0001792/0.3608, allocations: 278.6 kB / 441.8 MB, free: 27.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.3609, allocations: 70.09 kB / 441.9 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.3619, allocations: 0.5317 MB / 442.4 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3619, allocations: 5.906 kB / 442.4 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3619, allocations: 0 / 442.4 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.3619, allocations: 0 / 442.4 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.3637, allocations: 1.321 MB / 443.8 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3637, allocations: 0 / 443.8 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.364, allocations: 66.86 kB / 443.8 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.697e-05/0.3641, allocations: 27.36 kB / 443.9 MB, free: 26.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.3641, allocations: 13.89 kB / 443.9 MB, free: 26.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005889/0.3647, allocations: 1.373 MB / 445.2 MB, free: 25.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3647, allocations: 3.281 kB / 445.3 MB, free: 25.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.366, allocations: 0.8399 MB / 446.1 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.3662, allocations: 184.9 kB / 446.3 MB, free: 24.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.3663, allocations: 10.06 kB / 446.3 MB, free: 24.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.3667, allocations: 50.53 kB / 446.3 MB, free: 24.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.519e-05/0.3668, allocations: 37.92 kB / 446.4 MB, free: 24.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.3668, allocations: 17.39 kB / 446.4 MB, free: 24.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005314/0.3674, allocations: 0.5659 MB / 447 MB, free: 24.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3674, allocations: 0 / 447 MB, free: 24.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008358/0.3682, allocations: 331.7 kB / 447.3 MB, free: 24.08 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.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,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 (34): * Single equations (assignments): 29 * 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.002282/0.3705, allocations: 0.6483 MB / 447.9 MB, free: 23.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.3724, allocations: 1.282 MB / 449.2 MB, free: 23.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3724, allocations: 3.281 kB / 449.2 MB, free: 23.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.3729, allocations: 440.9 kB / 449.6 MB, free: 22.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006508/0.3736, allocations: 113.1 kB / 449.7 MB, free: 22.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.3755, allocations: 1.77 MB / 451.5 MB, free: 21.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3759, allocations: 0.9493 MB / 452.5 MB, free: 20.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002911/0.3762, allocations: 84.62 kB / 452.6 MB, free: 20.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.3763, allocations: 53.72 kB / 452.6 MB, free: 20.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3763, allocations: 0 / 452.6 MB, free: 20.84 MB / 350.1 MB Notification: Performance of Templates: time 0.01386/0.3902, allocations: 8.887 MB / 461.5 MB, free: 20.09 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1)