Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.0007423/0.0007424, allocations: 92.55 kB / 16.02 MB, free: 80 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.0008451/0.0008452, allocations: 176.2 kB / 16.92 MB, free: 6.652 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1763/0.1763, allocations: 8.026 MB / 300.1 MB, free: 3.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 8 kB / 363.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1107, allocations: 52.19 MB / 415.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005118/0.1158, allocations: 3.884 MB / 419.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.1187, allocations: 1.434 MB / 420.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004422/0.1192, allocations: 11.94 kB / 420.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004677/0.1196, allocations: 127.3 kB / 420.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000592/0.1202, allocations: 171 kB / 420.9 MB, free: 4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008553/0.1211, allocations: 358.7 kB / 421.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008079/0.1219, allocations: 0.8024 MB / 422 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005665/0.1225, allocations: 427.1 kB / 422.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.1228, allocations: 250.8 kB / 422.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.1231, allocations: 298.5 kB / 423 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-05/0.1232, allocations: 36 kB / 423 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.1233, allocations: 67.92 kB / 423.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.1235, allocations: 139.4 kB / 423.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.1238, allocations: 367.7 kB / 423.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006944/0.1245, allocations: 0.8221 MB / 424.4 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1245, allocations: 4 kB / 424.4 MB, free: 448 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1245, allocations: 0 / 424.4 MB, free: 448 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.1246, allocations: 0 / 424.4 MB, free: 448 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.1897/0.3142, allocations: 1.01 MB / 425.4 MB, free: 42.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3143, allocations: 10.59 kB / 425.4 MB, free: 42.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.3145, allocations: 83.8 kB / 425.5 MB, free: 42.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.3152, allocations: 0.5037 MB / 426 MB, free: 41.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.3153, allocations: 56.53 kB / 426 MB, free: 41.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.3154, allocations: 82.97 kB / 426.1 MB, free: 41.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.3167, allocations: 0.7152 MB / 426.8 MB, free: 41.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.3168, allocations: 4.188 kB / 426.8 MB, free: 41.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.3168, allocations: 35.28 kB / 426.9 MB, free: 41.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.3169, allocations: 14.28 kB / 426.9 MB, free: 41.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.318, allocations: 0.5352 MB / 427.4 MB, free: 41.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.3216, allocations: 2.601 MB / 430 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3226, allocations: 456.7 kB / 430.5 MB, free: 40.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.3231, allocations: 195.4 kB / 430.7 MB, free: 40.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.3231, allocations: 3.781 kB / 430.7 MB, free: 40.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006462/0.3238, allocations: 279 kB / 430.9 MB, free: 40.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.3238, allocations: 6.844 kB / 431 MB, free: 40.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001702/0.3255, allocations: 0.7506 MB / 431.7 MB, free: 40.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.3255, allocations: 144.3 kB / 431.8 MB, free: 40.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/0.3262, allocations: 0.5677 MB / 432.4 MB, free: 39.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.3262, allocations: 34.27 kB / 432.4 MB, free: 39.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.3265, allocations: 360.3 kB / 432.8 MB, free: 39.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/0.3266, allocations: 115.5 kB / 432.9 MB, free: 39.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.3266, allocations: 40.09 kB / 433 MB, free: 39.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.3267, allocations: 366.1 kB / 433.3 MB, free: 39.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.3271, allocations: 177.9 kB / 433.5 MB, free: 39.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/0.3276, allocations: 274.5 kB / 433.7 MB, free: 39.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008745/0.3285, allocations: 0.5768 MB / 434.3 MB, free: 38.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3285, allocations: 0 / 434.3 MB, free: 38.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001074/0.3296, allocations: 0.642 MB / 435 MB, free: 38.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.139e-05/0.3297, allocations: 257.2 kB / 435.2 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3297, allocations: 6.375 kB / 435.2 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.3298, allocations: 21.92 kB / 435.2 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.3302, allocations: 95.17 kB / 435.3 MB, free: 37.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007088/0.3309, allocations: 1.297 MB / 436.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/0.3313, allocations: 87.67 kB / 436.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.3314, allocations: 23.59 kB / 436.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.099e-06/0.3314, allocations: 10.27 kB / 436.8 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009637/0.3324, allocations: 0.5483 MB / 437.3 MB, free: 36.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.3324, allocations: 3.219 kB / 437.3 MB, free: 36.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.015e-05/0.3325, allocations: 33.75 kB / 437.3 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.3328, allocations: 80.97 kB / 437.4 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006065/0.3334, allocations: 1.297 MB / 438.7 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.3338, allocations: 80.39 kB / 438.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.3338, allocations: 20.19 kB / 438.8 MB, free: 34.97 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.0003211/0.3341, allocations: 354 kB / 439.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.3342, allocations: 52.62 kB / 439.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.3352, allocations: 0.5525 MB / 439.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3353, allocations: 3.125 kB / 439.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3353, allocations: 0 / 439.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3353, allocations: 0 / 439.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.3369, allocations: 1.226 MB / 441 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3369, allocations: 0 / 441 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.3372, allocations: 69.33 kB / 441.1 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.265e-05/0.3373, allocations: 21.86 kB / 441.1 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.3373, allocations: 8.531 kB / 441.1 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006052/0.3379, allocations: 1.294 MB / 442.4 MB, free: 32.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.338, allocations: 14.53 kB / 442.4 MB, free: 32.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.3394, allocations: 0.8276 MB / 443.2 MB, free: 31.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.3395, allocations: 138.9 kB / 443.4 MB, free: 31.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/0.3395, allocations: 11.31 kB / 443.4 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.3399, allocations: 64.56 kB / 443.4 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.34, allocations: 34.61 kB / 443.5 MB, free: 31.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.3401, allocations: 10 kB / 443.5 MB, free: 31.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004088/0.3405, allocations: 411.1 kB / 443.9 MB, free: 31.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3405, allocations: 0 / 443.9 MB, free: 31.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007404/0.3412, allocations: 295 kB / 444.2 MB, free: 31.48 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.0008424/0.3421, allocations: 349.9 kB / 444.5 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.3441, allocations: 1.247 MB / 445.8 MB, free: 30.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3441, allocations: 0 / 445.8 MB, free: 30.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006441/0.3447, allocations: 451.8 kB / 446.2 MB, free: 30.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006598/0.3454, allocations: 86.39 kB / 446.3 MB, free: 30.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.3476, allocations: 1.615 MB / 447.9 MB, free: 29.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.348, allocations: 0.8976 MB / 448.8 MB, free: 28.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.3481, allocations: 36.81 kB / 448.8 MB, free: 28.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3481, allocations: 0 / 448.8 MB, free: 28.44 MB / 350.1 MB Notification: Performance of Templates: time 0.0113/0.3594, allocations: 10.53 MB / 459.4 MB, free: 27.36 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)