Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.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.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008923/0.0008923, allocations: 97.64 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.005236/0.005236, allocations: 170.1 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.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.147/0.147, allocations: 8.02 MB / 299.5 MB, free: 3.352 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003995, allocations: 8 kB / 362.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.09777, allocations: 52.19 MB / 414.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.005697/0.1035, allocations: 3.713 MB / 418.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00287/0.1064, allocations: 1.376 MB / 419.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000402/0.1068, allocations: 15.94 kB / 419.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.1073, allocations: 115.3 kB / 419.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006364/0.1079, allocations: 171 kB / 420 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009132/0.1088, allocations: 343.5 kB / 420.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.1099, allocations: 0.7514 MB / 421.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007586/0.1106, allocations: 398.4 kB / 421.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003768/0.111, allocations: 227 kB / 421.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004383/0.1115, allocations: 282.5 kB / 421.9 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.089e-05/0.1116, allocations: 36 kB / 422 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.1118, allocations: 55.98 kB / 422 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.112, allocations: 139.4 kB / 422.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.1124, allocations: 343.8 kB / 422.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.1135, allocations: 0.9225 MB / 423.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1135, allocations: 0 / 423.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1135, allocations: 0 / 423.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.1136, allocations: 0 / 423.4 MB, free: 0.7969 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.153/0.2666, allocations: 0.9884 MB / 424.4 MB, free: 41.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2667, allocations: 8.812 kB / 424.4 MB, free: 41.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.2668, allocations: 81.81 kB / 424.5 MB, free: 41.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.2674, allocations: 499.6 kB / 425 MB, free: 41.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.2675, allocations: 52.25 kB / 425 MB, free: 41.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.061e-05/0.2676, allocations: 60.69 kB / 425.1 MB, free: 41.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.2687, allocations: 0.6649 MB / 425.8 MB, free: 41.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2688, allocations: 4 kB / 425.8 MB, free: 41.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/0.2688, allocations: 32.97 kB / 425.8 MB, free: 41.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2688, allocations: 14.53 kB / 425.8 MB, free: 41.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.2699, allocations: 0.5023 MB / 426.3 MB, free: 41.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/0.2728, allocations: 2.533 MB / 428.9 MB, free: 40.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008947/0.2737, allocations: 453.8 kB / 429.3 MB, free: 40.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.2741, allocations: 191 kB / 429.5 MB, free: 40.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.2741, allocations: 3.734 kB / 429.5 MB, free: 40.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005369/0.2747, allocations: 272.9 kB / 429.8 MB, free: 40.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.2747, allocations: 0 / 429.8 MB, free: 40.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001533/0.2762, allocations: 0.7299 MB / 430.5 MB, free: 39.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.2763, allocations: 144 kB / 430.6 MB, free: 39.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.2768, allocations: 0.5604 MB / 431.2 MB, free: 39.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.2768, allocations: 35.64 kB / 431.2 MB, free: 39.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.277, allocations: 326.2 kB / 431.5 MB, free: 39.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.31e-05/0.2771, allocations: 109.9 kB / 431.6 MB, free: 39.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.2771, allocations: 39.58 kB / 431.7 MB, free: 39.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.2772, allocations: 365.6 kB / 432 MB, free: 39.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.2776, allocations: 167.7 kB / 432.2 MB, free: 39.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.2781, allocations: 281.8 kB / 432.5 MB, free: 38.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008375/0.2789, allocations: 0.5632 MB / 433 MB, free: 38.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2789, allocations: 0 / 433 MB, free: 38.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001125/0.28, allocations: 0.6215 MB / 433.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.921e-05/0.2801, allocations: 259.1 kB / 433.9 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2801, allocations: 5.5 kB / 433.9 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.2803, allocations: 27.78 kB / 433.9 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.2806, allocations: 86.8 kB / 434 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000631/0.2813, allocations: 1.287 MB / 435.3 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.2817, allocations: 93.73 kB / 435.4 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.2817, allocations: 17.09 kB / 435.4 MB, free: 36.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.839e-06/0.2818, allocations: 3.125 kB / 435.4 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000936/0.2827, allocations: 0.5444 MB / 436 MB, free: 36.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2827, allocations: 3.406 kB / 436 MB, free: 36.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.47e-05/0.2828, allocations: 25.48 kB / 436 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.2831, allocations: 89.3 kB / 436.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005386/0.2836, allocations: 1.278 MB / 437.4 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.284, allocations: 83.42 kB / 437.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.2841, allocations: 16.94 kB / 437.5 MB, free: 35.19 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.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * 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.0002384/0.2843, allocations: 361 kB / 437.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.2844, allocations: 61.11 kB / 437.9 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.2854, allocations: 0.5228 MB / 438.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2854, allocations: 6.672 kB / 438.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.2854, allocations: 3.312 kB / 438.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.2854, allocations: 0 / 438.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.2869, allocations: 1.157 MB / 439.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2869, allocations: 0 / 439.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.2872, allocations: 62.45 kB / 439.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-05/0.2873, allocations: 22.3 kB / 439.6 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.2873, allocations: 10.75 kB / 439.7 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005163/0.2879, allocations: 1.293 MB / 441 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2879, allocations: 3.75 kB / 441 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.2893, allocations: 0.8153 MB / 441.8 MB, free: 32.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.2893, allocations: 135.6 kB / 441.9 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.2894, allocations: 14.75 kB / 441.9 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.2898, allocations: 56.47 kB / 442 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.2899, allocations: 28.2 kB / 442 MB, free: 32.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.2899, allocations: 9.844 kB / 442 MB, free: 32.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003427/0.2903, allocations: 412.3 kB / 442.4 MB, free: 31.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2903, allocations: 0 / 442.4 MB, free: 31.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000634/0.2909, allocations: 267.6 kB / 442.7 MB, free: 31.76 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.constPDC.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 (28): * Single equations (assignments): 23 * 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.0007438/0.2917, allocations: 356.6 kB / 443 MB, free: 31.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.2933, allocations: 1.203 MB / 444.2 MB, free: 30.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2933, allocations: 4.172 kB / 444.2 MB, free: 30.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.2939, allocations: 444.2 kB / 444.7 MB, free: 30.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.2944, allocations: 101.9 kB / 444.8 MB, free: 30.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.296, allocations: 1.503 MB / 446.3 MB, free: 29.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.2963, allocations: 0.895 MB / 447.2 MB, free: 28.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.2965, allocations: 55.48 kB / 447.2 MB, free: 28.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.02e-05/0.2966, allocations: 36.91 kB / 447.3 MB, free: 28.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2966, allocations: 0 / 447.3 MB, free: 28.8 MB / 350.1 MB Notification: Performance of Templates: time 0.009382/0.306, allocations: 6.445 MB / 453.7 MB, free: 28.26 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)