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.001061/0.001061, allocations: 108 kB / 15.59 MB, free: 180 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 194.8 kB / 16.51 MB, free: 6.719 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1602/0.1602, allocations: 8.02 MB / 298.4 MB, free: 2.383 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001133, allocations: 63.91 kB / 360.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1078, allocations: 51.19 MB / 411.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005799/0.1136, allocations: 4.286 MB / 416 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.1161, allocations: 1.461 MB / 417.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002895/0.1164, allocations: 15.94 kB / 417.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.1168, allocations: 154.8 kB / 417.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006074/0.1175, allocations: 206.4 kB / 417.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008215/0.1183, allocations: 398.9 kB / 418.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000946/0.1193, allocations: 0.8923 MB / 419.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000745/0.12, allocations: 480 kB / 419.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004002/0.1204, allocations: 342.8 kB / 420 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.1208, allocations: 386.4 kB / 420.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.121, allocations: 100 kB / 420.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.1212, allocations: 131.9 kB / 420.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.1214, allocations: 215.4 kB / 420.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.1218, allocations: 429.9 kB / 421.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009086/0.1227, allocations: 1.063 MB / 422.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1227, allocations: 0 / 422.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1227, allocations: 0 / 422.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1227, allocations: 0 / 422.3 MB, free: 0.5352 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.1825/0.3052, allocations: 1.143 MB / 423.4 MB, free: 44.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3052, allocations: 10.5 kB / 423.4 MB, free: 44.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.3054, allocations: 87.22 kB / 423.5 MB, free: 44.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.306, allocations: 0.4988 MB / 424 MB, free: 43.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/0.306, allocations: 50.66 kB / 424 MB, free: 43.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.381e-05/0.3061, allocations: 80.62 kB / 424.1 MB, free: 43.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.3072, allocations: 0.7043 MB / 424.8 MB, free: 43.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.3073, allocations: 0.5156 kB / 424.8 MB, free: 43.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.3073, allocations: 33.97 kB / 424.9 MB, free: 43.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.3074, allocations: 18.16 kB / 424.9 MB, free: 43.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000987/0.3083, allocations: 0.5024 MB / 425.4 MB, free: 43.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/0.3112, allocations: 2.56 MB / 427.9 MB, free: 42.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/0.312, allocations: 435 kB / 428.4 MB, free: 42.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.3124, allocations: 181.5 kB / 428.5 MB, free: 42.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.3124, allocations: 7.688 kB / 428.6 MB, free: 42.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000503/0.3129, allocations: 259.5 kB / 428.8 MB, free: 42.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.433e-06/0.3129, allocations: 0 / 428.8 MB, free: 42.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001388/0.3143, allocations: 0.719 MB / 429.5 MB, free: 41.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3144, allocations: 140.8 kB / 429.7 MB, free: 41.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.3149, allocations: 0.5697 MB / 430.2 MB, free: 41.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.3149, allocations: 36.86 kB / 430.3 MB, free: 41.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.3151, allocations: 348.3 kB / 430.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.3152, allocations: 119.8 kB / 430.7 MB, free: 40.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3153, allocations: 81.14 kB / 430.8 MB, free: 40.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.3154, allocations: 361.4 kB / 431.2 MB, free: 40.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.3157, allocations: 163.2 kB / 431.3 MB, free: 40.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.3161, allocations: 263.2 kB / 431.6 MB, free: 40.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000739/0.3169, allocations: 0.5465 MB / 432.1 MB, free: 39.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3169, allocations: 5.031 kB / 432.1 MB, free: 39.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009809/0.3179, allocations: 0.6019 MB / 432.7 MB, free: 39.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.3179, allocations: 94.03 kB / 432.8 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.318, allocations: 6.219 kB / 432.8 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001382/0.3181, allocations: 28.86 kB / 432.9 MB, free: 39.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.3184, allocations: 81.59 kB / 432.9 MB, free: 39.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006982/0.3191, allocations: 1.384 MB / 434.3 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.3195, allocations: 81.38 kB / 434.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.3196, allocations: 23.16 kB / 434.4 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004986/0.3201, allocations: 318.6 kB / 434.7 MB, free: 37.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003612/0.3204, allocations: 250.9 kB / 435 MB, free: 37.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006606/0.3211, allocations: 0.5339 MB / 435.5 MB, free: 37.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.3211, allocations: 0 / 435.5 MB, free: 37.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009029/0.322, allocations: 0.5705 MB / 436.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.3221, allocations: 90.33 kB / 436.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.3221, allocations: 4.719 kB / 436.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.253e-05/0.3222, allocations: 33.38 kB / 436.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.3224, allocations: 83.27 kB / 436.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000615/0.3231, allocations: 1.386 MB / 437.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.3235, allocations: 58.64 kB / 437.7 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.3235, allocations: 24.33 kB / 437.8 MB, free: 35.4 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.0001344/0.3236, allocations: 270.2 kB / 438 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.3237, allocations: 58.5 kB / 438.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009633/0.3247, allocations: 0.5076 MB / 438.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3247, allocations: 2.875 kB / 438.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.3247, allocations: 0 / 438.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3247, allocations: 7.359 kB / 438.6 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.3262, allocations: 1.181 MB / 439.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3262, allocations: 3.828 kB / 439.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.3265, allocations: 62.86 kB / 439.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.745e-05/0.3266, allocations: 18.7 kB / 439.9 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.3266, allocations: 14.73 kB / 439.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000581/0.3272, allocations: 1.39 MB / 441.3 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3272, allocations: 0 / 441.3 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.3285, allocations: 0.7923 MB / 442.1 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3286, allocations: 138 kB / 442.2 MB, free: 32.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.3287, allocations: 6.656 kB / 442.2 MB, free: 32.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.329, allocations: 50.11 kB / 442.2 MB, free: 32.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.3291, allocations: 35.69 kB / 442.3 MB, free: 32.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.3292, allocations: 12.97 kB / 442.3 MB, free: 32.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003692/0.3295, allocations: 414.8 kB / 442.7 MB, free: 31.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3295, allocations: 0 / 442.7 MB, free: 31.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007252/0.3303, allocations: 282.8 kB / 443 MB, free: 31.91 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.0008254/0.3311, allocations: 363.5 kB / 443.3 MB, free: 31.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.3327, allocations: 1.198 MB / 444.5 MB, free: 30.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3327, allocations: 4.062 kB / 444.5 MB, free: 30.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.3333, allocations: 443.9 kB / 445 MB, free: 30.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.3337, allocations: 88 kB / 445 MB, free: 30.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.3354, allocations: 1.243 MB / 446.3 MB, free: 29.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.3358, allocations: 0.9053 MB / 447.2 MB, free: 29.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.336, allocations: 65.59 kB / 447.3 MB, free: 29.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.3361, allocations: 43.34 kB / 447.3 MB, free: 29.18 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3361, allocations: 0 / 447.3 MB, free: 29.18 MB / 350.1 MB Notification: Performance of Templates: time 0.0136/0.3497, allocations: 7.215 MB / 454.5 MB, free: 28.59 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)