Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5.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.TestOneFlange5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 103.4 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.002427/0.002427, allocations: 192.6 kB / 16.25 MB, free: 6.621 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.494/1.494, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1629/0.1629, allocations: 8.234 MB / 298.3 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 59.89 kB / 360.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1218, allocations: 51.31 MB / 411.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5): time 0.007887/0.1298, allocations: 4.861 MB / 416.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00505/0.1349, allocations: 2.484 MB / 419.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005349/0.1354, allocations: 19.94 kB / 419.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000628/0.1361, allocations: 203 kB / 419.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007164/0.1368, allocations: 246.8 kB / 419.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.138, allocations: 0.4987 MB / 420.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.1393, allocations: 1.052 MB / 421.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007508/0.1401, allocations: 499.9 kB / 421.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004876/0.1406, allocations: 398.5 kB / 422 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005709/0.1412, allocations: 458 kB / 422.4 MB, free: 288 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.1413, allocations: 108 kB / 422.5 MB, free: 180 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1922/0.3335, allocations: 199.1 kB / 422.7 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.3339, allocations: 255.1 kB / 423 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005284/0.3345, allocations: 478.3 kB / 423.4 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.3359, allocations: 1.24 MB / 424.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.336, allocations: 2.094 kB / 424.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.336, allocations: 0 / 424.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.336, allocations: 0 / 424.7 MB, free: 37.21 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.001838/0.3378, allocations: 1.292 MB / 426 MB, free: 36.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3379, allocations: 15.23 kB / 426 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.3381, allocations: 103.2 kB / 426.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.3387, allocations: 0.603 MB / 426.7 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.3388, allocations: 86.27 kB / 426.8 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.319e-05/0.3389, allocations: 75.52 kB / 426.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.3401, allocations: 0.7222 MB / 427.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.3402, allocations: 0 / 427.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.3403, allocations: 31.59 kB / 427.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.3403, allocations: 13.81 kB / 427.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.3414, allocations: 0.5191 MB / 428.1 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.3445, allocations: 2.655 MB / 430.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008874/0.3455, allocations: 465.7 kB / 431.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003694/0.3458, allocations: 193.9 kB / 431.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.3459, allocations: 3.531 kB / 431.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/0.3465, allocations: 275.4 kB / 431.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.3465, allocations: 6.969 kB / 431.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.001548/0.3481, allocations: 0.7454 MB / 432.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.3481, allocations: 217.9 kB / 432.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008181/0.349, allocations: 0.8067 MB / 433.5 MB, free: 34.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.349, allocations: 36.92 kB / 433.5 MB, free: 34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.3492, allocations: 407.7 kB / 433.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.535e-05/0.3493, allocations: 116.2 kB / 434 MB, free: 33.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.3495, allocations: 103.5 kB / 434.1 MB, free: 33.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.3496, allocations: 385.2 kB / 434.5 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.35, allocations: 186.8 kB / 434.7 MB, free: 33.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.3505, allocations: 321.5 kB / 435 MB, free: 32.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008338/0.3513, allocations: 0.5827 MB / 435.6 MB, free: 32.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3513, allocations: 3.312 kB / 435.6 MB, free: 32.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001204/0.3525, allocations: 0.6896 MB / 436.3 MB, free: 32.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.3526, allocations: 97.94 kB / 436.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.3526, allocations: 3.094 kB / 436.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.3528, allocations: 24.78 kB / 436.4 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.3532, allocations: 109.8 kB / 436.5 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007379/0.3539, allocations: 1.38 MB / 437.9 MB, free: 30.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.3545, allocations: 96.61 kB / 438 MB, free: 30.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.3545, allocations: 22.47 kB / 438 MB, free: 30.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006051/0.3551, allocations: 379.5 kB / 438.4 MB, free: 30.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004072/0.3555, allocations: 294.3 kB / 438.7 MB, free: 30.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007386/0.3563, allocations: 0.5674 MB / 439.2 MB, free: 29.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.3563, allocations: 0 / 439.2 MB, free: 29.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001056/0.3574, allocations: 0.6645 MB / 439.9 MB, free: 29.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.3574, allocations: 93.88 kB / 440 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3574, allocations: 3.625 kB / 440 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.723e-05/0.3575, allocations: 29.31 kB / 440 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.3579, allocations: 104.5 kB / 440.1 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006466/0.3585, allocations: 1.383 MB / 441.5 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.359, allocations: 81.59 kB / 441.6 MB, free: 27.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.3591, allocations: 20.44 kB / 441.6 MB, free: 27.9 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.000186/0.3593, allocations: 278 kB / 441.9 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.3594, allocations: 74.16 kB / 441.9 MB, free: 27.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.3605, allocations: 0.5371 MB / 442.5 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3605, allocations: 3.062 kB / 442.5 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3605, allocations: 3.344 kB / 442.5 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3605, allocations: 3.469 kB / 442.5 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.3623, allocations: 1.313 MB / 443.8 MB, free: 26.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3624, allocations: 0 / 443.8 MB, free: 26.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.3627, allocations: 65.53 kB / 443.9 MB, free: 26.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-05/0.3628, allocations: 29.89 kB / 443.9 MB, free: 26.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.3628, allocations: 10.03 kB / 443.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006748/0.3635, allocations: 1.383 MB / 445.3 MB, free: 25.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3635, allocations: 0 / 445.3 MB, free: 25.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.365, allocations: 0.8377 MB / 446.1 MB, free: 24.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.3652, allocations: 183.2 kB / 446.3 MB, free: 24.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.511e-05/0.3653, allocations: 14.53 kB / 446.3 MB, free: 24.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.3657, allocations: 47.08 kB / 446.4 MB, free: 24.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.3659, allocations: 36.75 kB / 446.4 MB, free: 24.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.3659, allocations: 17.45 kB / 446.4 MB, free: 24.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006889/0.3666, allocations: 0.5705 MB / 447 MB, free: 24.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3666, allocations: 0 / 447 MB, free: 24.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001002/0.3676, allocations: 333.8 kB / 447.3 MB, free: 24.2 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.002435/0.3701, allocations: 0.6438 MB / 448 MB, free: 23.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.3721, allocations: 1.284 MB / 449.2 MB, free: 23.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.3721, allocations: 0 / 449.2 MB, free: 23.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005623/0.3727, allocations: 448 kB / 449.7 MB, free: 22.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/0.3735, allocations: 120.6 kB / 449.8 MB, free: 22.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.3758, allocations: 1.768 MB / 451.6 MB, free: 21.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.3762, allocations: 0.9537 MB / 452.5 MB, free: 20.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000331/0.3765, allocations: 76.84 kB / 452.6 MB, free: 20.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.3767, allocations: 49.84 kB / 452.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3767, allocations: 0 / 452.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of Templates: time 0.01443/0.3911, allocations: 8.894 MB / 461.5 MB, free: 20.21 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5.pipe 2>&1)