Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008922/0.0008922, allocations: 91.06 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.00459/0.00459, allocations: 169.5 kB / 16.26 MB, free: 6.676 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1878/0.1878, allocations: 8.927 MB / 300.4 MB, free: 2.969 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004926, allocations: 8 kB / 363.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1388, allocations: 52.47 MB / 416 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.005139/0.144, allocations: 4.016 MB / 420.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.1473, allocations: 2.067 MB / 422.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.1476, allocations: 11.94 kB / 422.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.148, allocations: 131.3 kB / 422.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005019/0.1485, allocations: 186.9 kB / 422.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007738/0.1493, allocations: 379 kB / 422.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008692/0.1502, allocations: 0.8648 MB / 423.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006287/0.1508, allocations: 463.8 kB / 424.1 MB, free: 132 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1739/0.3247, allocations: 257.5 kB / 424.4 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006865/0.3255, allocations: 322.4 kB / 424.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.224e-05/0.3256, allocations: 35.84 kB / 424.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.3258, allocations: 64.69 kB / 424.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.326, allocations: 165.1 kB / 425 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.3264, allocations: 400.3 kB / 425.4 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.3276, allocations: 1.088 MB / 426.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.138e-06/0.3276, allocations: 0.5312 kB / 426.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.3277, allocations: 0 / 426.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.3277, allocations: 1.688 kB / 426.4 MB, free: 34.83 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002097/0.3298, allocations: 1.086 MB / 427.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.3299, allocations: 8.969 kB / 427.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.33, allocations: 96.52 kB / 427.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007269/0.3308, allocations: 0.5563 MB / 428.2 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.874e-05/0.3309, allocations: 58.12 kB / 428.2 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.331, allocations: 80.44 kB / 428.3 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.3324, allocations: 0.7499 MB / 429.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.3325, allocations: 4.719 kB / 429.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/0.3325, allocations: 32.03 kB / 429.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.3326, allocations: 22.19 kB / 429.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.3338, allocations: 0.559 MB / 429.7 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/0.3375, allocations: 2.74 MB / 432.4 MB, free: 32.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009581/0.3385, allocations: 0.4921 MB / 432.9 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/0.3389, allocations: 200.9 kB / 433.1 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.3389, allocations: 7.125 kB / 433.1 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005966/0.3395, allocations: 288.8 kB / 433.4 MB, free: 32.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.963e-06/0.3396, allocations: 0 / 433.4 MB, free: 32.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001707/0.3413, allocations: 0.7829 MB / 434.2 MB, free: 32.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.3413, allocations: 136.7 kB / 434.3 MB, free: 32.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007515/0.3421, allocations: 0.6751 MB / 435 MB, free: 32.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.3421, allocations: 42.05 kB / 435 MB, free: 31.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.3424, allocations: 382.3 kB / 435.4 MB, free: 31.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.3424, allocations: 115.6 kB / 435.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.3425, allocations: 53.25 kB / 435.6 MB, free: 31.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.3426, allocations: 371.8 kB / 435.9 MB, free: 31.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.343, allocations: 193.3 kB / 436.1 MB, free: 31.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/0.3435, allocations: 321.1 kB / 436.4 MB, free: 31.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008887/0.3444, allocations: 0.6265 MB / 437.1 MB, free: 30.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3444, allocations: 0 / 437.1 MB, free: 30.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001193/0.3456, allocations: 0.6984 MB / 437.8 MB, free: 30.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.3457, allocations: 278.4 kB / 438 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3458, allocations: 3.594 kB / 438 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.3459, allocations: 33.59 kB / 438.1 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.3463, allocations: 109.5 kB / 438.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006817/0.347, allocations: 1.288 MB / 439.5 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.3474, allocations: 97.69 kB / 439.6 MB, free: 29.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.3475, allocations: 30.38 kB / 439.6 MB, free: 29.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.169e-06/0.3475, allocations: 3.219 kB / 439.6 MB, free: 29.18 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001061/0.3486, allocations: 0.6094 MB / 440.2 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3486, allocations: 3.281 kB / 440.2 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.34e-05/0.3487, allocations: 35.22 kB / 440.2 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.349, allocations: 100.5 kB / 440.3 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006009/0.3496, allocations: 1.296 MB / 441.6 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.35, allocations: 82.69 kB / 441.7 MB, free: 27.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.3501, allocations: 19.47 kB / 441.7 MB, free: 27.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (55): * Single equations (assignments): 51 * 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.0004411/0.3505, allocations: 397.5 kB / 442.1 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/0.3506, allocations: 59.78 kB / 442.2 MB, free: 27.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.3517, allocations: 0.5665 MB / 442.8 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3517, allocations: 3.219 kB / 442.8 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.3517, allocations: 0 / 442.8 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.3517, allocations: 3.047 kB / 442.8 MB, free: 27.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.3535, allocations: 1.293 MB / 444.1 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3535, allocations: 0 / 444.1 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.3538, allocations: 76.64 kB / 444.1 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.563e-05/0.3539, allocations: 19.66 kB / 444.1 MB, free: 26.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.354, allocations: 14.56 kB / 444.2 MB, free: 26.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000583/0.3546, allocations: 1.279 MB / 445.4 MB, free: 25.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3546, allocations: 7.219 kB / 445.4 MB, free: 25.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.356, allocations: 0.8761 MB / 446.3 MB, free: 25.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.3561, allocations: 150.3 kB / 446.5 MB, free: 24.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.862e-05/0.3562, allocations: 13.48 kB / 446.5 MB, free: 24.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/0.3568, allocations: 55.17 kB / 446.5 MB, free: 24.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.357, allocations: 37.33 kB / 446.6 MB, free: 24.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/0.3571, allocations: 10.28 kB / 446.6 MB, free: 24.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007776/0.3578, allocations: 484 kB / 447.1 MB, free: 24.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3579, allocations: 0 / 447.1 MB, free: 24.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000834/0.3587, allocations: 308.6 kB / 447.4 MB, free: 24.62 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 (32): * Single equations (assignments): 27 * 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.001285/0.36, allocations: 365.1 kB / 447.7 MB, free: 24.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001938/0.3619, allocations: 1.328 MB / 449 MB, free: 23.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.362, allocations: 3.062 kB / 449 MB, free: 23.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006043/0.3626, allocations: 464.8 kB / 449.5 MB, free: 23.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000602/0.3632, allocations: 85.31 kB / 449.6 MB, free: 23.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.3652, allocations: 1.726 MB / 451.3 MB, free: 22.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.3655, allocations: 0.9364 MB / 452.2 MB, free: 21.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002607/0.3658, allocations: 70.5 kB / 452.3 MB, free: 21.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3659, allocations: 39.44 kB / 452.4 MB, free: 21.49 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3659, allocations: 3.375 kB / 452.4 MB, free: 21.49 MB / 350.1 MB Notification: Performance of Templates: time 0.01191/0.3778, allocations: 7.076 MB / 459.4 MB, free: 20.94 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1)