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 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_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.0007855/0.0007858, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008826/0.0008827, allocations: 168.7 kB / 15.95 MB, free: 204 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.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1678/0.1678, allocations: 8.022 MB / 299.1 MB, free: 3.309 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003063, allocations: 8 kB / 361.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1007, allocations: 52.19 MB / 414 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.004208/0.105, allocations: 3.692 MB / 417.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.107, allocations: 1.368 MB / 419 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.1073, allocations: 12 kB / 419 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.1076, allocations: 123.3 kB / 419.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.108, allocations: 163 kB / 419.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.1086, allocations: 271 kB / 419.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006666/0.1093, allocations: 0.7713 MB / 420.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004543/0.1097, allocations: 341 kB / 420.7 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.11, allocations: 235 kB / 420.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.1103, allocations: 294.6 kB / 421.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.1104, allocations: 36 kB / 421.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1105, allocations: 56 kB / 421.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.1107, allocations: 143.4 kB / 421.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1108, allocations: 161.3 kB / 421.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006663/0.1115, allocations: 0.8259 MB / 422.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1115, allocations: 0 / 422.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1115, allocations: 4 kB / 422.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1115, allocations: 0 / 422.4 MB, free: 1.543 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.001558/0.1131, allocations: 1.027 MB / 423.5 MB, free: 460 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1131, allocations: 12.03 kB / 423.5 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.1133, allocations: 86.97 kB / 423.6 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1858/0.299, allocations: 491.9 kB / 424 MB, free: 41.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/0.2992, allocations: 54.88 kB / 424.1 MB, free: 41.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.2993, allocations: 76.75 kB / 424.2 MB, free: 41.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.3006, allocations: 0.7099 MB / 424.9 MB, free: 41.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.3007, allocations: 3.531 kB / 424.9 MB, free: 41.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.84e-05/0.3007, allocations: 33.09 kB / 424.9 MB, free: 41.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.3008, allocations: 14.81 kB / 424.9 MB, free: 41.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.3018, allocations: 0.5357 MB / 425.5 MB, free: 41.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.3051, allocations: 2.587 MB / 428 MB, free: 40.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000838/0.3059, allocations: 468 kB / 428.5 MB, free: 40.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.3063, allocations: 189.4 kB / 428.7 MB, free: 40.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.3064, allocations: 14.12 kB / 428.7 MB, free: 40.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005261/0.3069, allocations: 276.2 kB / 429 MB, free: 40.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.3069, allocations: 2.625 kB / 429 MB, free: 40.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001414/0.3083, allocations: 0.7505 MB / 429.7 MB, free: 40.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.3084, allocations: 144.9 kB / 429.9 MB, free: 39.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005024/0.3089, allocations: 0.5665 MB / 430.4 MB, free: 39.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3089, allocations: 39.3 kB / 430.5 MB, free: 39.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.3091, allocations: 355.4 kB / 430.8 MB, free: 39.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.3092, allocations: 108.4 kB / 430.9 MB, free: 39.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.3092, allocations: 12.03 kB / 430.9 MB, free: 39.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.3093, allocations: 362.7 kB / 431.3 MB, free: 39.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.3097, allocations: 170.5 kB / 431.5 MB, free: 39.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.3101, allocations: 274.1 kB / 431.7 MB, free: 39.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/0.3107, allocations: 280 kB / 432 MB, free: 38.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3107, allocations: 0 / 432 MB, free: 38.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00113/0.3118, allocations: 0.6339 MB / 432.6 MB, free: 38.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.312, allocations: 258.9 kB / 432.9 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.312, allocations: 3.188 kB / 432.9 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.3122, allocations: 24.45 kB / 432.9 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.3125, allocations: 98.84 kB / 433 MB, free: 38.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007291/0.3132, allocations: 1.282 MB / 434.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.3136, allocations: 93.7 kB / 434.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.3137, allocations: 20.55 kB / 434.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.682e-06/0.3137, allocations: 13.72 kB / 434.4 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000885/0.3146, allocations: 0.5515 MB / 435 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3146, allocations: 3.922 kB / 435 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.607e-05/0.3147, allocations: 28.95 kB / 435 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.3149, allocations: 87.47 kB / 435.1 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005587/0.3155, allocations: 1.289 MB / 436.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.3158, allocations: 86.69 kB / 436.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.3159, allocations: 12.97 kB / 436.5 MB, free: 35.44 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.0002912/0.3162, allocations: 365.6 kB / 436.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.3162, allocations: 53.72 kB / 436.9 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000903/0.3172, allocations: 0.5407 MB / 437.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3172, allocations: 7.312 kB / 437.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.3172, allocations: 0 / 437.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.3172, allocations: 6.516 kB / 437.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.3187, allocations: 1.212 MB / 438.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3187, allocations: 7.094 kB / 438.7 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.319, allocations: 71.06 kB / 438.7 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.545e-05/0.3191, allocations: 21.47 kB / 438.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.3191, allocations: 11.3 kB / 438.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005903/0.3197, allocations: 1.296 MB / 440 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3197, allocations: 0 / 440 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.321, allocations: 0.8378 MB / 440.9 MB, free: 32.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.3211, allocations: 142.2 kB / 441 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/0.3211, allocations: 10.22 kB / 441 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.3215, allocations: 54.17 kB / 441.1 MB, free: 32.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.3216, allocations: 41.16 kB / 441.1 MB, free: 32.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.3216, allocations: 6.25 kB / 441.1 MB, free: 32.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003814/0.322, allocations: 415.3 kB / 441.5 MB, free: 32.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.322, allocations: 0 / 441.5 MB, free: 32.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000709/0.3227, allocations: 286.4 kB / 441.8 MB, free: 31.95 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.0008874/0.3236, allocations: 357.7 kB / 442.2 MB, free: 31.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.3252, allocations: 1.224 MB / 443.4 MB, free: 31.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3252, allocations: 0 / 443.4 MB, free: 31.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.3257, allocations: 453.5 kB / 443.8 MB, free: 30.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.3263, allocations: 79.45 kB / 443.9 MB, free: 30.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.328, allocations: 1.516 MB / 445.4 MB, free: 29.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.3283, allocations: 0.9066 MB / 446.3 MB, free: 29.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.3286, allocations: 65.3 kB / 446.4 MB, free: 29.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.937e-05/0.3287, allocations: 35.66 kB / 446.4 MB, free: 29 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3287, allocations: 0 / 446.4 MB, free: 29 MB / 350.1 MB Notification: Performance of Templates: time 0.01035/0.339, allocations: 6.462 MB / 452.9 MB, free: 28.45 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)