Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 89.66 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.008194/0.008194, allocations: 173.2 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.494/1.494, 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.1803/0.1803, allocations: 7.664 MB / 299.1 MB, free: 3.387 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 8 kB / 362 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.09793, allocations: 52.16 MB / 414.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange2): time 0.005723/0.1037, allocations: 4.401 MB / 418.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004035/0.1077, allocations: 2.476 MB / 421 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.1081, allocations: 15.94 kB / 421 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.1086, allocations: 203 kB / 421.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005621/0.1091, allocations: 238.8 kB / 421.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009968/0.1101, allocations: 498.8 kB / 422 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.1112, allocations: 0.9467 MB / 422.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006773/0.1118, allocations: 447.1 kB / 423.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.1122, allocations: 286.6 kB / 423.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005986/0.1128, allocations: 370.1 kB / 424 MB, free: 268 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.658e-05/0.1129, allocations: 32 kB / 424 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.1132, allocations: 135.9 kB / 424.2 MB, free: 100 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1571/0.2704, allocations: 160.8 kB / 424.3 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004745/0.2709, allocations: 409.7 kB / 424.7 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009868/0.2719, allocations: 1.145 MB / 425.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2719, allocations: 0 / 425.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2719, allocations: 1.031 kB / 425.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.2719, allocations: 0 / 425.9 MB, free: 35.23 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001528/0.2735, allocations: 1.139 MB / 427 MB, free: 34.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2735, allocations: 10.34 kB / 427 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.2737, allocations: 100.6 kB / 427.1 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.2743, allocations: 0.5902 MB / 427.7 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.2744, allocations: 52.3 kB / 427.7 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.96e-05/0.2745, allocations: 73 kB / 427.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.2757, allocations: 0.7246 MB / 428.5 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.2757, allocations: 10.53 kB / 428.6 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.2758, allocations: 30.67 kB / 428.6 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.2758, allocations: 17.31 kB / 428.6 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.2769, allocations: 0.5284 MB / 429.1 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00313/0.2801, allocations: 2.647 MB / 431.8 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009359/0.281, allocations: 480.3 kB / 432.2 MB, free: 32.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/0.2815, allocations: 199.4 kB / 432.4 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.2815, allocations: 6.812 kB / 432.4 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006064/0.2821, allocations: 287.1 kB / 432.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.2821, allocations: 0 / 432.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001611/0.2837, allocations: 0.7975 MB / 433.5 MB, free: 32.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.2838, allocations: 196.5 kB / 433.7 MB, free: 32.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/0.2846, allocations: 0.7879 MB / 434.5 MB, free: 32.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.2847, allocations: 37.55 kB / 434.5 MB, free: 32.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.2849, allocations: 404.9 kB / 434.9 MB, free: 32.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.285, allocations: 121.7 kB / 435.1 MB, free: 31.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.2851, allocations: 47.03 kB / 435.1 MB, free: 31.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.2852, allocations: 376.3 kB / 435.5 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.2856, allocations: 188.3 kB / 435.7 MB, free: 31.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004516/0.2861, allocations: 313.6 kB / 436 MB, free: 31.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008691/0.2869, allocations: 0.6028 MB / 436.6 MB, free: 31.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.287, allocations: 3.25 kB / 436.6 MB, free: 31.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001153/0.2881, allocations: 0.6813 MB / 437.2 MB, free: 31.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.2882, allocations: 276.2 kB / 437.5 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2882, allocations: 3.312 kB / 437.5 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.2884, allocations: 26.25 kB / 437.5 MB, free: 30.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.2888, allocations: 109 kB / 437.7 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006663/0.2895, allocations: 1.279 MB / 438.9 MB, free: 29.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.2899, allocations: 93.31 kB / 439 MB, free: 29.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.29, allocations: 24.16 kB / 439 MB, free: 29.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.47e-06/0.29, allocations: 11.91 kB / 439.1 MB, free: 29.43 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/0.291, allocations: 0.5853 MB / 439.6 MB, free: 29.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.291, allocations: 3.219 kB / 439.6 MB, free: 29.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-05/0.2911, allocations: 29 kB / 439.7 MB, free: 29.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.2915, allocations: 96.8 kB / 439.8 MB, free: 29.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005853/0.2921, allocations: 1.286 MB / 441.1 MB, free: 28.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/0.2925, allocations: 76.59 kB / 441.1 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.2925, allocations: 27.31 kB / 441.2 MB, free: 28.03 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 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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.0003306/0.2929, allocations: 402.7 kB / 441.5 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.2929, allocations: 69.06 kB / 441.6 MB, free: 27.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.294, allocations: 0.5664 MB / 442.2 MB, free: 27.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.294, allocations: 10.44 kB / 442.2 MB, free: 27.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.294, allocations: 0 / 442.2 MB, free: 27.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.294, allocations: 3.469 kB / 442.2 MB, free: 27.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.2958, allocations: 1.313 MB / 443.5 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2958, allocations: 0 / 443.5 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.2961, allocations: 76.22 kB / 443.6 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-05/0.2962, allocations: 24.48 kB / 443.6 MB, free: 27.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.2962, allocations: 15.55 kB / 443.6 MB, free: 27.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005396/0.2968, allocations: 1.278 MB / 444.9 MB, free: 25.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2968, allocations: 4.703 kB / 444.9 MB, free: 25.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.2983, allocations: 0.8647 MB / 445.8 MB, free: 25.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.2984, allocations: 201.4 kB / 446 MB, free: 25.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.2985, allocations: 7.25 kB / 446 MB, free: 25.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.2989, allocations: 63.86 kB / 446 MB, free: 25.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.299, allocations: 31.05 kB / 446.1 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.2991, allocations: 14 kB / 446.1 MB, free: 25.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005381/0.2996, allocations: 0.5587 MB / 446.6 MB, free: 25.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2996, allocations: 3.656 kB / 446.6 MB, free: 25.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007551/0.3004, allocations: 327.1 kB / 447 MB, free: 25.06 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,oneFlange.pDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * 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.002359/0.3028, allocations: 0.6456 MB / 447.6 MB, free: 24.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.3045, allocations: 1.274 MB / 448.9 MB, free: 24.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3045, allocations: 0 / 448.9 MB, free: 24.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005616/0.3051, allocations: 459.7 kB / 449.3 MB, free: 23.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006702/0.3058, allocations: 116.2 kB / 449.4 MB, free: 23.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.3077, allocations: 1.811 MB / 451.3 MB, free: 22.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.3081, allocations: 0.9574 MB / 452.2 MB, free: 21.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.3083, allocations: 77.98 kB / 452.3 MB, free: 21.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.3085, allocations: 43.52 kB / 452.3 MB, free: 21.84 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3085, allocations: 4 kB / 452.3 MB, free: 21.83 MB / 350.1 MB Notification: Performance of Templates: time 0.01272/0.3212, allocations: 8.168 MB / 460.5 MB, free: 21.15 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange2.pipe 2>&1)