Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.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.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 173 kB / 16.76 MB, free: 5.027 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.483/2.483, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.001155/0.001155, allocations: 95.38 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.2993/0.2993, allocations: 38.07 MB / 357.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003741, allocations: 15.98 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2636, allocations: 56.32 MB / 480.3 MB, free: 9.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.3909, allocations: 100.2 MB / 0.5669 GB, free: 2.102 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.3912, allocations: 83.95 kB / 0.567 GB, free: 2.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05172/0.4429, allocations: 12.22 MB / 0.5789 GB, free: 5.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.461e-06/0.4429, allocations: 0 / 0.5789 GB, free: 5.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.245e-05/0.443, allocations: 19.92 kB / 0.5789 GB, free: 5.641 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001937/0.445, allocations: 0.6728 MB / 0.5796 GB, free: 4.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.445, allocations: 12.03 kB / 0.5796 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008558/0.4459, allocations: 84.31 kB / 0.5797 GB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.4476, allocations: 0.538 MB / 0.5802 GB, free: 4.242 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/0.4477, allocations: 38.06 kB / 0.5802 GB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.4478, allocations: 36 kB / 0.5803 GB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.4493, allocations: 0.6091 MB / 0.5809 GB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.4493, allocations: 0 / 0.5809 GB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.4494, allocations: 24 kB / 0.5809 GB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.915e-05/0.4495, allocations: 28.98 kB / 0.5809 GB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.4507, allocations: 447.5 kB / 0.5813 GB, free: 3.008 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005128/0.4559, allocations: 2.868 MB / 0.5841 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.4565, allocations: 236.5 kB / 0.5844 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.4569, allocations: 145.9 kB / 0.5845 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.457, allocations: 8.219 kB / 0.5845 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.457, allocations: 50.42 kB / 0.5846 GB, free: 15.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 5.941e-06/0.457, allocations: 3.984 kB / 0.5846 GB, free: 15.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.00265/0.4597, allocations: 0.9692 MB / 0.5855 GB, free: 14.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.4598, allocations: 85.11 kB / 0.5856 GB, free: 14.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.4604, allocations: 320.5 kB / 0.5859 GB, free: 14.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.4604, allocations: 37.69 kB / 0.5859 GB, free: 14.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.4607, allocations: 267.3 kB / 0.5862 GB, free: 13.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.4609, allocations: 110.5 kB / 0.5863 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.4609, allocations: 8 kB / 0.5863 GB, free: 13.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.4611, allocations: 346.8 kB / 0.5866 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.4615, allocations: 141 kB / 0.5868 GB, free: 13.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.4621, allocations: 351.2 kB / 0.5871 GB, free: 12.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.4633, allocations: 0.5249 MB / 0.5876 GB, free: 12.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.4633, allocations: 0 / 0.5876 GB, free: 12.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00135/0.4647, allocations: 0.532 MB / 0.5881 GB, free: 11.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.4647, allocations: 8 kB / 0.5881 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.4648, allocations: 11.94 kB / 0.5882 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/0.4648, allocations: 8 kB / 0.5882 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.4655, allocations: 115.8 kB / 0.5883 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.4656, allocations: 11.94 kB / 0.5883 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/0.466, allocations: 20.42 kB / 0.5883 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.4661, allocations: 31.98 kB / 0.5883 GB, free: 11.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (57): * Single equations (assignments): 56 * Array equations: 1 * 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.0004144/0.4665, allocations: 209.6 kB / 0.5885 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.4666, allocations: 35.56 kB / 0.5886 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009779/0.4676, allocations: 349.4 kB / 0.5889 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/0.4677, allocations: 8 kB / 0.5889 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.4677, allocations: 7.984 kB / 0.5889 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4677, allocations: 0 / 0.5889 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.4699, allocations: 0.8793 MB / 0.5898 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.47, allocations: 0 / 0.5898 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.4705, allocations: 63.91 kB / 0.5898 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.4705, allocations: 3.984 kB / 0.5898 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.4706, allocations: 8 kB / 0.5899 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.4706, allocations: 4 kB / 0.5899 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.4706, allocations: 8.031 kB / 0.5899 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.4719, allocations: 0.6042 MB / 0.5905 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.472, allocations: 104.7 kB / 0.5906 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.263e-05/0.4721, allocations: 4 kB / 0.5906 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.4725, allocations: 23.97 kB / 0.5906 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.4725, allocations: 27.84 kB / 0.5906 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.4726, allocations: 8 kB / 0.5906 GB, free: 8.914 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003567/0.4729, allocations: 219 kB / 0.5908 GB, free: 8.703 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.473, allocations: 3.938 kB / 0.5908 GB, free: 8.699 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000845/0.4738, allocations: 111.9 kB / 0.5909 GB, free: 8.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (29): * Single equations (assignments): 27 * Array equations: 1 * 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.0002346/0.4741, allocations: 123.2 kB / 0.5911 GB, free: 8.461 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009423/0.475, allocations: 365.1 kB / 0.5914 GB, free: 8.105 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.475, allocations: 0 / 0.5914 GB, free: 8.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.4754, allocations: 148.2 kB / 0.5915 GB, free: 7.961 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/0.4762, allocations: 65.62 kB / 0.5916 GB, free: 7.898 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.479, allocations: 1.275 MB / 0.5928 GB, free: 6.578 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007055/0.4798, allocations: 0.8549 MB / 0.5937 GB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.48, allocations: 35.44 kB / 0.5937 GB, free: 5.66 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.48, allocations: 0 / 0.5937 GB, free: 5.66 MB / 426.7 MB Notification: Performance of Templates: time 0.01203/0.492, allocations: 4.931 MB / 0.5985 GB, free: 0.7266 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1)