Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00198/0.00198, allocations: 168.7 kB / 16.76 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007377/0.0007376, allocations: 88.98 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1848/0.1848, allocations: 38.07 MB / 357.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 16 kB / 423.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2813, allocations: 56.31 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.4324, allocations: 117 MB / 0.5833 GB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.4327, allocations: 99.94 kB / 0.5834 GB, free: 1.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1015/0.5342, allocations: 37.85 MB / 0.6203 GB, free: 10.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5343, allocations: 0 / 0.6203 GB, free: 10.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.641e-05/0.5344, allocations: 24 kB / 0.6204 GB, free: 10.84 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003131/0.5375, allocations: 1.424 MB / 0.6217 GB, free: 9.355 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.5376, allocations: 12.03 kB / 0.6218 GB, free: 9.344 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.539, allocations: 260.7 kB / 0.622 GB, free: 9.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/0.5416, allocations: 1.225 MB / 0.6232 GB, free: 7.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/0.5417, allocations: 86.03 kB / 0.6233 GB, free: 7.734 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.542, allocations: 115.9 kB / 0.6234 GB, free: 7.621 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.5443, allocations: 1.475 MB / 0.6248 GB, free: 6.074 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.5444, allocations: 3.906 kB / 0.6248 GB, free: 6.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.5445, allocations: 44 kB / 0.6249 GB, free: 6.027 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.5446, allocations: 90.17 kB / 0.625 GB, free: 5.938 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.5466, allocations: 1.234 MB / 0.6262 GB, free: 4.695 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007656/0.5543, allocations: 5.663 MB / 0.6317 GB, free: 14.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008618/0.5552, allocations: 0.5938 MB / 0.6323 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/0.5557, allocations: 395 kB / 0.6327 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.876e-05/0.5558, allocations: 16.48 kB / 0.6327 GB, free: 13.67 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.5558, allocations: 43.12 kB / 0.6327 GB, free: 13.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=67): time 3.426e-06/0.5558, allocations: 0 / 0.6327 GB, free: 13.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=74): time 0.007114/0.563, allocations: 3.539 MB / 0.6362 GB, free: 9.938 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.563, allocations: 85.77 kB / 0.6363 GB, free: 9.836 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008999/0.5639, allocations: 0.7235 MB / 0.637 GB, free: 9.105 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.564, allocations: 37.7 kB / 0.637 GB, free: 9.062 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.5644, allocations: 0.5957 MB / 0.6376 GB, free: 8.457 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.5647, allocations: 268.1 kB / 0.6378 GB, free: 8.191 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.5647, allocations: 16 kB / 0.6379 GB, free: 8.176 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5649, allocations: 410.7 kB / 0.6382 GB, free: 7.766 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/0.5655, allocations: 385.8 kB / 0.6386 GB, free: 7.387 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007467/0.5662, allocations: 0.6612 MB / 0.6393 GB, free: 6.602 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.5677, allocations: 1.128 MB / 0.6404 GB, free: 5.359 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.5677, allocations: 4 kB / 0.6404 GB, free: 5.355 MB / 474.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003281/0.571, allocations: 1.69 MB / 0.642 GB, free: 3.645 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.5711, allocations: 12 kB / 0.642 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002522/0.5736, allocations: 1.303 MB / 0.6433 GB, free: 2.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.5755, allocations: 0.5848 MB / 0.6439 GB, free: 1.723 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/0.5761, allocations: 167.7 kB / 0.644 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2159/0.792, allocations: 9.461 MB / 0.6533 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009045/0.7929, allocations: 50.48 kB / 0.6533 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/0.793, allocations: 43.5 kB / 0.6534 GB, free: 123.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 89 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007137/0.7937, allocations: 389.5 kB / 0.6537 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.7939, allocations: 89.52 kB / 0.6538 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/0.7962, allocations: 1.24 MB / 0.655 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.7963, allocations: 8.25 kB / 0.655 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.7963, allocations: 7.656 kB / 0.655 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.7963, allocations: 4.891 kB / 0.655 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/0.8007, allocations: 2.394 MB / 0.6574 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.8007, allocations: 3.5 kB / 0.6574 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/0.8012, allocations: 99.42 kB / 0.6575 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.8023, allocations: 381.8 kB / 0.6578 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/0.8024, allocations: 25.33 kB / 0.6579 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006612/0.809, allocations: 8.509 MB / 0.6662 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.8091, allocations: 5.047 kB / 0.6662 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.812, allocations: 1.665 MB / 0.6678 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004682/0.8125, allocations: 233.1 kB / 0.668 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.8126, allocations: 22.66 kB / 0.6681 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/0.8131, allocations: 32.95 kB / 0.6681 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.8133, allocations: 58.03 kB / 0.6681 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.8133, allocations: 28.02 kB / 0.6682 GB, free: 115.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007329/0.8141, allocations: 0.4971 MB / 0.6687 GB, free: 115.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.8141, allocations: 0 / 0.6687 GB, free: 115.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001451/0.8155, allocations: 361.9 kB / 0.669 GB, free: 115.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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: 2 (system.initime,$cse4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002882/0.8158, allocations: 181.7 kB / 0.6692 GB, free: 115.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.8182, allocations: 1.573 MB / 0.6707 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8182, allocations: 0.9688 kB / 0.6707 GB, free: 115.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.8197, allocations: 1.091 MB / 0.6718 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.8209, allocations: 193.3 kB / 0.672 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.8253, allocations: 3.397 MB / 0.6753 GB, free: 112.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008374/0.8262, allocations: 1.26 MB / 0.6765 GB, free: 111.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.8264, allocations: 70.19 kB / 0.6766 GB, free: 111.9 MB / 474.7 MB Notification: Performance of SimCode: time 7.42e-07/0.8264, allocations: 1.094 kB / 0.6766 GB, free: 111.9 MB / 474.7 MB Notification: Performance of Templates: time 0.03188/0.8583, allocations: 32.59 MB / 0.7084 GB, free: 104.8 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1)