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.001102/0.001102, allocations: 187.5 kB / 8.352 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.336/1.336, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001629/0.001629, allocations: 120.8 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1728/0.1728, allocations: 37.93 MB / 330.9 MB, free: 7.305 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.172e-05/1.181e-05, allocations: 4 kB / 390.4 MB, free: 78.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0802/0.08023, allocations: 53.24 MB / 443.6 MB, free: 25.1 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.378/0.4582, allocations: 107.4 MB / 0.5381 GB, free: 1.082 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4585, allocations: 87.95 kB / 0.5382 GB, free: 1.039 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08205/0.5406, allocations: 29.72 MB / 0.5672 GB, free: 8.047 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5406, allocations: 0 / 0.5672 GB, free: 8.047 MB / 379.1 MB Notification: Performance of Transformations before backend: time 5.122e-05/0.5407, allocations: 16 kB / 0.5672 GB, free: 8.031 MB / 379.1 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.001908/0.5426, allocations: 1.047 MB / 0.5682 GB, free: 6.992 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5427, allocations: 12.03 kB / 0.5682 GB, free: 6.98 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.5437, allocations: 194.6 kB / 0.5684 GB, free: 6.789 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/0.5471, allocations: 1.2 MB / 0.5696 GB, free: 5.754 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.5472, allocations: 28 kB / 0.5696 GB, free: 5.727 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.5474, allocations: 55.98 kB / 0.5697 GB, free: 5.672 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001308/0.5487, allocations: 0.7007 MB / 0.5703 GB, free: 5.203 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.5502, allocations: 0.9504 MB / 0.5713 GB, free: 4.441 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/0.5503, allocations: 15.39 kB / 0.5713 GB, free: 4.43 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-05/0.5504, allocations: 0 / 0.5713 GB, free: 4.43 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.5505, allocations: 65.77 kB / 0.5714 GB, free: 4.367 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005277/0.5558, allocations: 3.823 MB / 0.5751 GB, free: 0.9414 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/0.5565, allocations: 0.4939 MB / 0.5756 GB, free: 0.5 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.5568, allocations: 275.5 kB / 0.5758 GB, free: 320 kB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.5569, allocations: 8.375 kB / 0.5758 GB, free: 312 kB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.5569, allocations: 45.25 kB / 0.5759 GB, free: 264 kB / 379.1 MB Notification: Performance of pre-optimization done (n=50): time 2.194e-06/0.5569, allocations: 0 / 0.5759 GB, free: 264 kB / 379.1 MB Notification: Performance of matching and sorting (n=54): time 0.002205/0.5591, allocations: 1.445 MB / 0.5773 GB, free: 15.01 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.5592, allocations: 81.55 kB / 0.5774 GB, free: 14.91 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.5597, allocations: 428.9 kB / 0.5778 GB, free: 14.57 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.5597, allocations: 25.7 kB / 0.5778 GB, free: 14.54 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.5601, allocations: 478.2 kB / 0.5783 GB, free: 14.18 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.5602, allocations: 189.5 kB / 0.5784 GB, free: 14.01 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.5603, allocations: 0 / 0.5784 GB, free: 14.01 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.5605, allocations: 374.8 kB / 0.5788 GB, free: 13.66 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.5608, allocations: 237.2 kB / 0.579 GB, free: 13.51 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.5612, allocations: 452.3 kB / 0.5795 GB, free: 13.07 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.5617, allocations: 323.1 kB / 0.5798 GB, free: 12.85 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.5617, allocations: 7.953 kB / 0.5798 GB, free: 12.84 MB / 395.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001738/0.5634, allocations: 1.037 MB / 0.5808 GB, free: 11.96 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.5635, allocations: 8 kB / 0.5808 GB, free: 11.96 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001239/0.5647, allocations: 0.7667 MB / 0.5815 GB, free: 11.33 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006883/0.5654, allocations: 225.3 kB / 0.5818 GB, free: 11.14 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.5659, allocations: 150.2 kB / 0.5819 GB, free: 11 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005607/0.5716, allocations: 5.253 MB / 0.587 GB, free: 5.438 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.572, allocations: 28.03 kB / 0.5871 GB, free: 5.41 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.5721, allocations: 32 kB / 0.5871 GB, free: 5.379 MB / 395.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: generator.psi_s[1]:DUMMY_STATE(unit = "Wb" protected = true ) "magnetic flux stator dq" type: Real [2] 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002632/0.5724, allocations: 136.2 kB / 0.5872 GB, free: 5.242 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5725, allocations: 67.16 kB / 0.5873 GB, free: 5.176 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.5735, allocations: 0.5728 MB / 0.5878 GB, free: 4.59 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.5736, allocations: 4 kB / 0.5878 GB, free: 4.586 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.5736, allocations: 0 / 0.5878 GB, free: 4.586 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.5736, allocations: 7.984 kB / 0.5879 GB, free: 4.578 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.5762, allocations: 1.355 MB / 0.5892 GB, free: 3.168 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.5762, allocations: 7.938 kB / 0.5892 GB, free: 3.16 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.5768, allocations: 127.9 kB / 0.5893 GB, free: 3.035 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.5769, allocations: 8 kB / 0.5893 GB, free: 3.027 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.5769, allocations: 12.14 kB / 0.5893 GB, free: 3.016 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.5769, allocations: 8 kB / 0.5893 GB, free: 3.008 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5769, allocations: 3.938 kB / 0.5893 GB, free: 3.004 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.5782, allocations: 0.9799 MB / 0.5903 GB, free: 1.949 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.5785, allocations: 180.2 kB / 0.5905 GB, free: 1.754 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.5786, allocations: 7.984 kB / 0.5905 GB, free: 1.746 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.5789, allocations: 15.98 kB / 0.5905 GB, free: 1.73 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.579, allocations: 36.33 kB / 0.5905 GB, free: 1.695 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.579, allocations: 16 kB / 0.5905 GB, free: 1.68 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0003484/0.5794, allocations: 326.9 kB / 0.5908 GB, free: 1.363 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5794, allocations: 0 / 0.5908 GB, free: 1.363 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0007777/0.5802, allocations: 196 kB / 0.591 GB, free: 1.172 MB / 395.1 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 (55): * Single equations (assignments): 54 * 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.000239/0.5804, allocations: 139.2 kB / 0.5912 GB, free: 1.027 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.5821, allocations: 0.9873 MB / 0.5921 GB, free: 12 kB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5821, allocations: 256 / 0.5921 GB, free: 12 kB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.5825, allocations: 257.5 kB / 0.5924 GB, free: 15.76 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000656/0.5832, allocations: 113.7 kB / 0.5925 GB, free: 15.65 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.5861, allocations: 1.656 MB / 0.5941 GB, free: 13.95 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/0.5868, allocations: 1.098 MB / 0.5952 GB, free: 12.82 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0005373/0.5873, allocations: 185.5 kB / 0.5954 GB, free: 12.64 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.5875, allocations: 51.44 kB / 0.5954 GB, free: 12.59 MB / 411.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5875, allocations: 0 / 0.5954 GB, free: 12.59 MB / 411.1 MB Notification: Performance of Templates: time 0.01378/0.6013, allocations: 7.557 MB / 0.6028 GB, free: 5.059 MB / 411.1 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)