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.001835/0.001834, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002377/0.002377, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1811/0.1811, allocations: 8.031 MB / 298 MB, free: 2.48 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 359.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1114, allocations: 51.19 MB / 411.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005984/0.1175, allocations: 4.309 MB / 415.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.1202, allocations: 1.45 MB / 416.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003205/0.1205, allocations: 15.94 kB / 416.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.121, allocations: 119.3 kB / 417 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004344/0.1214, allocations: 174.9 kB / 417.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006713/0.1221, allocations: 359.2 kB / 417.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000712/0.1228, allocations: 0.8024 MB / 418.3 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005634/0.1234, allocations: 427.1 kB / 418.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.1238, allocations: 290.8 kB / 419 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.1241, allocations: 362.3 kB / 419.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.339e-05/0.1242, allocations: 52 kB / 419.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.1244, allocations: 79.98 kB / 419.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.1246, allocations: 171.3 kB / 419.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.125, allocations: 382 kB / 420.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008446/0.1258, allocations: 1.028 MB / 421.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1258, allocations: 0 / 421.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1258, allocations: 0 / 421.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.1258, allocations: 0 / 421.1 MB, free: 1.547 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.001972/0.1278, allocations: 1.148 MB / 422.2 MB, free: 340 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1279, allocations: 8.031 kB / 422.3 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.128, allocations: 88 kB / 422.3 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2178/0.3458, allocations: 0.4997 MB / 422.8 MB, free: 44.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/0.3459, allocations: 53.22 kB / 422.9 MB, free: 44.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.346, allocations: 73.88 kB / 423 MB, free: 44.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.3474, allocations: 0.7005 MB / 423.7 MB, free: 44.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.3474, allocations: 10.78 kB / 423.7 MB, free: 44.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.3475, allocations: 29.22 kB / 423.7 MB, free: 44.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.3475, allocations: 13.84 kB / 423.7 MB, free: 44.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.3486, allocations: 0.5067 MB / 424.2 MB, free: 44.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.3515, allocations: 2.56 MB / 426.8 MB, free: 43.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008642/0.3524, allocations: 439 kB / 427.2 MB, free: 42.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.3528, allocations: 177.6 kB / 427.4 MB, free: 42.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.3528, allocations: 5.891 kB / 427.4 MB, free: 42.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005425/0.3534, allocations: 263.2 kB / 427.6 MB, free: 42.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.903e-06/0.3534, allocations: 0 / 427.6 MB, free: 42.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001438/0.3548, allocations: 0.707 MB / 428.4 MB, free: 42.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.3549, allocations: 147.9 kB / 428.5 MB, free: 42.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.3554, allocations: 0.5648 MB / 429.1 MB, free: 41.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.3555, allocations: 36.56 kB / 429.1 MB, free: 41.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.3557, allocations: 353.4 kB / 429.4 MB, free: 41.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.3557, allocations: 114.9 kB / 429.6 MB, free: 41.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.3559, allocations: 77.5 kB / 429.6 MB, free: 41.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.3559, allocations: 364.1 kB / 430 MB, free: 41.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.3563, allocations: 162.3 kB / 430.1 MB, free: 41.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.3567, allocations: 261.2 kB / 430.4 MB, free: 40.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007602/0.3575, allocations: 0.5418 MB / 430.9 MB, free: 40.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3575, allocations: 7.812 kB / 431 MB, free: 40.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00102/0.3585, allocations: 0.6046 MB / 431.6 MB, free: 40.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.3586, allocations: 97.78 kB / 431.7 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3586, allocations: 3.281 kB / 431.7 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.3588, allocations: 24.64 kB / 431.7 MB, free: 40.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.3591, allocations: 84.16 kB / 431.8 MB, free: 40.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007361/0.3599, allocations: 1.291 MB / 433.1 MB, free: 38.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.3603, allocations: 79.53 kB / 433.1 MB, free: 38.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.3604, allocations: 21.56 kB / 433.2 MB, free: 38.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000518/0.3609, allocations: 316.9 kB / 433.5 MB, free: 38.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00036/0.3613, allocations: 250.7 kB / 433.7 MB, free: 38.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007119/0.362, allocations: 0.5326 MB / 434.2 MB, free: 37.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.774e-06/0.362, allocations: 0 / 434.2 MB, free: 37.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009476/0.3629, allocations: 0.58 MB / 434.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.363, allocations: 90.28 kB / 434.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.363, allocations: 2.781 kB / 434.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.45e-05/0.3631, allocations: 28.48 kB / 434.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.3634, allocations: 72.8 kB / 435 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006583/0.364, allocations: 1.296 MB / 436.3 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.3645, allocations: 73.39 kB / 436.4 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.3645, allocations: 17.3 kB / 436.4 MB, free: 36.23 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.0001736/0.3647, allocations: 270.8 kB / 436.7 MB, free: 35.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.3648, allocations: 52.22 kB / 436.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.3658, allocations: 0.5084 MB / 437.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3658, allocations: 3.094 kB / 437.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.3658, allocations: 0 / 437.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3658, allocations: 3.469 kB / 437.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.3673, allocations: 1.189 MB / 438.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3674, allocations: 6.766 kB / 438.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.3677, allocations: 55.88 kB / 438.5 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.543e-05/0.3677, allocations: 22.14 kB / 438.5 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.3678, allocations: 18.05 kB / 438.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006296/0.3684, allocations: 1.286 MB / 439.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3684, allocations: 7.688 kB / 439.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.3698, allocations: 0.7856 MB / 440.6 MB, free: 33.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.458e-05/0.3699, allocations: 135 kB / 440.7 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.3699, allocations: 11.12 kB / 440.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.3703, allocations: 43.72 kB / 440.8 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.3704, allocations: 31.55 kB / 440.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.3705, allocations: 14.38 kB / 440.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003854/0.3709, allocations: 414.7 kB / 441.2 MB, free: 32.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3709, allocations: 3 kB / 441.2 MB, free: 32.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000744/0.3716, allocations: 285.2 kB / 441.5 MB, free: 32.84 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.0008609/0.3725, allocations: 366.7 kB / 441.9 MB, free: 32.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.3742, allocations: 1.193 MB / 443.1 MB, free: 31.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3742, allocations: 0.8125 kB / 443.1 MB, free: 31.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005396/0.3748, allocations: 440.1 kB / 443.5 MB, free: 31.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.3753, allocations: 86.34 kB / 443.6 MB, free: 31.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.3773, allocations: 1.506 MB / 445.1 MB, free: 30.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.3776, allocations: 0.9116 MB / 446 MB, free: 29.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002305/0.3778, allocations: 60.66 kB / 446.1 MB, free: 29.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.3779, allocations: 36.73 kB / 446.1 MB, free: 29.85 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.378, allocations: 0 / 446.1 MB, free: 29.85 MB / 350.1 MB Notification: Performance of Templates: time 0.01075/0.3887, allocations: 6.699 MB / 452.8 MB, free: 29.29 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)