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.0007457/0.0007459, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000792/0.000792, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1478/0.1478, allocations: 8.021 MB / 299.1 MB, free: 3.434 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002858, allocations: 8 kB / 361.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08216/0.08246, allocations: 52.18 MB / 414 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.00409/0.08658, allocations: 3.7 MB / 417.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.08873, allocations: 1.365 MB / 419 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.08899, allocations: 11.94 kB / 419 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.08931, allocations: 123.3 kB / 419.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.08971, allocations: 166.9 kB / 419.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.09026, allocations: 258.8 kB / 419.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006701/0.09094, allocations: 0.7751 MB / 420.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004554/0.0914, allocations: 341 kB / 420.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.09165, allocations: 239 kB / 420.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.09196, allocations: 290.6 kB / 421.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.09203, allocations: 32 kB / 421.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.09217, allocations: 63.98 kB / 421.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.09233, allocations: 143.4 kB / 421.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.09246, allocations: 161.3 kB / 421.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006613/0.09313, allocations: 0.8143 MB / 422.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09314, allocations: 0 / 422.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09315, allocations: 3.938 kB / 422.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.09316, allocations: 0 / 422.4 MB, free: 1.594 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.001524/0.09469, allocations: 1.042 MB / 423.5 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.09473, allocations: 8.031 kB / 423.5 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.09486, allocations: 86.97 kB / 423.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1514/0.2463, allocations: 487.2 kB / 424 MB, free: 41.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.09e-05/0.2464, allocations: 57.47 kB / 424.1 MB, free: 41.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.562e-05/0.2465, allocations: 73.05 kB / 424.1 MB, free: 41.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.2478, allocations: 0.7138 MB / 424.9 MB, free: 41.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.2479, allocations: 6.484 kB / 424.9 MB, free: 41.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-05/0.2479, allocations: 29.2 kB / 424.9 MB, free: 41.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.2479, allocations: 19.59 kB / 424.9 MB, free: 41.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.249, allocations: 0.5305 MB / 425.4 MB, free: 41.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003093/0.2521, allocations: 2.588 MB / 428 MB, free: 40.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008636/0.253, allocations: 464.1 kB / 428.5 MB, free: 40.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.2534, allocations: 200.1 kB / 428.7 MB, free: 40.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.2534, allocations: 5.25 kB / 428.7 MB, free: 40.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005472/0.254, allocations: 274.2 kB / 429 MB, free: 40.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.254, allocations: 0 / 429 MB, free: 40.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001494/0.2555, allocations: 0.7599 MB / 429.7 MB, free: 40.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.2555, allocations: 139.3 kB / 429.9 MB, free: 39.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005067/0.256, allocations: 0.5688 MB / 430.4 MB, free: 39.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2561, allocations: 35.08 kB / 430.5 MB, free: 39.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.2562, allocations: 348.3 kB / 430.8 MB, free: 39.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.2563, allocations: 123.1 kB / 430.9 MB, free: 39.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.2564, allocations: 9.375 kB / 430.9 MB, free: 39.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.2564, allocations: 363.2 kB / 431.3 MB, free: 39.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.2568, allocations: 168.2 kB / 431.4 MB, free: 39.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.2573, allocations: 274.2 kB / 431.7 MB, free: 39.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.2577, allocations: 284.7 kB / 432 MB, free: 39.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2577, allocations: 2.719 kB / 432 MB, free: 39.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001094/0.2588, allocations: 0.6325 MB / 432.6 MB, free: 38.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.417e-05/0.2589, allocations: 254.3 kB / 432.9 MB, free: 38.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.2589, allocations: 7.344 kB / 432.9 MB, free: 38.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001419/0.2591, allocations: 25.12 kB / 432.9 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.2594, allocations: 96.64 kB / 433 MB, free: 38.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006362/0.2601, allocations: 1.286 MB / 434.3 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.2605, allocations: 96.94 kB / 434.4 MB, free: 37.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.2605, allocations: 24.17 kB / 434.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-06/0.2605, allocations: 6.594 kB / 434.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009095/0.2615, allocations: 0.5518 MB / 435 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2615, allocations: 2.906 kB / 435 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.719e-05/0.2615, allocations: 25.62 kB / 435 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.2618, allocations: 83.59 kB / 435.1 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006017/0.2625, allocations: 1.288 MB / 436.4 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.2628, allocations: 84.72 kB / 436.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.2629, allocations: 20.16 kB / 436.5 MB, free: 35.52 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 ($whenCondition1,twoFlanges.limTau.state,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002683/0.2631, allocations: 366.4 kB / 436.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.2632, allocations: 54.66 kB / 436.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009548/0.2642, allocations: 0.5406 MB / 437.4 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2642, allocations: 3.094 kB / 437.4 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2642, allocations: 3.281 kB / 437.4 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.2642, allocations: 0 / 437.4 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.2657, allocations: 1.224 MB / 438.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2657, allocations: 0 / 438.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.266, allocations: 69.61 kB / 438.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.599e-05/0.2661, allocations: 22.16 kB / 438.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.2661, allocations: 11.27 kB / 438.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005648/0.2667, allocations: 1.298 MB / 440 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2667, allocations: 0 / 440 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.268, allocations: 0.8368 MB / 440.9 MB, free: 32.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.2681, allocations: 139.7 kB / 441 MB, free: 32.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.418e-05/0.2681, allocations: 7.344 kB / 441 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.2685, allocations: 53.08 kB / 441.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.2686, allocations: 34.94 kB / 441.1 MB, free: 32.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.2686, allocations: 19.83 kB / 441.1 MB, free: 32.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003682/0.269, allocations: 407.9 kB / 441.5 MB, free: 32.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.269, allocations: 0 / 441.5 MB, free: 32.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007107/0.2697, allocations: 286.9 kB / 441.8 MB, free: 32.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007919/0.2705, allocations: 368.2 kB / 442.2 MB, free: 31.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.2721, allocations: 1.225 MB / 443.4 MB, free: 31.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2722, allocations: 0 / 443.4 MB, free: 31.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005334/0.2727, allocations: 453.8 kB / 443.8 MB, free: 30.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.2732, allocations: 81.81 kB / 443.9 MB, free: 30.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.275, allocations: 1.497 MB / 445.4 MB, free: 29.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.2753, allocations: 0.9048 MB / 446.3 MB, free: 29.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002277/0.2755, allocations: 65.91 kB / 446.4 MB, free: 29.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.8e-05/0.2756, allocations: 37.78 kB / 446.4 MB, free: 29.07 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2756, allocations: 0 / 446.4 MB, free: 29.07 MB / 350.1 MB Notification: Performance of Templates: time 0.009791/0.2854, allocations: 6.471 MB / 452.9 MB, free: 28.53 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)