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.001218/0.001218, 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.001297/0.001297, allocations: 195.5 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.181/0.181, allocations: 8.308 MB / 298.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.89 kB / 361 MB, free: 13.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1313, allocations: 51.26 MB / 412.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.006028/0.1374, allocations: 4.29 MB / 416.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.1398, allocations: 1.469 MB / 418 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.1401, allocations: 12 kB / 418 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.1405, allocations: 154.8 kB / 418.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005042/0.141, allocations: 214.4 kB / 418.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.1417, allocations: 394.5 kB / 418.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007509/0.1424, allocations: 0.8884 MB / 419.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005852/0.143, allocations: 476.1 kB / 420.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.1433, allocations: 350.8 kB / 420.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003619/0.1437, allocations: 374.4 kB / 420.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.1438, allocations: 100 kB / 420.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.144, allocations: 131.9 kB / 421 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.1442, allocations: 207.4 kB / 421.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.1446, allocations: 429.9 kB / 421.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008451/0.1454, allocations: 1.071 MB / 422.7 MB, free: 64 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1454, allocations: 0 / 422.7 MB, free: 64 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1454, allocations: 0 / 422.7 MB, free: 64 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1454, allocations: 4 kB / 422.7 MB, free: 60 kB / 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.2115/0.357, allocations: 1.139 MB / 423.9 MB, free: 43.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.357, allocations: 10.31 kB / 423.9 MB, free: 43.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.3572, allocations: 86.7 kB / 424 MB, free: 43.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.3578, allocations: 0.5016 MB / 424.5 MB, free: 43.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/0.3578, allocations: 54.31 kB / 424.5 MB, free: 43.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/0.3579, allocations: 72.84 kB / 424.6 MB, free: 43.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.3591, allocations: 0.7046 MB / 425.3 MB, free: 43.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.3591, allocations: 3.906 kB / 425.3 MB, free: 43.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/0.3592, allocations: 35.19 kB / 425.3 MB, free: 43.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.3592, allocations: 18.12 kB / 425.4 MB, free: 43.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.3602, allocations: 0.503 MB / 425.9 MB, free: 43.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003008/0.3633, allocations: 2.558 MB / 428.4 MB, free: 42.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008795/0.3642, allocations: 435.9 kB / 428.8 MB, free: 41.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.3645, allocations: 185.8 kB / 429 MB, free: 41.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.3646, allocations: 3.25 kB / 429 MB, free: 41.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005861/0.3652, allocations: 260.7 kB / 429.3 MB, free: 41.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.043e-06/0.3652, allocations: 0 / 429.3 MB, free: 41.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001482/0.3667, allocations: 0.7212 MB / 430 MB, free: 41.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.3667, allocations: 139 kB / 430.1 MB, free: 41.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.3672, allocations: 0.5747 MB / 430.7 MB, free: 41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.3673, allocations: 32.95 kB / 430.7 MB, free: 40.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.3674, allocations: 346.7 kB / 431.1 MB, free: 40.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.049e-05/0.3675, allocations: 115.1 kB / 431.2 MB, free: 40.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.3676, allocations: 80.02 kB / 431.3 MB, free: 40.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.3677, allocations: 365.7 kB / 431.6 MB, free: 40.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.3681, allocations: 163.1 kB / 431.8 MB, free: 40.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.3685, allocations: 262.1 kB / 432 MB, free: 39.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007852/0.3693, allocations: 0.5498 MB / 432.6 MB, free: 39.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3693, allocations: 3.219 kB / 432.6 MB, free: 39.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001007/0.3703, allocations: 0.605 MB / 433.2 MB, free: 39.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.3703, allocations: 92.64 kB / 433.3 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3704, allocations: 7.281 kB / 433.3 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001553/0.3705, allocations: 21.58 kB / 433.3 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.3708, allocations: 86.2 kB / 433.4 MB, free: 39.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007392/0.3716, allocations: 1.393 MB / 434.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.372, allocations: 77.48 kB / 434.9 MB, free: 37.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.372, allocations: 17.09 kB / 434.9 MB, free: 37.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004679/0.3725, allocations: 322.6 kB / 435.2 MB, free: 37.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003646/0.3729, allocations: 254.8 kB / 435.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006424/0.3735, allocations: 0.5255 MB / 436 MB, free: 37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.3736, allocations: 3.156 kB / 436 MB, free: 37 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008887/0.3744, allocations: 0.5753 MB / 436.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.3745, allocations: 94.48 kB / 436.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3745, allocations: 3.312 kB / 436.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.066e-05/0.3746, allocations: 27.34 kB / 436.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.3749, allocations: 87.16 kB / 436.8 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006469/0.3755, allocations: 1.381 MB / 438.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.3759, allocations: 64.48 kB / 438.2 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.3759, allocations: 24.03 kB / 438.2 MB, free: 35.16 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.0001554/0.3761, allocations: 270.8 kB / 438.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.3762, allocations: 51.44 kB / 438.6 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009801/0.3772, allocations: 0.5021 MB / 439.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3772, allocations: 3.219 kB / 439.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3772, allocations: 0 / 439.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3772, allocations: 11.72 kB / 439.1 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.3787, allocations: 1.18 MB / 440.2 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3788, allocations: 0 / 440.2 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.3791, allocations: 63.31 kB / 440.3 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.869e-05/0.3791, allocations: 25.23 kB / 440.3 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.3792, allocations: 11 kB / 440.3 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00065/0.3798, allocations: 1.39 MB / 441.7 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3798, allocations: 0 / 441.7 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.3812, allocations: 0.7923 MB / 442.5 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3813, allocations: 131.6 kB / 442.7 MB, free: 31.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.3814, allocations: 10.09 kB / 442.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.3817, allocations: 50.38 kB / 442.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3818, allocations: 35.55 kB / 442.7 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.3819, allocations: 11.91 kB / 442.8 MB, free: 31.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004032/0.3823, allocations: 416.5 kB / 443.2 MB, free: 31.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3823, allocations: 0 / 443.2 MB, free: 31.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000728/0.383, allocations: 287.5 kB / 443.4 MB, free: 31.67 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.0007503/0.3838, allocations: 361 kB / 443.8 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.3855, allocations: 1.202 MB / 445 MB, free: 30.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3856, allocations: 0 / 445 MB, free: 30.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.3861, allocations: 439.9 kB / 445.4 MB, free: 30.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.3866, allocations: 94.06 kB / 445.5 MB, free: 30.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.3883, allocations: 1.245 MB / 446.8 MB, free: 29.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3886, allocations: 0.9128 MB / 447.7 MB, free: 28.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.3888, allocations: 61.55 kB / 447.7 MB, free: 28.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.3889, allocations: 42.98 kB / 447.8 MB, free: 28.93 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3889, allocations: 0 / 447.8 MB, free: 28.93 MB / 350.1 MB Notification: Performance of Templates: time 0.01046/0.3994, allocations: 7.21 MB / 455 MB, free: 28.35 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)