Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001622/0.001622, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.418/1.418, allocations: 194.2 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001721/0.001721, allocations: 128.6 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1573/0.1573, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.88e-05, allocations: 8 kB / 397.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3495, allocations: 53.21 MB / 450.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5424/0.892, allocations: 108.1 MB / 0.5457 GB, free: 29.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/0.8925, allocations: 98.45 kB / 0.5458 GB, free: 29.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07564/0.9681, allocations: 29.99 MB / 0.5751 GB, free: 21.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.9682, allocations: 3.938 kB / 0.5751 GB, free: 21.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.908e-05/0.9682, allocations: 23.44 kB / 0.5751 GB, free: 21.96 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001905/0.9701, allocations: 1.041 MB / 0.5761 GB, free: 21.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.9702, allocations: 7.719 kB / 0.5762 GB, free: 21.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009934/0.9712, allocations: 201.8 kB / 0.5763 GB, free: 21.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.974, allocations: 1.193 MB / 0.5775 GB, free: 20.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.974, allocations: 65.91 kB / 0.5776 GB, free: 20.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.9742, allocations: 84.25 kB / 0.5777 GB, free: 20.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.9757, allocations: 1.064 MB / 0.5787 GB, free: 20.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.9757, allocations: 15.7 kB / 0.5787 GB, free: 20.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.678e-05/0.9758, allocations: 29.34 kB / 0.5787 GB, free: 20.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-05/0.9759, allocations: 63.53 kB / 0.5788 GB, free: 20.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.9771, allocations: 0.8417 MB / 0.5796 GB, free: 20.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004412/0.9815, allocations: 4.001 MB / 0.5835 GB, free: 17.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.9821, allocations: 431.1 kB / 0.5839 GB, free: 17.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.9824, allocations: 266.4 kB / 0.5842 GB, free: 17.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.339e-05/0.9825, allocations: 12.11 kB / 0.5842 GB, free: 17.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.9825, allocations: 42.42 kB / 0.5842 GB, free: 17.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 3.667e-06/0.9825, allocations: 0 / 0.5842 GB, free: 17.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.002669/0.9852, allocations: 1.567 MB / 0.5858 GB, free: 16.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.9852, allocations: 96.39 kB / 0.5859 GB, free: 16.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.9858, allocations: 0.5089 MB / 0.5864 GB, free: 16.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.9858, allocations: 39.64 kB / 0.5864 GB, free: 16.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.986, allocations: 461.3 kB / 0.5868 GB, free: 15.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.9862, allocations: 195.5 kB / 0.587 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.9862, allocations: 10.5 kB / 0.587 GB, free: 15.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.9863, allocations: 385.5 kB / 0.5874 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.9867, allocations: 243.3 kB / 0.5876 GB, free: 15.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.9871, allocations: 470.8 kB / 0.5881 GB, free: 15.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.9875, allocations: 334.7 kB / 0.5884 GB, free: 15.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.9875, allocations: 0 / 0.5884 GB, free: 15.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001682/0.9892, allocations: 1.094 MB / 0.5895 GB, free: 14.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.9893, allocations: 15.7 kB / 0.5895 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001207/0.9905, allocations: 0.7873 MB / 0.5903 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/0.9911, allocations: 222 kB / 0.5905 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.9916, allocations: 152.8 kB / 0.5906 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004313/0.9959, allocations: 5.239 MB / 0.5957 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007521/0.9967, allocations: 33.97 kB / 0.5958 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.9968, allocations: 31.69 kB / 0.5958 GB, free: 10.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 78 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002203/0.997, allocations: 157.1 kB / 0.5959 GB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.9972, allocations: 68.84 kB / 0.596 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.9983, allocations: 0.6016 MB / 0.5966 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.9983, allocations: 11.73 kB / 0.5966 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.9983, allocations: 3.953 kB / 0.5966 GB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.9984, allocations: 4 kB / 0.5966 GB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/1.001, allocations: 1.482 MB / 0.5981 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.001, allocations: 3.875 kB / 0.5981 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/1.001, allocations: 123.6 kB / 0.5982 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.001, allocations: 3.812 kB / 0.5982 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/1.001, allocations: 18.73 kB / 0.5982 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.001, allocations: 3.812 kB / 0.5982 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.001, allocations: 4.062 kB / 0.5982 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/1.002, allocations: 0.9872 MB / 0.5992 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/1.003, allocations: 185.4 kB / 0.5994 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/1.003, allocations: 21.36 kB / 0.5994 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/1.003, allocations: 20.61 kB / 0.5994 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/1.003, allocations: 31.89 kB / 0.5994 GB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/1.003, allocations: 13.09 kB / 0.5994 GB, free: 8.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004679/1.004, allocations: 411.8 kB / 0.5998 GB, free: 8.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.004, allocations: 0 / 0.5998 GB, free: 8.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008842/1.005, allocations: 221 kB / 0.6 GB, free: 8.414 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.w,generator.phi_el,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002678/1.005, allocations: 156.9 kB / 0.6002 GB, free: 8.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001474/1.006, allocations: 1.017 MB / 0.6012 GB, free: 7.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.006, allocations: 3.406 kB / 0.6012 GB, free: 7.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/1.007, allocations: 263.7 kB / 0.6014 GB, free: 7.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/1.007, allocations: 131.1 kB / 0.6016 GB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/1.01, allocations: 1.668 MB / 0.6032 GB, free: 6.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/1.011, allocations: 1.104 MB / 0.6043 GB, free: 5.965 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005199/1.011, allocations: 188.5 kB / 0.6044 GB, free: 5.879 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/1.011, allocations: 50 kB / 0.6045 GB, free: 5.871 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/1.011, allocations: 0 / 0.6045 GB, free: 5.871 MB / 378.7 MB Notification: Performance of Templates: time 0.01477/1.026, allocations: 8.52 MB / 0.6128 GB, free: 13.98 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)