Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001321/0.001321, 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.001364/0.001364, allocations: 196.7 kB / 16.26 MB, free: 6.629 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1444/0.1444, allocations: 8.227 MB / 298.3 MB, free: 2.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 75.88 kB / 360.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.09725, allocations: 51.31 MB / 411.8 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5): time 0.006757/0.104, allocations: 4.846 MB / 416.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003943/0.108, allocations: 2.492 MB / 419.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.1083, allocations: 12 kB / 419.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.1089, allocations: 207 kB / 419.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005644/0.1095, allocations: 254.6 kB / 419.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009795/0.1105, allocations: 0.4989 MB / 420.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.1116, allocations: 1.052 MB / 421.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006818/0.1123, allocations: 499.9 kB / 421.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004376/0.1127, allocations: 390.6 kB / 422 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005459/0.1133, allocations: 470 kB / 422.4 MB, free: 252 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.1134, allocations: 108 kB / 422.5 MB, free: 144 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1663/0.2798, allocations: 192.8 kB / 422.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005799/0.2804, allocations: 252.3 kB / 423 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006006/0.281, allocations: 478.9 kB / 423.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.2828, allocations: 1.241 MB / 424.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.2829, allocations: 4.406 kB / 424.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2829, allocations: 1.5 kB / 424.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.2829, allocations: 0 / 424.7 MB, free: 37.22 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.00262/0.2855, allocations: 1.298 MB / 426 MB, free: 36.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.2856, allocations: 13.98 kB / 426 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.2859, allocations: 102.4 kB / 426.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.2869, allocations: 0.5986 MB / 426.7 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.2871, allocations: 84.7 kB / 426.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.2873, allocations: 75.22 kB / 426.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.2892, allocations: 0.7216 MB / 427.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.2892, allocations: 2.938 kB / 427.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/0.2893, allocations: 27.83 kB / 427.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.2894, allocations: 16.06 kB / 427.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.2911, allocations: 0.5128 MB / 428.1 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004785/0.2959, allocations: 2.66 MB / 430.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.2972, allocations: 461.6 kB / 431.2 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005872/0.2978, allocations: 189.4 kB / 431.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.2979, allocations: 3.25 kB / 431.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008633/0.2988, allocations: 280 kB / 431.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 3.015e-06/0.2988, allocations: 0 / 431.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002033/0.3008, allocations: 0.746 MB / 432.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.3009, allocations: 225 kB / 432.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008752/0.3018, allocations: 0.8004 MB / 433.5 MB, free: 34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.3019, allocations: 40.58 kB / 433.5 MB, free: 33.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.3022, allocations: 401.8 kB / 433.9 MB, free: 33.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.3023, allocations: 123.3 kB / 434 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.3025, allocations: 104 kB / 434.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3027, allocations: 386.7 kB / 434.5 MB, free: 33.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/0.3033, allocations: 188.8 kB / 434.7 MB, free: 33.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/0.304, allocations: 310.6 kB / 435 MB, free: 32.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.3052, allocations: 0.5902 MB / 435.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3052, allocations: 0 / 435.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001853/0.3071, allocations: 0.6915 MB / 436.3 MB, free: 32.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/0.3072, allocations: 102.2 kB / 436.4 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3072, allocations: 3.719 kB / 436.4 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.3074, allocations: 24.97 kB / 436.4 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.308, allocations: 108.6 kB / 436.5 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009499/0.309, allocations: 1.38 MB / 437.9 MB, free: 30.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007344/0.3097, allocations: 96.39 kB / 438 MB, free: 30.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.3098, allocations: 23.16 kB / 438 MB, free: 30.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009947/0.3108, allocations: 374.2 kB / 438.4 MB, free: 30.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006527/0.3115, allocations: 304.3 kB / 438.7 MB, free: 30.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001152/0.3127, allocations: 0.5625 MB / 439.2 MB, free: 29.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.789e-06/0.3127, allocations: 0.5469 kB / 439.2 MB, free: 29.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001839/0.3145, allocations: 0.6701 MB / 439.9 MB, free: 29.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.3146, allocations: 91.98 kB / 440 MB, free: 29.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3146, allocations: 10.77 kB / 440 MB, free: 29.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.3147, allocations: 21.8 kB / 440 MB, free: 29.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.3153, allocations: 102 kB / 440.1 MB, free: 29.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009302/0.3163, allocations: 1.382 MB / 441.5 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008123/0.3171, allocations: 78.42 kB / 441.6 MB, free: 27.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.3172, allocations: 19.59 kB / 441.6 MB, free: 27.86 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.0002756/0.3175, allocations: 283.4 kB / 441.9 MB, free: 27.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.3176, allocations: 71.59 kB / 441.9 MB, free: 27.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.3193, allocations: 0.5383 MB / 442.5 MB, free: 27.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3194, allocations: 3.031 kB / 442.5 MB, free: 27.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3194, allocations: 0.875 kB / 442.5 MB, free: 27.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.3194, allocations: 3.516 kB / 442.5 MB, free: 27.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.3222, allocations: 1.314 MB / 443.8 MB, free: 26.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3223, allocations: 1.828 kB / 443.8 MB, free: 26.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/0.3228, allocations: 61.41 kB / 443.9 MB, free: 26.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/0.3229, allocations: 30.98 kB / 443.9 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.323, allocations: 14.28 kB / 443.9 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007351/0.3237, allocations: 1.372 MB / 445.3 MB, free: 25.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.3237, allocations: 0 / 445.3 MB, free: 25.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.326, allocations: 0.8408 MB / 446.1 MB, free: 24.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/0.3264, allocations: 185.5 kB / 446.3 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.3266, allocations: 14.34 kB / 446.3 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006887/0.3273, allocations: 45.77 kB / 446.4 MB, free: 24.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.3274, allocations: 43.38 kB / 446.4 MB, free: 24.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.3275, allocations: 13.22 kB / 446.4 MB, free: 24.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009092/0.3284, allocations: 0.5707 MB / 447 MB, free: 24.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3284, allocations: 0 / 447 MB, free: 24.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001567/0.33, allocations: 334.6 kB / 447.3 MB, free: 24.16 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.003106/0.3331, allocations: 0.6486 MB / 448 MB, free: 23.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002903/0.336, allocations: 1.285 MB / 449.2 MB, free: 23.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3361, allocations: 0 / 449.2 MB, free: 23.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008867/0.337, allocations: 450.2 kB / 449.7 MB, free: 22.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.3382, allocations: 119.8 kB / 449.8 MB, free: 22.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.3414, allocations: 1.762 MB / 451.6 MB, free: 21.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.3419, allocations: 0.952 MB / 452.5 MB, free: 20.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004785/0.3424, allocations: 81.84 kB / 452.6 MB, free: 20.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.3426, allocations: 50.17 kB / 452.6 MB, free: 20.92 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3426, allocations: 0 / 452.6 MB, free: 20.92 MB / 350.1 MB Notification: Performance of Templates: time 0.02095/0.3636, allocations: 8.895 MB / 461.5 MB, free: 20.17 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange5.pipe 2>&1)