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.0008422/0.0008423, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.0056/0.0056, allocations: 169.6 kB / 16.27 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1645/0.1645, allocations: 8.322 MB / 299.8 MB, free: 3.215 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005643/0.0005644, allocations: 8 kB / 362.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1138, allocations: 52.27 MB / 415 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005002/0.1188, allocations: 3.884 MB / 418.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.1216, allocations: 1.43 MB / 420.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005298/0.1222, allocations: 15.94 kB / 420.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005385/0.1227, allocations: 123.3 kB / 420.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007387/0.1235, allocations: 170.9 kB / 420.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009154/0.1244, allocations: 359.4 kB / 421 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.1257, allocations: 0.7986 MB / 421.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006857/0.1264, allocations: 419.2 kB / 422.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004589/0.1269, allocations: 254.8 kB / 422.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004727/0.1273, allocations: 302.4 kB / 422.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.91e-05/0.1274, allocations: 36 kB / 422.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.1277, allocations: 56 kB / 422.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.1279, allocations: 147.4 kB / 423 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003923/0.1283, allocations: 363.7 kB / 423.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1867/0.315, allocations: 0.9924 MB / 424.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.3151, allocations: 4.281 kB / 424.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3151, allocations: 0 / 424.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.655e-05/0.3151, allocations: 0.625 kB / 424.3 MB, free: 36.29 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.002223/0.3174, allocations: 1.016 MB / 425.3 MB, free: 35.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3174, allocations: 9.281 kB / 425.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.3177, allocations: 92.62 kB / 425.4 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007993/0.3185, allocations: 0.5004 MB / 425.9 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.3185, allocations: 53.3 kB / 426 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.3187, allocations: 75.91 kB / 426.1 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.3201, allocations: 0.7253 MB / 426.8 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.3202, allocations: 4.75 kB / 426.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/0.3202, allocations: 30.5 kB / 426.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3203, allocations: 14.34 kB / 426.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.3215, allocations: 0.5381 MB / 427.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00383/0.3253, allocations: 2.596 MB / 430 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.3264, allocations: 467.3 kB / 430.4 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.3268, allocations: 191 kB / 430.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.3269, allocations: 7.656 kB / 430.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000686/0.3276, allocations: 278.6 kB / 430.9 MB, free: 34.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.3276, allocations: 3.188 kB / 430.9 MB, free: 34.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001762/0.3294, allocations: 0.763 MB / 431.7 MB, free: 33.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.3294, allocations: 138 kB / 431.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005818/0.33, allocations: 0.5693 MB / 432.4 MB, free: 33.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.3301, allocations: 32.98 kB / 432.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.3302, allocations: 348.8 kB / 432.7 MB, free: 33.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/0.3303, allocations: 116.3 kB / 432.9 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.3304, allocations: 42.06 kB / 432.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.477e-05/0.3305, allocations: 366.6 kB / 433.3 MB, free: 32.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.3309, allocations: 168.7 kB / 433.4 MB, free: 32.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.3314, allocations: 282.4 kB / 433.7 MB, free: 32.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008594/0.3323, allocations: 0.581 MB / 434.3 MB, free: 32.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.3323, allocations: 7.25 kB / 434.3 MB, free: 32.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001135/0.3334, allocations: 0.6341 MB / 434.9 MB, free: 32.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.3336, allocations: 261.3 kB / 435.2 MB, free: 32.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.3336, allocations: 10.39 kB / 435.2 MB, free: 32.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.3338, allocations: 21.17 kB / 435.2 MB, free: 32.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.3341, allocations: 96.02 kB / 435.3 MB, free: 32.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007659/0.3349, allocations: 1.291 MB / 436.6 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.3354, allocations: 92.2 kB / 436.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.3354, allocations: 15.03 kB / 436.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/0.3354, allocations: 6.125 kB / 436.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009657/0.3364, allocations: 0.5555 MB / 437.3 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3364, allocations: 3.25 kB / 437.3 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.696e-05/0.3365, allocations: 24.95 kB / 437.3 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.3368, allocations: 89.73 kB / 437.4 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006101/0.3374, allocations: 1.294 MB / 438.7 MB, free: 29.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.3378, allocations: 83.48 kB / 438.7 MB, free: 29.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.3378, allocations: 12.88 kB / 438.8 MB, free: 29.4 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.000356/0.3382, allocations: 366.2 kB / 439.1 MB, free: 29.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.3383, allocations: 56.12 kB / 439.2 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.3394, allocations: 0.534 MB / 439.7 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3394, allocations: 6.578 kB / 439.7 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3394, allocations: 7.188 kB / 439.7 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.3394, allocations: 0.75 kB / 439.7 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.341, allocations: 1.221 MB / 440.9 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3411, allocations: 4.875 kB / 440.9 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.3414, allocations: 67.31 kB / 441 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.35e-05/0.3415, allocations: 22.61 kB / 441 MB, free: 28.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.3415, allocations: 12.47 kB / 441 MB, free: 28.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005948/0.3421, allocations: 1.292 MB / 442.3 MB, free: 27.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3421, allocations: 0 / 442.3 MB, free: 27.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.3435, allocations: 0.8402 MB / 443.2 MB, free: 27.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-05/0.3436, allocations: 142.8 kB / 443.3 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.3437, allocations: 10.5 kB / 443.3 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.3441, allocations: 56.09 kB / 443.4 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3442, allocations: 30.17 kB / 443.4 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.3442, allocations: 12.66 kB / 443.4 MB, free: 26.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004071/0.3446, allocations: 412.6 kB / 443.8 MB, free: 26.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3447, allocations: 3.172 kB / 443.8 MB, free: 26.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007837/0.3454, allocations: 287.6 kB / 444.1 MB, free: 26.8 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.0008224/0.3463, allocations: 371.2 kB / 444.5 MB, free: 26.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.3481, allocations: 1.241 MB / 445.7 MB, free: 25.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3481, allocations: 2.969 kB / 445.7 MB, free: 25.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005751/0.3487, allocations: 455.2 kB / 446.2 MB, free: 25.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.3493, allocations: 79.77 kB / 446.2 MB, free: 25.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.3513, allocations: 1.585 MB / 447.8 MB, free: 24.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.3516, allocations: 0.9007 MB / 448.7 MB, free: 23.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002423/0.3519, allocations: 57.23 kB / 448.8 MB, free: 23.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.352, allocations: 39.16 kB / 448.8 MB, free: 23.8 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.352, allocations: 0 / 448.8 MB, free: 23.8 MB / 350.1 MB Notification: Performance of Templates: time 0.01129/0.3633, allocations: 6.639 MB / 455.5 MB, free: 23.28 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)