Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.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.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001844/0.001844, allocations: 196.2 kB / 16.14 MB, free: 6.711 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.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1799/0.1799, allocations: 8.33 MB / 298.3 MB, free: 2.305 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.89 kB / 360.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1036, allocations: 51.26 MB / 411.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005823/0.1094, allocations: 4.309 MB / 415.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.112, allocations: 1.446 MB / 417.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004662/0.1125, allocations: 12 kB / 417.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.113, allocations: 127.2 kB / 417.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006134/0.1136, allocations: 167 kB / 417.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008125/0.1144, allocations: 367.2 kB / 418 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009917/0.1154, allocations: 0.8064 MB / 418.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006091/0.1161, allocations: 415.2 kB / 419.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.1165, allocations: 294.8 kB / 419.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.117, allocations: 358.3 kB / 419.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.1171, allocations: 52 kB / 419.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1173, allocations: 80 kB / 420 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.1175, allocations: 167.4 kB / 420.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.118, allocations: 386 kB / 420.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009498/0.1189, allocations: 1.028 MB / 421.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1189, allocations: 0 / 421.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1189, allocations: 0 / 421.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.948e-05/0.119, allocations: 0 / 421.5 MB, free: 1.117 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.1744/0.2934, allocations: 1.147 MB / 422.7 MB, free: 44.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.2935, allocations: 8.875 kB / 422.7 MB, free: 44.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.2937, allocations: 86.91 kB / 422.8 MB, free: 44.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007509/0.2945, allocations: 0.5028 MB / 423.3 MB, free: 43.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.439e-05/0.2945, allocations: 54.12 kB / 423.3 MB, free: 43.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.2947, allocations: 73.69 kB / 423.4 MB, free: 43.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.2961, allocations: 0.706 MB / 424.1 MB, free: 43.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.2961, allocations: 4.625 kB / 424.1 MB, free: 43.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/0.2962, allocations: 29.81 kB / 424.1 MB, free: 43.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.2962, allocations: 17.28 kB / 424.2 MB, free: 43.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.2973, allocations: 0.506 MB / 424.7 MB, free: 43.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/0.3006, allocations: 2.559 MB / 427.2 MB, free: 42.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009185/0.3016, allocations: 437.3 kB / 427.7 MB, free: 42.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/0.302, allocations: 178.7 kB / 427.8 MB, free: 42.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.302, allocations: 6.641 kB / 427.8 MB, free: 42.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006092/0.3026, allocations: 261.1 kB / 428.1 MB, free: 42.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.225e-06/0.3026, allocations: 1.641 kB / 428.1 MB, free: 42.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001547/0.3042, allocations: 0.7151 MB / 428.8 MB, free: 41.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.3043, allocations: 139.1 kB / 428.9 MB, free: 41.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006229/0.3049, allocations: 0.5657 MB / 429.5 MB, free: 41.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.3049, allocations: 39.88 kB / 429.5 MB, free: 41.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.3051, allocations: 356 kB / 429.9 MB, free: 41.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.3052, allocations: 110.9 kB / 430 MB, free: 41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.3053, allocations: 77.2 kB / 430.1 MB, free: 40.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.3054, allocations: 364.7 kB / 430.4 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.3058, allocations: 163.5 kB / 430.6 MB, free: 40.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.3062, allocations: 265.6 kB / 430.9 MB, free: 40.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007628/0.307, allocations: 0.5462 MB / 431.4 MB, free: 40 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.307, allocations: 0 / 431.4 MB, free: 40 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001063/0.3081, allocations: 0.6069 MB / 432 MB, free: 39.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.3081, allocations: 93.77 kB / 432.1 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3082, allocations: 5.734 kB / 432.1 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.3083, allocations: 32.08 kB / 432.1 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.3087, allocations: 74.64 kB / 432.2 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007376/0.3094, allocations: 1.294 MB / 433.5 MB, free: 38.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.3099, allocations: 70.66 kB / 433.6 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.3099, allocations: 22.56 kB / 433.6 MB, free: 38.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004986/0.3104, allocations: 328.9 kB / 433.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003663/0.3108, allocations: 245.8 kB / 434.2 MB, free: 37.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007095/0.3115, allocations: 0.5298 MB / 434.7 MB, free: 37.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.3115, allocations: 0 / 434.7 MB, free: 37.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009721/0.3125, allocations: 0.5744 MB / 435.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.3125, allocations: 94 kB / 435.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3126, allocations: 3 kB / 435.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.491e-05/0.3126, allocations: 25.83 kB / 435.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.3129, allocations: 81.86 kB / 435.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000599/0.3135, allocations: 1.295 MB / 436.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.314, allocations: 64.62 kB / 436.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.314, allocations: 22.61 kB / 436.8 MB, free: 35.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: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0001451/0.3141, allocations: 270.4 kB / 437.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.3142, allocations: 52.28 kB / 437.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009871/0.3152, allocations: 0.5112 MB / 437.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3152, allocations: 3.312 kB / 437.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3152, allocations: 3.25 kB / 437.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3152, allocations: 3.828 kB / 437.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.3168, allocations: 1.188 MB / 438.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3168, allocations: 0 / 438.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.3171, allocations: 59.8 kB / 438.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.402e-05/0.3172, allocations: 26.56 kB / 438.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.3173, allocations: 10.5 kB / 439 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005671/0.3178, allocations: 1.291 MB / 440.2 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3178, allocations: 0 / 440.2 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.3192, allocations: 0.7786 MB / 441 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.3193, allocations: 143.1 kB / 441.2 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.787e-05/0.3194, allocations: 10.69 kB / 441.2 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.3198, allocations: 40.14 kB / 441.2 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.3199, allocations: 34.45 kB / 441.3 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.3199, allocations: 10.56 kB / 441.3 MB, free: 32.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003844/0.3203, allocations: 416.1 kB / 441.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3203, allocations: 0 / 441.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007111/0.321, allocations: 289 kB / 441.9 MB, free: 32.38 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * 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.0007721/0.3218, allocations: 365.6 kB / 442.3 MB, free: 32.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.3235, allocations: 1.199 MB / 443.5 MB, free: 31.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3235, allocations: 0 / 443.5 MB, free: 31.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005891/0.3241, allocations: 439.2 kB / 443.9 MB, free: 31.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/0.3247, allocations: 90.47 kB / 444 MB, free: 31.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.3266, allocations: 1.513 MB / 445.5 MB, free: 30.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.3269, allocations: 0.9059 MB / 446.4 MB, free: 29.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002273/0.3272, allocations: 54.17 kB / 446.5 MB, free: 29.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.3273, allocations: 36.2 kB / 446.5 MB, free: 29.38 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3273, allocations: 3 kB / 446.5 MB, free: 29.38 MB / 350.1 MB Notification: Performance of Templates: time 0.01018/0.3375, allocations: 6.701 MB / 453.2 MB, free: 28.81 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)