Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.001308/0.001307, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00155/0.00155, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.292/1.292, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1543/0.1543, allocations: 8.025 MB / 298.1 MB, free: 2.41 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001132, allocations: 55.91 kB / 360.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09602/0.09717, allocations: 51.2 MB / 411.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005342/0.1025, allocations: 4.301 MB / 415.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.1048, allocations: 1.434 MB / 417.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.1051, allocations: 15.94 kB / 417.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.1056, allocations: 115.3 kB / 417.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.1061, allocations: 174.9 kB / 417.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006914/0.1068, allocations: 355.2 kB / 417.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.1076, allocations: 0.8962 MB / 418.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005681/0.1081, allocations: 480 kB / 419.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.1085, allocations: 342.8 kB / 419.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.1088, allocations: 378.4 kB / 419.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.685e-05/0.1089, allocations: 104 kB / 419.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.1091, allocations: 124 kB / 420 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.1093, allocations: 219.3 kB / 420.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.1096, allocations: 422 kB / 420.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008238/0.1104, allocations: 1.075 MB / 421.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1104, allocations: 3.984 kB / 421.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1104, allocations: 0 / 421.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1105, allocations: 0 / 421.7 MB, free: 0.9883 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.161/0.2715, allocations: 1.14 MB / 422.8 MB, free: 44.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2715, allocations: 10.59 kB / 422.8 MB, free: 44.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.2717, allocations: 81.78 kB / 422.9 MB, free: 44.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006402/0.2724, allocations: 0.5017 MB / 423.4 MB, free: 44.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/0.2724, allocations: 52.66 kB / 423.5 MB, free: 44.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.394e-05/0.2725, allocations: 75.14 kB / 423.6 MB, free: 44.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.2736, allocations: 0.7038 MB / 424.3 MB, free: 44.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.2737, allocations: 5.328 kB / 424.3 MB, free: 44.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/0.2737, allocations: 34.53 kB / 424.3 MB, free: 44.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.2738, allocations: 15.75 kB / 424.3 MB, free: 44.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.2747, allocations: 0.503 MB / 424.8 MB, free: 44.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.2775, allocations: 2.563 MB / 427.4 MB, free: 42.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007946/0.2783, allocations: 439.9 kB / 427.8 MB, free: 42.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.2786, allocations: 176.8 kB / 428 MB, free: 42.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.2787, allocations: 9.625 kB / 428 MB, free: 42.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00053/0.2792, allocations: 263 kB / 428.2 MB, free: 42.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.2792, allocations: 0 / 428.2 MB, free: 42.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001337/0.2806, allocations: 0.7135 MB / 429 MB, free: 41.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.2806, allocations: 134.9 kB / 429.1 MB, free: 41.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.2811, allocations: 0.5737 MB / 429.7 MB, free: 41.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.2812, allocations: 36.75 kB / 429.7 MB, free: 41.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.2813, allocations: 352.1 kB / 430 MB, free: 41.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.2814, allocations: 108.4 kB / 430.2 MB, free: 41.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.2815, allocations: 80 kB / 430.2 MB, free: 41.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.638e-05/0.2816, allocations: 362.6 kB / 430.6 MB, free: 40.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.282, allocations: 169.2 kB / 430.8 MB, free: 40.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/0.2823, allocations: 260 kB / 431 MB, free: 40.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006965/0.283, allocations: 0.5449 MB / 431.5 MB, free: 40.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.283, allocations: 3.094 kB / 431.6 MB, free: 40.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009123/0.284, allocations: 0.6035 MB / 432.2 MB, free: 39.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.284, allocations: 90.94 kB / 432.2 MB, free: 39.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.284, allocations: 3.156 kB / 432.2 MB, free: 39.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.2842, allocations: 25.33 kB / 432.3 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.2845, allocations: 85.88 kB / 432.4 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007251/0.2852, allocations: 1.392 MB / 433.7 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.2856, allocations: 78.41 kB / 433.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.2857, allocations: 18.47 kB / 433.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004311/0.2861, allocations: 325.9 kB / 434.2 MB, free: 38.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003164/0.2864, allocations: 248.1 kB / 434.4 MB, free: 37.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006227/0.2871, allocations: 0.5327 MB / 434.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.2871, allocations: 4.781 kB / 434.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008609/0.2879, allocations: 0.575 MB / 435.5 MB, free: 37.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.288, allocations: 89.75 kB / 435.6 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.288, allocations: 3.125 kB / 435.6 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.874e-05/0.2881, allocations: 27.91 kB / 435.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.2883, allocations: 81.33 kB / 435.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006305/0.289, allocations: 1.401 MB / 437.1 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.2893, allocations: 54.72 kB / 437.2 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.2894, allocations: 20.12 kB / 437.2 MB, free: 35.72 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.0001529/0.2895, allocations: 267.4 kB / 437.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.103e-05/0.2896, allocations: 57.78 kB / 437.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009341/0.2906, allocations: 0.5042 MB / 438 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2906, allocations: 3.156 kB / 438 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.2906, allocations: 0 / 438 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2906, allocations: 7.938 kB / 438 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.2921, allocations: 1.186 MB / 439.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2921, allocations: 0 / 439.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.2923, allocations: 63.05 kB / 439.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.356e-05/0.2924, allocations: 23.61 kB / 439.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.2924, allocations: 10.38 kB / 439.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005751/0.293, allocations: 1.385 MB / 440.7 MB, free: 33.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.293, allocations: 0 / 440.7 MB, free: 33.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.2943, allocations: 0.7921 MB / 441.5 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.2943, allocations: 142.1 kB / 441.6 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.2944, allocations: 7.156 kB / 441.6 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.2948, allocations: 47.36 kB / 441.7 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.2949, allocations: 30.5 kB / 441.7 MB, free: 32.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.2949, allocations: 13.38 kB / 441.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003599/0.2953, allocations: 415.2 kB / 442.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2953, allocations: 4 kB / 442.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006261/0.2959, allocations: 282 kB / 442.4 MB, free: 32.23 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.000811/0.2967, allocations: 373.6 kB / 442.8 MB, free: 32.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.2983, allocations: 1.196 MB / 444 MB, free: 31.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2984, allocations: 0 / 444 MB, free: 31.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000494/0.2989, allocations: 442 kB / 444.4 MB, free: 30.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.2994, allocations: 98.7 kB / 444.5 MB, free: 30.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.3011, allocations: 1.509 MB / 446 MB, free: 29.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3014, allocations: 0.9007 MB / 446.9 MB, free: 29.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002123/0.3016, allocations: 66.75 kB / 447 MB, free: 29.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.3017, allocations: 39.06 kB / 447 MB, free: 29.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3017, allocations: 0 / 447 MB, free: 29.23 MB / 350.1 MB Notification: Performance of Templates: time 0.009586/0.3113, allocations: 7.031 MB / 454 MB, free: 28.66 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)