Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestOneFlange") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.0008109/0.0008109, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008646/0.0008646, allocations: 185.1 kB / 16.92 MB, free: 6.922 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.465/1.465, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1724/0.1724, allocations: 8.022 MB / 300.1 MB, free: 3.434 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 8.188 kB / 363 MB, free: 13.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09792/0.09824, allocations: 52.19 MB / 415.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004587/0.1029, allocations: 3.713 MB / 419 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.1052, allocations: 1.388 MB / 420.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.1055, allocations: 8 kB / 420.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.1059, allocations: 123.3 kB / 420.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004649/0.1064, allocations: 159 kB / 420.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006934/0.1071, allocations: 343.6 kB / 421 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007623/0.1079, allocations: 0.7553 MB / 421.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000607/0.1085, allocations: 394.4 kB / 422.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.1088, allocations: 226.9 kB / 422.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.1092, allocations: 286.5 kB / 422.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.301e-05/0.1092, allocations: 32 kB / 422.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.1094, allocations: 55.98 kB / 422.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.1096, allocations: 139.4 kB / 422.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.1099, allocations: 343.9 kB / 423.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007/0.1106, allocations: 0.7753 MB / 423.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1106, allocations: 0 / 423.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1106, allocations: 0 / 423.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1106, allocations: 0 / 423.9 MB, free: 0.9453 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.1941/0.3047, allocations: 0.9724 MB / 424.9 MB, free: 42.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3048, allocations: 12.28 kB / 424.9 MB, free: 42.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.305, allocations: 78.44 kB / 425 MB, free: 42.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/0.3056, allocations: 0.4926 MB / 425.5 MB, free: 42.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.3057, allocations: 47.56 kB / 425.5 MB, free: 42.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.454e-05/0.3058, allocations: 66.92 kB / 425.6 MB, free: 42.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.307, allocations: 0.6674 MB / 426.3 MB, free: 42.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.307, allocations: 1.375 kB / 426.3 MB, free: 42.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/0.3071, allocations: 33.41 kB / 426.3 MB, free: 42.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3071, allocations: 14.84 kB / 426.3 MB, free: 42.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.3082, allocations: 0.4999 MB / 426.8 MB, free: 42.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.3112, allocations: 2.534 MB / 429.4 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009323/0.3122, allocations: 458.6 kB / 429.8 MB, free: 40.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.3126, allocations: 192.8 kB / 430 MB, free: 40.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.813e-05/0.3127, allocations: 5.391 kB / 430 MB, free: 40.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006121/0.3133, allocations: 267.9 kB / 430.3 MB, free: 40.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.3133, allocations: 0.6562 kB / 430.3 MB, free: 40.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00157/0.3149, allocations: 0.7318 MB / 431 MB, free: 40.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.3149, allocations: 139.3 kB / 431.1 MB, free: 40.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000584/0.3155, allocations: 0.5562 MB / 431.7 MB, free: 40.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.3156, allocations: 32.98 kB / 431.7 MB, free: 40.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.3158, allocations: 337.8 kB / 432 MB, free: 40.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.3159, allocations: 108.1 kB / 432.1 MB, free: 40.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.3159, allocations: 41.22 kB / 432.2 MB, free: 40.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.316, allocations: 361.7 kB / 432.5 MB, free: 39.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.3165, allocations: 168.3 kB / 432.7 MB, free: 39.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.3169, allocations: 279.7 kB / 433 MB, free: 39.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.3178, allocations: 0.5631 MB / 433.5 MB, free: 39.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3178, allocations: 3.281 kB / 433.5 MB, free: 39.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001062/0.3189, allocations: 0.6276 MB / 434.2 MB, free: 38.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.814e-05/0.319, allocations: 257 kB / 434.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.319, allocations: 6.906 kB / 434.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.3192, allocations: 24.69 kB / 434.5 MB, free: 38.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.3195, allocations: 86.11 kB / 434.5 MB, free: 38.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006741/0.3202, allocations: 1.291 MB / 435.8 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.3206, allocations: 90.75 kB / 435.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.3206, allocations: 14.33 kB / 435.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.24e-06/0.3207, allocations: 3.156 kB / 435.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009229/0.3216, allocations: 0.5475 MB / 436.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3216, allocations: 3.094 kB / 436.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.418e-05/0.3217, allocations: 25.31 kB / 436.5 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.322, allocations: 79 kB / 436.6 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005693/0.3225, allocations: 1.287 MB / 437.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.3229, allocations: 82.81 kB / 438 MB, free: 35.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.323, allocations: 18.69 kB / 438 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 (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.0002894/0.3233, allocations: 363.5 kB / 438.3 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.3233, allocations: 55.75 kB / 438.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.3243, allocations: 0.5174 MB / 438.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3244, allocations: 3.219 kB / 438.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3244, allocations: 0 / 438.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.3244, allocations: 3.281 kB / 438.9 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.3259, allocations: 1.155 MB / 440.1 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3259, allocations: 0 / 440.1 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.3262, allocations: 72.73 kB / 440.1 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.285e-05/0.3263, allocations: 22.08 kB / 440.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.3263, allocations: 10.38 kB / 440.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006027/0.3269, allocations: 1.284 MB / 441.4 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3269, allocations: 3.25 kB / 441.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.3283, allocations: 0.811 MB / 442.3 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/0.3284, allocations: 150.1 kB / 442.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.3285, allocations: 17.91 kB / 442.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/0.3289, allocations: 50.91 kB / 442.5 MB, free: 32.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/0.329, allocations: 35.09 kB / 442.5 MB, free: 32.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.329, allocations: 13.69 kB / 442.5 MB, free: 32.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003834/0.3294, allocations: 405.4 kB / 442.9 MB, free: 32.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3294, allocations: 2.625 kB / 442.9 MB, free: 32.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007229/0.3301, allocations: 265.4 kB / 443.2 MB, free: 32.09 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.0008292/0.331, allocations: 361.7 kB / 443.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.3327, allocations: 1.208 MB / 444.7 MB, free: 31.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3328, allocations: 0 / 444.7 MB, free: 31.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000563/0.3333, allocations: 446.6 kB / 445.2 MB, free: 30.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006165/0.334, allocations: 83.5 kB / 445.3 MB, free: 30.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3359, allocations: 1.525 MB / 446.8 MB, free: 29.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3362, allocations: 0.8948 MB / 447.7 MB, free: 29.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3363, allocations: 34.66 kB / 447.7 MB, free: 29.12 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3363, allocations: 0 / 447.7 MB, free: 29.12 MB / 350.1 MB Notification: Performance of Templates: time 0.01111/0.3474, allocations: 10.1 MB / 457.8 MB, free: 28.07 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.pipe 2>&1)