Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 180.6 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.2 MB / 239.7 MB, free: 1.801 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009075/0.0009073, allocations: 94.11 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05009/0.05009, allocations: 8.109 MB / 350.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004076, allocations: 8.406 kB / 413.1 MB, free: 89.8 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 52.53 MB / 465.6 MB, free: 42.11 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3481/0.4566, allocations: 81.81 MB / 0.5346 GB, free: 16.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.4568, allocations: 71.72 kB / 0.5347 GB, free: 16.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02664/0.4835, allocations: 10.19 MB / 0.5446 GB, free: 31.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4835, allocations: 3.875 kB / 0.5446 GB, free: 31.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.005e-05/0.4836, allocations: 3.875 kB / 0.5446 GB, free: 31.61 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002562/0.4861, allocations: 0.8413 MB / 0.5454 GB, free: 31.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4862, allocations: 7.75 kB / 0.5455 GB, free: 31.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.4864, allocations: 39 kB / 0.5455 GB, free: 31.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.4869, allocations: 304.3 kB / 0.5458 GB, free: 30.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.4871, allocations: 97.77 kB / 0.5459 GB, free: 30.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.4872, allocations: 29.59 kB / 0.5459 GB, free: 30.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.4888, allocations: 0.7287 MB / 0.5466 GB, free: 30.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.4888, allocations: 3.938 kB / 0.5466 GB, free: 30.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.859e-05/0.4889, allocations: 10.72 kB / 0.5466 GB, free: 30.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.4889, allocations: 7.719 kB / 0.5466 GB, free: 30.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009632/0.4899, allocations: 468.6 kB / 0.5471 GB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.4921, allocations: 1.622 MB / 0.5487 GB, free: 29.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.4936, allocations: 0.7346 MB / 0.5494 GB, free: 29.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.575e-05/0.4937, allocations: 8.547 kB / 0.5494 GB, free: 29.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004048/0.4941, allocations: 278.9 kB / 0.5497 GB, free: 29.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.246e-06/0.4941, allocations: 0 / 0.5497 GB, free: 29.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.003322/0.4974, allocations: 1.203 MB / 0.5508 GB, free: 29.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.4975, allocations: 143.1 kB / 0.551 GB, free: 29.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.4978, allocations: 209.2 kB / 0.5512 GB, free: 29.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.4979, allocations: 31.7 kB / 0.5512 GB, free: 29.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.498, allocations: 157.8 kB / 0.5513 GB, free: 29.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.22e-05/0.4981, allocations: 112.3 kB / 0.5515 GB, free: 28.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.4981, allocations: 9.531 kB / 0.5515 GB, free: 28.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.4982, allocations: 337.6 kB / 0.5518 GB, free: 28.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.4985, allocations: 173.9 kB / 0.552 GB, free: 28.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.4988, allocations: 297.8 kB / 0.5522 GB, free: 28.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.499, allocations: 199.1 kB / 0.5524 GB, free: 28.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4991, allocations: 3.875 kB / 0.5524 GB, free: 28.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001325/0.5004, allocations: 0.6833 MB / 0.5531 GB, free: 28.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5004, allocations: 4.5 kB / 0.5531 GB, free: 28.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.5004, allocations: 3.781 kB / 0.5531 GB, free: 28.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/0.5026, allocations: 451.6 kB / 0.5535 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.5029, allocations: 74.09 kB / 0.5536 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.5044, allocations: 0.8877 MB / 0.5545 GB, free: 27.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.5048, allocations: 40.55 kB / 0.5545 GB, free: 27.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/0.5048, allocations: 19.25 kB / 0.5545 GB, free: 27.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {6 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002855/0.5051, allocations: 165.7 kB / 0.5547 GB, free: 27.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00074/0.5059, allocations: 263.5 kB / 0.5549 GB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.507, allocations: 0.5638 MB / 0.5555 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.507, allocations: 5.5 kB / 0.5555 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.507, allocations: 1.797 kB / 0.5555 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.507, allocations: 2.922 kB / 0.5555 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.5105, allocations: 1.52 MB / 0.557 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/0.5105, allocations: 7.828 kB / 0.557 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.5109, allocations: 89.3 kB / 0.5571 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.5129, allocations: 433.8 kB / 0.5575 GB, free: 27.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/0.513, allocations: 10.62 kB / 0.5575 GB, free: 27.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.5143, allocations: 0.8794 MB / 0.5584 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5143, allocations: 1.812 kB / 0.5584 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.5168, allocations: 1.028 MB / 0.5594 GB, free: 26.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.5169, allocations: 122 kB / 0.5595 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.517, allocations: 13.08 kB / 0.5595 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/0.5175, allocations: 45.55 kB / 0.5595 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/0.5176, allocations: 30.22 kB / 0.5596 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.5177, allocations: 16.64 kB / 0.5596 GB, free: 26.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002035/0.5179, allocations: 182.3 kB / 0.5598 GB, free: 26.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5179, allocations: 4 kB / 0.5598 GB, free: 26.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005602/0.5185, allocations: 110 kB / 0.5599 GB, free: 26.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {6 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000259/0.5187, allocations: 121.4 kB / 0.56 GB, free: 26.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.5206, allocations: 0.6201 MB / 0.5606 GB, free: 26.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5207, allocations: 1.562 kB / 0.5606 GB, free: 26.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.5217, allocations: 316.5 kB / 0.5609 GB, free: 25.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006751/0.5224, allocations: 156.7 kB / 0.561 GB, free: 25.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.5249, allocations: 0.9357 MB / 0.562 GB, free: 25.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.5252, allocations: 0.7894 MB / 0.5627 GB, free: 24.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.5255, allocations: 44.12 kB / 0.5628 GB, free: 24.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.5256, allocations: 29.41 kB / 0.5628 GB, free: 24.86 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5256, allocations: 0 / 0.5628 GB, free: 24.86 MB / 378.7 MB Notification: Performance of Templates: time 0.01277/0.5383, allocations: 5.249 MB / 0.5679 GB, free: 24.54 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1)