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.001111/0.001111, allocations: 108 kB / 15.6 MB, free: 132 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.001306/0.001306, allocations: 195.6 kB / 16.53 MB, free: 6.391 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1591/0.1591, allocations: 8.021 MB / 298.4 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.89 kB / 360.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1121, allocations: 51.19 MB / 411.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.006938/0.1191, allocations: 4.278 MB / 416.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00311/0.1222, allocations: 1.469 MB / 417.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008043/0.1231, allocations: 15.94 kB / 417.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006901/0.1238, allocations: 158.8 kB / 417.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009657/0.1248, allocations: 206.4 kB / 417.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.1259, allocations: 399.1 kB / 418.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.1272, allocations: 0.8923 MB / 419.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007575/0.128, allocations: 476 kB / 419.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005328/0.1286, allocations: 334.9 kB / 420 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005999/0.1292, allocations: 378.4 kB / 420.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002089/0.1294, allocations: 104 kB / 420.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.1297, allocations: 132 kB / 420.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.13, allocations: 223.3 kB / 420.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005434/0.1306, allocations: 422 kB / 421.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.1318, allocations: 1.059 MB / 422.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1318, allocations: 0 / 422.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1318, allocations: 0 / 422.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.422e-05/0.1319, allocations: 0 / 422.3 MB, free: 0.5 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.1886/0.3204, allocations: 1.142 MB / 423.4 MB, free: 44.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3205, allocations: 10.31 kB / 423.4 MB, free: 44.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.3206, allocations: 88.88 kB / 423.5 MB, free: 44.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.3212, allocations: 0.5039 MB / 424 MB, free: 43.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.3213, allocations: 51.91 kB / 424.1 MB, free: 43.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.049e-05/0.3214, allocations: 79.69 kB / 424.2 MB, free: 43.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.3226, allocations: 0.7014 MB / 424.9 MB, free: 43.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.3227, allocations: 3.672 kB / 424.9 MB, free: 43.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.3227, allocations: 32.97 kB / 424.9 MB, free: 43.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.3227, allocations: 14.66 kB / 424.9 MB, free: 43.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.3238, allocations: 0.51 MB / 425.4 MB, free: 43.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.3267, allocations: 2.561 MB / 428 MB, free: 42.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008618/0.3275, allocations: 439.1 kB / 428.4 MB, free: 42.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.3279, allocations: 178 kB / 428.6 MB, free: 42.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.485e-05/0.328, allocations: 5.234 kB / 428.6 MB, free: 42.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005854/0.3286, allocations: 258.6 kB / 428.9 MB, free: 42.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.3286, allocations: 0 / 428.9 MB, free: 42.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001476/0.3301, allocations: 0.7212 MB / 429.6 MB, free: 41.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.3301, allocations: 140.4 kB / 429.7 MB, free: 41.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000546/0.3307, allocations: 0.5707 MB / 430.3 MB, free: 41.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.3307, allocations: 36.14 kB / 430.3 MB, free: 41.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.3309, allocations: 347.8 kB / 430.7 MB, free: 40.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.331, allocations: 115.3 kB / 430.8 MB, free: 40.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3311, allocations: 77.39 kB / 430.8 MB, free: 40.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.3312, allocations: 367.8 kB / 431.2 MB, free: 40.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.3315, allocations: 163.3 kB / 431.4 MB, free: 40.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.3319, allocations: 259.5 kB / 431.6 MB, free: 40.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007663/0.3327, allocations: 0.5461 MB / 432.2 MB, free: 39.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3327, allocations: 3.844 kB / 432.2 MB, free: 39.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009977/0.3337, allocations: 0.6072 MB / 432.8 MB, free: 39.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.3338, allocations: 92.12 kB / 432.9 MB, free: 39.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3338, allocations: 3.156 kB / 432.9 MB, free: 39.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.334, allocations: 32.09 kB / 432.9 MB, free: 39.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.3343, allocations: 78.73 kB / 433 MB, free: 39.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007603/0.3351, allocations: 1.398 MB / 434.4 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.3355, allocations: 71.97 kB / 434.4 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.3355, allocations: 22.97 kB / 434.5 MB, free: 38.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004649/0.336, allocations: 323 kB / 434.8 MB, free: 37.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003501/0.3363, allocations: 251 kB / 435 MB, free: 37.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006591/0.337, allocations: 0.5249 MB / 435.5 MB, free: 37.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.337, allocations: 3.062 kB / 435.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008849/0.3379, allocations: 0.5733 MB / 436.1 MB, free: 36.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.338, allocations: 94.23 kB / 436.2 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.338, allocations: 6.906 kB / 436.2 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.984e-05/0.338, allocations: 24.95 kB / 436.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.3383, allocations: 89.42 kB / 436.3 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006017/0.3389, allocations: 1.382 MB / 437.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.3393, allocations: 70.12 kB / 437.8 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.3393, allocations: 21.48 kB / 437.8 MB, free: 35.43 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.0001547/0.3395, allocations: 274.4 kB / 438.1 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.3396, allocations: 52.94 kB / 438.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009484/0.3405, allocations: 0.5016 MB / 438.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3405, allocations: 3.094 kB / 438.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3406, allocations: 0 / 438.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3406, allocations: 10.81 kB / 438.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.3421, allocations: 1.18 MB / 439.8 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3421, allocations: 0 / 439.8 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.3424, allocations: 59.81 kB / 439.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-05/0.3425, allocations: 25.94 kB / 439.9 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.3425, allocations: 13.8 kB / 439.9 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006013/0.3431, allocations: 1.393 MB / 441.3 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3431, allocations: 0 / 441.3 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.3444, allocations: 0.7955 MB / 442.1 MB, free: 32.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/0.3445, allocations: 137.8 kB / 442.2 MB, free: 32.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.3446, allocations: 6.875 kB / 442.2 MB, free: 32.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.345, allocations: 50.12 kB / 442.3 MB, free: 32.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/0.3451, allocations: 34.08 kB / 442.3 MB, free: 32.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.3451, allocations: 10.31 kB / 442.3 MB, free: 32.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000386/0.3455, allocations: 413 kB / 442.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3455, allocations: 0 / 442.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007592/0.3463, allocations: 285 kB / 443 MB, free: 31.94 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.0008382/0.3471, allocations: 372.4 kB / 443.4 MB, free: 31.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.3489, allocations: 1.194 MB / 444.6 MB, free: 31.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3489, allocations: 3.031 kB / 444.6 MB, free: 31.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005138/0.3494, allocations: 435.9 kB / 445 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.0005186/0.3499, allocations: 96.66 kB / 445.1 MB, free: 30.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.3517, allocations: 1.24 MB / 446.3 MB, free: 29.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3521, allocations: 0.9063 MB / 447.3 MB, free: 29.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.3523, allocations: 60.45 kB / 447.3 MB, free: 29.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.356e-05/0.3524, allocations: 42.83 kB / 447.4 MB, free: 29.21 MB / 350.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3524, allocations: 0 / 447.4 MB, free: 29.21 MB / 350.1 MB Notification: Performance of Templates: time 0.0112/0.3636, allocations: 7.217 MB / 454.6 MB, free: 28.62 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)