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.001013/0.001013, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001302/0.001302, allocations: 172.7 kB / 15.95 MB, free: 192 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.287/1.287, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1485/0.1485, allocations: 8.02 MB / 299.1 MB, free: 3.387 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 8 kB / 361.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08122/0.08153, allocations: 52.18 MB / 414 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange): time 0.004072/0.08563, allocations: 3.54 MB / 417.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.0878, allocations: 1.318 MB / 418.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.08807, allocations: 12 kB / 418.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.0884, allocations: 123.3 kB / 418.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.08879, allocations: 159 kB / 419.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.08935, allocations: 251 kB / 419.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006525/0.09001, allocations: 0.728 MB / 420.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000433/0.09045, allocations: 311.9 kB / 420.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.0907, allocations: 231 kB / 420.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.09099, allocations: 254.8 kB / 420.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.973e-05/0.09106, allocations: 32 kB / 420.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.09119, allocations: 63.92 kB / 420.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.09135, allocations: 139.4 kB / 421.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.09148, allocations: 153.3 kB / 421.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006337/0.09212, allocations: 0.7637 MB / 422 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.09213, allocations: 0 / 422 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09214, allocations: 0 / 422 MB, free: 1.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.09215, allocations: 0 / 422 MB, free: 1.977 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.001449/0.09361, allocations: 0.9968 MB / 423 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.09364, allocations: 11.97 kB / 423 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.09377, allocations: 83.06 kB / 423.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.09434, allocations: 480.7 kB / 423.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.0944, allocations: 53.31 kB / 423.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.0945, allocations: 67.91 kB / 423.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1766/0.2711, allocations: 0.6549 MB / 424.3 MB, free: 42.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.2712, allocations: 5.062 kB / 424.3 MB, free: 42.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.2713, allocations: 30.52 kB / 424.4 MB, free: 42.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.2713, allocations: 14.53 kB / 424.4 MB, free: 42.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.2733, allocations: 0.4977 MB / 424.9 MB, free: 42.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005213/0.2785, allocations: 2.541 MB / 427.4 MB, free: 41.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.2801, allocations: 446.4 kB / 427.9 MB, free: 41.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/0.2808, allocations: 185.5 kB / 428 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.2809, allocations: 3.578 kB / 428 MB, free: 41.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009174/0.2818, allocations: 267.1 kB / 428.3 MB, free: 40.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 3.547e-06/0.2818, allocations: 0 / 428.3 MB, free: 40.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.002657/0.2845, allocations: 0.7349 MB / 429 MB, free: 40.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2846, allocations: 137.9 kB / 429.2 MB, free: 40.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008983/0.2855, allocations: 0.5519 MB / 429.7 MB, free: 40.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.2855, allocations: 35.27 kB / 429.8 MB, free: 40.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.2859, allocations: 331.1 kB / 430.1 MB, free: 40.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.286, allocations: 114.5 kB / 430.2 MB, free: 40.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.2861, allocations: 9.438 kB / 430.2 MB, free: 40.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2862, allocations: 361.7 kB / 430.6 MB, free: 39.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007271/0.2869, allocations: 164.3 kB / 430.7 MB, free: 39.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007628/0.2877, allocations: 279.7 kB / 431 MB, free: 39.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/0.2885, allocations: 263.5 kB / 431.2 MB, free: 39.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2885, allocations: 4 kB / 431.2 MB, free: 39.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001923/0.2905, allocations: 0.6159 MB / 431.9 MB, free: 39.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.2906, allocations: 257.3 kB / 432.1 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2906, allocations: 5.5 kB / 432.1 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/0.2909, allocations: 28.03 kB / 432.1 MB, free: 39.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.2915, allocations: 96.34 kB / 432.2 MB, free: 39.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.2925, allocations: 1.286 MB / 433.5 MB, free: 37.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007246/0.2932, allocations: 88.97 kB / 433.6 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/0.2933, allocations: 17.42 kB / 433.6 MB, free: 37.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.2933, allocations: 3.125 kB / 433.6 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001696/0.295, allocations: 0.5446 MB / 434.2 MB, free: 37.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2951, allocations: 7.25 kB / 434.2 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/0.2952, allocations: 25.11 kB / 434.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.2958, allocations: 84.8 kB / 434.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008774/0.2967, allocations: 1.28 MB / 435.6 MB, free: 36.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006495/0.2973, allocations: 74.33 kB / 435.6 MB, free: 36.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.2974, allocations: 16.59 kB / 435.7 MB, free: 36.16 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,$PRE.tauRef.T_start,tauRef.T_start,$PRE.tauRef.count,tauRef.count,oneFlange.limTau.state,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 (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.0004272/0.2978, allocations: 360 kB / 436 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.813e-05/0.2979, allocations: 60.22 kB / 436.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.2997, allocations: 0.5152 MB / 436.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2997, allocations: 6.219 kB / 436.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2997, allocations: 0.6875 kB / 436.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.2997, allocations: 0 / 436.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.3023, allocations: 1.161 MB / 437.8 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3023, allocations: 1.75 kB / 437.8 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.3029, allocations: 69.52 kB / 437.8 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.303, allocations: 24.2 kB / 437.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.3031, allocations: 10.5 kB / 437.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008946/0.304, allocations: 1.291 MB / 439.2 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.304, allocations: 0 / 439.2 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.3063, allocations: 0.8033 MB / 440 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.3064, allocations: 131.8 kB / 440.1 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3066, allocations: 14.39 kB / 440.1 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/0.3072, allocations: 56.41 kB / 440.2 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.3074, allocations: 34.7 kB / 440.2 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.3075, allocations: 12.77 kB / 440.2 MB, free: 32.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006623/0.3081, allocations: 401 kB / 440.6 MB, free: 32.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3082, allocations: 4 kB / 440.6 MB, free: 32.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00128/0.3095, allocations: 269.5 kB / 440.9 MB, free: 32.73 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 (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.001386/0.3109, allocations: 358.5 kB / 441.2 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002884/0.3138, allocations: 1.213 MB / 442.4 MB, free: 31.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3138, allocations: 7.312 kB / 442.4 MB, free: 31.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009754/0.3148, allocations: 443.2 kB / 442.9 MB, free: 31.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009547/0.3157, allocations: 83.73 kB / 442.9 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.3186, allocations: 1.429 MB / 444.4 MB, free: 30.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.319, allocations: 0.8885 MB / 445.3 MB, free: 29.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004216/0.3194, allocations: 71.53 kB / 445.3 MB, free: 29.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.3196, allocations: 32.81 kB / 445.4 MB, free: 29.85 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3196, allocations: 0 / 445.4 MB, free: 29.85 MB / 350.1 MB Notification: Performance of Templates: time 0.01663/0.3363, allocations: 6.256 MB / 451.6 MB, free: 29.31 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)