Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009719/0.000972, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007395/0.007395, allocations: 176.2 kB / 16.27 MB, free: 6.613 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1541/0.1541, allocations: 7.668 MB / 299.1 MB, free: 3.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004579, allocations: 8 kB / 362 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1178, allocations: 52.16 MB / 414.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange1): time 0.00594/0.1238, allocations: 4.397 MB / 418.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.1271, allocations: 1.901 MB / 420.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.1274, allocations: 15.94 kB / 420.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.1278, allocations: 203.1 kB / 420.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005312/0.1284, allocations: 238.7 kB / 420.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000945/0.1293, allocations: 0.4906 MB / 421.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.1304, allocations: 0.939 MB / 422.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006711/0.1311, allocations: 439.1 kB / 422.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.1314, allocations: 282.6 kB / 423 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004638/0.1319, allocations: 354.2 kB / 423.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.449e-05/0.132, allocations: 32 kB / 423.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.1323, allocations: 115.9 kB / 423.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.1325, allocations: 171.2 kB / 423.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003785/0.1329, allocations: 407.3 kB / 424.1 MB, free: 136 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1689/0.3018, allocations: 1.105 MB / 425.2 MB, free: 35.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3018, allocations: 0 / 425.2 MB, free: 35.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3019, allocations: 0 / 425.2 MB, free: 35.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3019, allocations: 1.125 kB / 425.2 MB, free: 35.55 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001906/0.3038, allocations: 1.136 MB / 426.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3038, allocations: 8.312 kB / 426.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.3041, allocations: 102.6 kB / 426.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009383/0.3051, allocations: 0.5846 MB / 427 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/0.3051, allocations: 52.91 kB / 427.1 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.3053, allocations: 70.88 kB / 427.1 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.3072, allocations: 0.7091 MB / 427.9 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.3073, allocations: 5.781 kB / 427.9 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.813e-05/0.3074, allocations: 30.19 kB / 427.9 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.3074, allocations: 15.97 kB / 427.9 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.3093, allocations: 0.5351 MB / 428.4 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005043/0.3144, allocations: 2.641 MB / 431.1 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.3159, allocations: 488.6 kB / 431.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.3165, allocations: 193.3 kB / 431.7 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.999e-05/0.3166, allocations: 13.31 kB / 431.8 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009032/0.3175, allocations: 289.4 kB / 432 MB, free: 33.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 3.176e-06/0.3176, allocations: 0 / 432 MB, free: 33.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002578/0.3202, allocations: 0.7909 MB / 432.8 MB, free: 32.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.3202, allocations: 142.4 kB / 433 MB, free: 32.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.3216, allocations: 0.782 MB / 433.8 MB, free: 32.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.3217, allocations: 35.27 kB / 433.8 MB, free: 32.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.322, allocations: 406.9 kB / 434.2 MB, free: 32.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.3222, allocations: 114.3 kB / 434.3 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3223, allocations: 53.12 kB / 434.3 MB, free: 32.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3224, allocations: 383 kB / 434.7 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007098/0.3231, allocations: 185.2 kB / 434.9 MB, free: 32.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007763/0.3239, allocations: 293.5 kB / 435.2 MB, free: 31.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.3255, allocations: 0.6076 MB / 435.8 MB, free: 31.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3255, allocations: 4 kB / 435.8 MB, free: 31.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001927/0.3274, allocations: 0.6799 MB / 436.5 MB, free: 31.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.898e-05/0.3275, allocations: 269.7 kB / 436.7 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3276, allocations: 3.219 kB / 436.7 MB, free: 31.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.3277, allocations: 27.02 kB / 436.8 MB, free: 31.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.3282, allocations: 110.1 kB / 436.9 MB, free: 31.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007302/0.329, allocations: 1.283 MB / 438.2 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.3295, allocations: 93.03 kB / 438.3 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.3295, allocations: 22.55 kB / 438.3 MB, free: 29.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.3296, allocations: 7.094 kB / 438.3 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001747/0.3313, allocations: 0.5811 MB / 438.9 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3314, allocations: 3.5 kB / 438.9 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001126/0.3315, allocations: 31.14 kB / 438.9 MB, free: 29.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/0.3321, allocations: 95.66 kB / 439 MB, free: 29.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006081/0.3327, allocations: 1.289 MB / 440.3 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/0.3332, allocations: 83.06 kB / 440.4 MB, free: 28.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.3333, allocations: 21.88 kB / 440.4 MB, free: 28.46 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 (oneFlange.limTau.state,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 (53): * Single equations (assignments): 49 * 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.0004594/0.3337, allocations: 390.9 kB / 440.8 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.3338, allocations: 70.28 kB / 440.8 MB, free: 28.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.3355, allocations: 0.566 MB / 441.4 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/0.3356, allocations: 8.984 kB / 441.4 MB, free: 28.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3356, allocations: 0 / 441.4 MB, free: 28.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.3356, allocations: 3.516 kB / 441.4 MB, free: 28.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.3382, allocations: 1.296 MB / 442.7 MB, free: 27.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3382, allocations: 0 / 442.7 MB, free: 27.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/0.3388, allocations: 78.03 kB / 442.8 MB, free: 27.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.3389, allocations: 25.03 kB / 442.8 MB, free: 27.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.339, allocations: 13.7 kB / 442.8 MB, free: 27.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008172/0.3398, allocations: 1.276 MB / 444.1 MB, free: 26.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3398, allocations: 3.25 kB / 444.1 MB, free: 26.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.3423, allocations: 0.8698 MB / 445 MB, free: 26.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.3426, allocations: 194 kB / 445.2 MB, free: 25.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.3427, allocations: 7.156 kB / 445.2 MB, free: 25.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006053/0.3433, allocations: 63.39 kB / 445.2 MB, free: 25.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.3435, allocations: 38 kB / 445.3 MB, free: 25.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/0.3435, allocations: 14.14 kB / 445.3 MB, free: 25.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009213/0.3445, allocations: 0.5497 MB / 445.8 MB, free: 25.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3445, allocations: 4 kB / 445.8 MB, free: 25.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001286/0.3458, allocations: 307 kB / 446.1 MB, free: 25.54 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: 4 ($whenCondition1,tauRef.T_start,tauRef.count,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 (33): * Single equations (assignments): 28 * 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.002957/0.3487, allocations: 0.6069 MB / 446.7 MB, free: 25.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.3507, allocations: 1.27 MB / 448 MB, free: 24.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3507, allocations: 0 / 448 MB, free: 24.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.3514, allocations: 454.7 kB / 448.5 MB, free: 24.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008015/0.3522, allocations: 115 kB / 448.6 MB, free: 24.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.3545, allocations: 1.812 MB / 450.4 MB, free: 23.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3548, allocations: 0.95 MB / 451.3 MB, free: 22.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003856/0.3552, allocations: 86.94 kB / 451.4 MB, free: 22.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.3554, allocations: 45.5 kB / 451.5 MB, free: 22.34 MB / 350.1 MB Notification: Performance of SimCode: time 5.1e-07/0.3554, allocations: 0 / 451.5 MB, free: 22.34 MB / 350.1 MB Notification: Performance of Templates: time 0.01324/0.3686, allocations: 7.728 MB / 459.2 MB, free: 21.7 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange1.pipe 2>&1)