Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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 main/package.mo", uses=false) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.0009551/0.0009552, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009533/0.0009533, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.1502/0.1502, allocations: 8.608 MB / 299.6 MB, free: 3.203 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003175, allocations: 8 kB / 362.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1054, allocations: 52.33 MB / 414.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.00488/0.1103, allocations: 3.541 MB / 418.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.1127, allocations: 1.373 MB / 419.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003331/0.1131, allocations: 15.94 kB / 419.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.1134, allocations: 119.3 kB / 419.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.1139, allocations: 191.4 kB / 420 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.1145, allocations: 267.2 kB / 420.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005791/0.1151, allocations: 0.5189 MB / 420.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000466/0.1155, allocations: 341 kB / 421.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.1158, allocations: 247 kB / 421.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.1161, allocations: 278.7 kB / 421.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.1162, allocations: 39.94 kB / 421.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.1163, allocations: 55.94 kB / 421.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1165, allocations: 135.5 kB / 421.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.1166, allocations: 165.3 kB / 422 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006587/0.1173, allocations: 0.8337 MB / 422.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.1173, allocations: 0 / 422.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1173, allocations: 0 / 422.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.946e-06/0.1173, allocations: 0 / 422.8 MB, free: 1.082 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.2071/0.3244, allocations: 1.03 MB / 423.8 MB, free: 41.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3245, allocations: 8.719 kB / 423.9 MB, free: 41.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.3248, allocations: 88.75 kB / 423.9 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008014/0.3256, allocations: 498.8 kB / 424.4 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.608e-05/0.3257, allocations: 52.72 kB / 424.5 MB, free: 40.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.3258, allocations: 75.42 kB / 424.6 MB, free: 40.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.3272, allocations: 0.7105 MB / 425.3 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.3272, allocations: 3 kB / 425.3 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.113e-05/0.3273, allocations: 30.98 kB / 425.3 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.3273, allocations: 18.41 kB / 425.3 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.3284, allocations: 0.53 MB / 425.8 MB, free: 40.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003167/0.3316, allocations: 2.598 MB / 428.4 MB, free: 39.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/0.3325, allocations: 473.7 kB / 428.9 MB, free: 39.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.3326, allocations: 7.125 kB / 428.9 MB, free: 39.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005412/0.3331, allocations: 270.6 kB / 429.2 MB, free: 39.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.3331, allocations: 0 / 429.2 MB, free: 39.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001563/0.3347, allocations: 0.833 MB / 430 MB, free: 39.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.3347, allocations: 139.4 kB / 430.1 MB, free: 39.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005999/0.3354, allocations: 0.5744 MB / 430.7 MB, free: 39.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.3354, allocations: 33.89 kB / 430.8 MB, free: 38.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.3356, allocations: 357.6 kB / 431.1 MB, free: 38.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/0.3357, allocations: 111.5 kB / 431.2 MB, free: 38.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.3357, allocations: 10.72 kB / 431.2 MB, free: 38.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.3358, allocations: 367.9 kB / 431.6 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.3362, allocations: 170.9 kB / 431.7 MB, free: 38.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.3366, allocations: 278.7 kB / 432 MB, free: 38.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.337, allocations: 278.2 kB / 432.3 MB, free: 38.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3371, allocations: 0 / 432.3 MB, free: 38.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001248/0.3383, allocations: 0.6313 MB / 432.9 MB, free: 37.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002786/0.3386, allocations: 1.219 MB / 434.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3386, allocations: 5.094 kB / 434.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.3388, allocations: 32.83 kB / 434.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.3391, allocations: 93 kB / 434.3 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007622/0.3399, allocations: 1.298 MB / 435.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.3403, allocations: 92.78 kB / 435.7 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.3404, allocations: 17.92 kB / 435.7 MB, free: 35.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.3404, allocations: 3.875 kB / 435.7 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009033/0.3413, allocations: 0.5575 MB / 436.2 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3413, allocations: 3.062 kB / 436.2 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.751e-05/0.3414, allocations: 27.55 kB / 436.3 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.3417, allocations: 86.75 kB / 436.4 MB, free: 35.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006255/0.3423, allocations: 1.297 MB / 437.6 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.3427, allocations: 92.56 kB / 437.7 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.3427, allocations: 13.03 kB / 437.8 MB, free: 33.7 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 ($whenCondition1,twoFlanges.limTau.state,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003397/0.3431, allocations: 361 kB / 438.1 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.3432, allocations: 56.44 kB / 438.2 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.3442, allocations: 0.5415 MB / 438.7 MB, free: 33.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3442, allocations: 7.141 kB / 438.7 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.3442, allocations: 0 / 438.7 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3442, allocations: 0 / 438.7 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.3458, allocations: 1.227 MB / 439.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3458, allocations: 1.594 kB / 439.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.3461, allocations: 71.2 kB / 440 MB, free: 32.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-05/0.3462, allocations: 21.27 kB / 440 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.3462, allocations: 14.7 kB / 440 MB, free: 32.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005728/0.3468, allocations: 1.292 MB / 441.3 MB, free: 31.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3468, allocations: 2.688 kB / 441.3 MB, free: 31.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.3482, allocations: 0.8445 MB / 442.2 MB, free: 30.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3483, allocations: 139.9 kB / 442.3 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.3483, allocations: 10.09 kB / 442.3 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.3487, allocations: 55.53 kB / 442.4 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.3488, allocations: 36.91 kB / 442.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.3488, allocations: 10.25 kB / 442.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003873/0.3492, allocations: 418.1 kB / 442.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3492, allocations: 0 / 442.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007421/0.35, allocations: 286.2 kB / 443.1 MB, free: 30.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,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008491/0.3509, allocations: 364.8 kB / 443.5 MB, free: 30.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.3525, allocations: 1.226 MB / 444.7 MB, free: 29.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3526, allocations: 0 / 444.7 MB, free: 29.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005616/0.3531, allocations: 449.2 kB / 445.1 MB, free: 28.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.3536, allocations: 80.69 kB / 445.2 MB, free: 28.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.3555, allocations: 1.51 MB / 446.7 MB, free: 28.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.3559, allocations: 0.9147 MB / 447.6 MB, free: 27.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.3561, allocations: 65.14 kB / 447.7 MB, free: 27.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.3562, allocations: 37.81 kB / 447.7 MB, free: 27.26 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3563, allocations: 2.062 kB / 447.7 MB, free: 27.26 MB / 350.1 MB Notification: Performance of Templates: time 0.01047/0.3667, allocations: 6.509 MB / 454.3 MB, free: 26.7 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)