Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.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.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001822/0.001822, allocations: 171.6 kB / 16.76 MB, free: 4.91 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.135/2.135, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007255/0.0007255, allocations: 85.03 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.1714/0.1714, allocations: 38.08 MB / 357.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003633, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2958, allocations: 56.32 MB / 480.2 MB, free: 9.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4238, allocations: 100.2 MB / 0.5669 GB, free: 2.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.424, allocations: 83.97 kB / 0.567 GB, free: 2.023 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04836/0.4724, allocations: 13.19 MB / 0.5798 GB, free: 4.688 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4724, allocations: 4 kB / 0.5798 GB, free: 4.684 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.346e-05/0.4725, allocations: 15.94 kB / 0.5799 GB, free: 4.668 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001705/0.4742, allocations: 0.7116 MB / 0.5806 GB, free: 3.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4743, allocations: 8.031 kB / 0.5806 GB, free: 3.898 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007222/0.475, allocations: 92.16 kB / 0.5806 GB, free: 3.809 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.4765, allocations: 0.5498 MB / 0.5812 GB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.4766, allocations: 30.12 kB / 0.5812 GB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.4767, allocations: 43.89 kB / 0.5813 GB, free: 3.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.4783, allocations: 0.6647 MB / 0.5819 GB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.4783, allocations: 0 / 0.5819 GB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/0.4784, allocations: 16 kB / 0.5819 GB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/0.4786, allocations: 56.95 kB / 0.582 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.4801, allocations: 0.6401 MB / 0.5826 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00497/0.4851, allocations: 2.433 MB / 0.585 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007926/0.4859, allocations: 349.6 kB / 0.5853 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/0.4864, allocations: 250 kB / 0.5855 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.4865, allocations: 8 kB / 0.5856 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.4866, allocations: 34.56 kB / 0.5856 GB, free: 14.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 5.23e-06/0.4866, allocations: 0 / 0.5856 GB, free: 14.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=47): time 0.003373/0.49, allocations: 1.463 MB / 0.587 GB, free: 13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.49, allocations: 89.45 kB / 0.5871 GB, free: 12.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.4905, allocations: 287.2 kB / 0.5874 GB, free: 12.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.4905, allocations: 33.7 kB / 0.5874 GB, free: 12.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.4907, allocations: 243.7 kB / 0.5876 GB, free: 12.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.4909, allocations: 161.6 kB / 0.5878 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.491, allocations: 8 kB / 0.5878 GB, free: 12.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4911, allocations: 350.8 kB / 0.5881 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.4916, allocations: 213 kB / 0.5883 GB, free: 11.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/0.4922, allocations: 366.6 kB / 0.5887 GB, free: 11.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.4933, allocations: 0.6277 MB / 0.5893 GB, free: 10.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.4934, allocations: 0 / 0.5893 GB, free: 10.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001399/0.4948, allocations: 0.6487 MB / 0.5899 GB, free: 9.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.4948, allocations: 14.33 kB / 0.5899 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.4948, allocations: 4 kB / 0.59 GB, free: 9.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.4949, allocations: 8 kB / 0.59 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.4955, allocations: 99.88 kB / 0.5901 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/0.4956, allocations: 19.86 kB / 0.5901 GB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.496, allocations: 36.44 kB / 0.5901 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.496, allocations: 27.98 kB / 0.5901 GB, free: 9.629 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (55): * Single equations (assignments): 52 * Array equations: 3 * 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.0003805/0.4964, allocations: 221.5 kB / 0.5903 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.4965, allocations: 35.53 kB / 0.5904 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.498, allocations: 0.5368 MB / 0.5909 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.384e-05/0.498, allocations: 19.88 kB / 0.5909 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.4981, allocations: 3.938 kB / 0.5909 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.4981, allocations: 3.984 kB / 0.5909 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.5008, allocations: 1.173 MB / 0.5921 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.5008, allocations: 7.938 kB / 0.5921 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.5014, allocations: 79.88 kB / 0.5922 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.5014, allocations: 0 / 0.5922 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.5015, allocations: 8 kB / 0.5922 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.5015, allocations: 8.094 kB / 0.5922 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5015, allocations: 0 / 0.5922 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.5033, allocations: 0.8989 MB / 0.5931 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.5034, allocations: 108.7 kB / 0.5932 GB, free: 6.402 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/0.5035, allocations: 16.03 kB / 0.5932 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.5039, allocations: 23.95 kB / 0.5932 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.5039, allocations: 19.98 kB / 0.5932 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.504, allocations: 15.98 kB / 0.5932 GB, free: 6.328 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003251/0.5043, allocations: 203.1 kB / 0.5934 GB, free: 6.133 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5043, allocations: 0 / 0.5934 GB, free: 6.133 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008656/0.5052, allocations: 127.9 kB / 0.5935 GB, free: 6.008 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 (34): * Single equations (assignments): 30 * Array equations: 3 * 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.0002825/0.5055, allocations: 135 kB / 0.5937 GB, free: 5.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.5066, allocations: 0.5247 MB / 0.5942 GB, free: 5.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.5066, allocations: 0 / 0.5942 GB, free: 5.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.5071, allocations: 249 kB / 0.5944 GB, free: 5.098 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008439/0.508, allocations: 69.31 kB / 0.5945 GB, free: 5.031 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.5108, allocations: 1.435 MB / 0.5959 GB, free: 3.547 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.5114, allocations: 0.8786 MB / 0.5967 GB, free: 2.641 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.5116, allocations: 31.44 kB / 0.5968 GB, free: 2.609 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5116, allocations: 0 / 0.5968 GB, free: 2.609 MB / 426.7 MB Notification: Performance of Templates: time 0.009545/0.5211, allocations: 5.592 MB / 0.6022 GB, free: 13.02 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1)