Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007003/0.0007003, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.0007467/0.0007468, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1502/0.1502, allocations: 8.025 MB / 299.5 MB, free: 3.266 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 12.23 kB / 362.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09056/0.09086, allocations: 52.2 MB / 414.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004473/0.09537, allocations: 3.744 MB / 418.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.0975, allocations: 1.391 MB / 419.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.09774, allocations: 19.88 kB / 419.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.0981, allocations: 115.3 kB / 419.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004351/0.09855, allocations: 163 kB / 420 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.09916, allocations: 347.1 kB / 420.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000629/0.0998, allocations: 0.7597 MB / 421.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005549/0.1004, allocations: 435.1 kB / 421.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.1006, allocations: 238.9 kB / 421.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.1009, allocations: 282.5 kB / 422 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.736e-05/0.101, allocations: 35.94 kB / 422.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1011, allocations: 67.97 kB / 422.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.1012, allocations: 131.4 kB / 422.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.1015, allocations: 351.8 kB / 422.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.1022, allocations: 0.938 MB / 423.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1022, allocations: 0 / 423.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1022, allocations: 0 / 423.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1023, allocations: 0 / 423.6 MB, free: 0.6719 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.1606/0.2628, allocations: 0.9899 MB / 424.5 MB, free: 42.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2629, allocations: 9.375 kB / 424.6 MB, free: 42.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.2631, allocations: 82.91 kB / 424.6 MB, free: 42.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.2637, allocations: 0.4966 MB / 425.1 MB, free: 41.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.2637, allocations: 51.31 kB / 425.2 MB, free: 41.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/0.2638, allocations: 69.75 kB / 425.3 MB, free: 41.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.2649, allocations: 0.687 MB / 425.9 MB, free: 41.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.265, allocations: 0 / 425.9 MB, free: 41.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.265, allocations: 30.5 kB / 426 MB, free: 41.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.265, allocations: 15.55 kB / 426 MB, free: 41.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009843/0.266, allocations: 0.5145 MB / 426.5 MB, free: 41.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.2689, allocations: 2.614 MB / 429.1 MB, free: 40.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008335/0.2697, allocations: 458.7 kB / 429.6 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.2701, allocations: 190.7 kB / 429.7 MB, free: 40.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.2702, allocations: 3.328 kB / 429.7 MB, free: 40.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005129/0.2707, allocations: 270.2 kB / 430 MB, free: 40.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.2707, allocations: 0 / 430 MB, free: 40.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00145/0.2721, allocations: 0.7325 MB / 430.7 MB, free: 40.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.2722, allocations: 137.2 kB / 430.9 MB, free: 40.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/0.2727, allocations: 0.5616 MB / 431.4 MB, free: 40.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.2728, allocations: 36.98 kB / 431.5 MB, free: 39.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.273, allocations: 342.3 kB / 431.8 MB, free: 39.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.273, allocations: 111.3 kB / 431.9 MB, free: 39.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.2731, allocations: 41.77 kB / 432 MB, free: 39.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.2732, allocations: 361.2 kB / 432.3 MB, free: 39.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.2736, allocations: 172.7 kB / 432.5 MB, free: 39.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.274, allocations: 277.2 kB / 432.8 MB, free: 39.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007543/0.2747, allocations: 0.5564 MB / 433.3 MB, free: 38.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2747, allocations: 0 / 433.3 MB, free: 38.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001041/0.2758, allocations: 0.6236 MB / 433.9 MB, free: 38.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.332e-05/0.2759, allocations: 263.8 kB / 434.2 MB, free: 38.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.2759, allocations: 3.344 kB / 434.2 MB, free: 38.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.2761, allocations: 24.3 kB / 434.2 MB, free: 38.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.2764, allocations: 93.66 kB / 434.3 MB, free: 38.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006742/0.2771, allocations: 1.283 MB / 435.6 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/0.2775, allocations: 89.75 kB / 435.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.2775, allocations: 17.12 kB / 435.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.801e-06/0.2775, allocations: 6.688 kB / 435.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009063/0.2784, allocations: 0.5486 MB / 436.3 MB, free: 36.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2784, allocations: 4.5 kB / 436.3 MB, free: 36.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.357e-05/0.2785, allocations: 24.05 kB / 436.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.2788, allocations: 84.12 kB / 436.4 MB, free: 36.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005464/0.2793, allocations: 1.289 MB / 437.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.2797, allocations: 76.52 kB / 437.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.2797, allocations: 16.17 kB / 437.7 MB, free: 35.17 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,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.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.0002905/0.28, allocations: 368 kB / 438.1 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.2801, allocations: 52.41 kB / 438.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009923/0.2811, allocations: 0.517 MB / 438.7 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2811, allocations: 3.438 kB / 438.7 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.2811, allocations: 4 kB / 438.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2811, allocations: 6.844 kB / 438.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.2826, allocations: 1.171 MB / 439.9 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.2826, allocations: 3.938 kB / 439.9 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.2829, allocations: 68.52 kB / 439.9 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.197e-05/0.2829, allocations: 21.77 kB / 439.9 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.283, allocations: 10.41 kB / 440 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005368/0.2835, allocations: 1.284 MB / 441.2 MB, free: 32.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2835, allocations: 3.188 kB / 441.2 MB, free: 32.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.2849, allocations: 0.8233 MB / 442.1 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.285, allocations: 128.1 kB / 442.2 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.285, allocations: 10.75 kB / 442.2 MB, free: 31.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.2854, allocations: 58.09 kB / 442.3 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.2855, allocations: 31.3 kB / 442.3 MB, free: 31.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.2855, allocations: 17.97 kB / 442.3 MB, free: 31.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003309/0.2859, allocations: 402 kB / 442.7 MB, free: 31.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2859, allocations: 0 / 442.7 MB, free: 31.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006359/0.2865, allocations: 278.8 kB / 443 MB, free: 31.71 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,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.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.000817/0.2874, allocations: 366.2 kB / 443.3 MB, free: 31.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.2889, allocations: 1.217 MB / 444.5 MB, free: 30.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.289, allocations: 0 / 444.5 MB, free: 30.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005132/0.2895, allocations: 441.3 kB / 445 MB, free: 30.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.29, allocations: 78.14 kB / 445.1 MB, free: 30.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.2918, allocations: 1.544 MB / 446.6 MB, free: 29.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.2922, allocations: 0.9017 MB / 447.5 MB, free: 28.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.2924, allocations: 60.84 kB / 447.6 MB, free: 28.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.2925, allocations: 36.45 kB / 447.6 MB, free: 28.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2925, allocations: 0 / 447.6 MB, free: 28.73 MB / 350.1 MB Notification: Performance of Templates: time 0.009817/0.3023, allocations: 6.452 MB / 454 MB, free: 28.2 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)