Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.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.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002125/0.002125, allocations: 173.5 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.588/2.588, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0009843/0.0009841, allocations: 94.41 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.2206/0.2206, allocations: 38.07 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004405, allocations: 16 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3244, allocations: 56.32 MB / 480.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.4916, allocations: 95.15 MB / 0.5619 GB, free: 7.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.4919, allocations: 83.95 kB / 0.562 GB, free: 7.121 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03736/0.5293, allocations: 10.19 MB / 0.5719 GB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.421e-06/0.5294, allocations: 4 kB / 0.572 GB, free: 12.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.864e-05/0.5294, allocations: 12 kB / 0.572 GB, free: 12.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001833/0.5313, allocations: 0.7428 MB / 0.5727 GB, free: 12.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.5313, allocations: 8.031 kB / 0.5727 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/0.5316, allocations: 52.38 kB / 0.5727 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.5335, allocations: 0.6874 MB / 0.5734 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.5335, allocations: 34.11 kB / 0.5735 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.5336, allocations: 36 kB / 0.5735 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.5347, allocations: 455.3 kB / 0.5739 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.5347, allocations: 0 / 0.5739 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.216e-05/0.5348, allocations: 19.98 kB / 0.5739 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.5348, allocations: 8 kB / 0.5739 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007105/0.5355, allocations: 308.7 kB / 0.5742 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.5383, allocations: 1.76 MB / 0.576 GB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.5386, allocations: 139.7 kB / 0.5761 GB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.5388, allocations: 58.56 kB / 0.5761 GB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.5388, allocations: 8 kB / 0.5762 GB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.5389, allocations: 30.56 kB / 0.5762 GB, free: 8.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.5389, allocations: 0 / 0.5762 GB, free: 8.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001304/0.5402, allocations: 0.6076 MB / 0.5768 GB, free: 7.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.5403, allocations: 110.9 kB / 0.5769 GB, free: 7.391 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.5408, allocations: 365.5 kB / 0.5772 GB, free: 7.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.5408, allocations: 29.7 kB / 0.5773 GB, free: 6.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.5411, allocations: 283.3 kB / 0.5775 GB, free: 6.711 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/0.5411, allocations: 55.25 kB / 0.5776 GB, free: 6.656 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.5412, allocations: 4 kB / 0.5776 GB, free: 6.652 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5413, allocations: 350.8 kB / 0.5779 GB, free: 6.301 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.5415, allocations: 43.98 kB / 0.578 GB, free: 6.258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.5417, allocations: 202.5 kB / 0.5782 GB, free: 5.992 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.5421, allocations: 258.6 kB / 0.5784 GB, free: 5.672 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.5422, allocations: 4 kB / 0.5784 GB, free: 5.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000626/0.5428, allocations: 289.1 kB / 0.5787 GB, free: 5.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5428, allocations: 11.94 kB / 0.5787 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.5428, allocations: 8.609 kB / 0.5787 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.5429, allocations: 12 kB / 0.5787 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.5432, allocations: 71.84 kB / 0.5788 GB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.5433, allocations: 8 kB / 0.5788 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.5435, allocations: 19.84 kB / 0.5788 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.5436, allocations: 12.08 kB / 0.5788 GB, free: 5.238 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002618/0.5438, allocations: 181.6 kB / 0.579 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.723e-05/0.5439, allocations: 35.56 kB / 0.579 GB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.5443, allocations: 172.7 kB / 0.5792 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.5444, allocations: 4 kB / 0.5792 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5444, allocations: 0 / 0.5792 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.5444, allocations: 7.969 kB / 0.5792 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009564/0.5453, allocations: 0.5346 MB / 0.5797 GB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5454, allocations: 0 / 0.5797 GB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.5456, allocations: 39.92 kB / 0.5798 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5456, allocations: 4 kB / 0.5798 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.5457, allocations: 4 kB / 0.5798 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5457, allocations: 4.031 kB / 0.5798 GB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5457, allocations: 0 / 0.5798 GB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/0.5462, allocations: 401.4 kB / 0.5802 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.5464, allocations: 116.7 kB / 0.5803 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/0.5465, allocations: 0 / 0.5803 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.5467, allocations: 12 kB / 0.5803 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.5468, allocations: 7.984 kB / 0.5803 GB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.5468, allocations: 11.94 kB / 0.5803 GB, free: 3.605 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000345/0.5471, allocations: 247.2 kB / 0.5805 GB, free: 3.367 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5471, allocations: 0 / 0.5805 GB, free: 3.367 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006344/0.5478, allocations: 79.94 kB / 0.5806 GB, free: 3.289 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltage2.theta,ind2.i,ind1.i) * 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 simulation (18): * Single equations (assignments): 17 * 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.0001671/0.548, allocations: 111.1 kB / 0.5807 GB, free: 3.168 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003737/0.5484, allocations: 151.7 kB / 0.5809 GB, free: 3.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5484, allocations: 0 / 0.5809 GB, free: 3.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.5485, allocations: 55.95 kB / 0.5809 GB, free: 2.965 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000928/0.5495, allocations: 87.39 kB / 0.581 GB, free: 2.883 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.5516, allocations: 1.114 MB / 0.5821 GB, free: 1.727 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.5522, allocations: 0.8428 MB / 0.5829 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/0.5523, allocations: 35.42 kB / 0.5829 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5523, allocations: 4 kB / 0.5829 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of Templates: time 0.01035/0.5626, allocations: 4.581 MB / 0.5874 GB, free: 12.25 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)