Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceInertial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001575, allocations: 185.7 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 99.44 kB / 267.1 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2792/0.2792, allocations: 37.98 MB / 353.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.516e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 56.32 MB / 473.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5501/0.6726, allocations: 100.1 MB / 0.5598 GB, free: 3.586 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/0.673, allocations: 79.95 kB / 0.5599 GB, free: 3.508 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05743/0.7304, allocations: 12.21 MB / 0.5718 GB, free: 7.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.7305, allocations: 0 / 0.5718 GB, free: 7.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.281e-05/0.7305, allocations: 8 kB / 0.5718 GB, free: 7.16 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.001511/0.732, allocations: 0.6331 MB / 0.5724 GB, free: 6.477 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.7321, allocations: 8.031 kB / 0.5724 GB, free: 6.469 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008636/0.733, allocations: 91.36 kB / 0.5725 GB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003453/0.7365, allocations: 0.8373 MB / 0.5733 GB, free: 5.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.7366, allocations: 32.98 kB / 0.5734 GB, free: 5.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.7367, allocations: 40 kB / 0.5734 GB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.7381, allocations: 0.5978 MB / 0.574 GB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.7382, allocations: 4 kB / 0.574 GB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.78e-05/0.7383, allocations: 20 kB / 0.574 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.961e-05/0.7383, allocations: 24.77 kB / 0.574 GB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.7396, allocations: 442.7 kB / 0.5745 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005216/0.7449, allocations: 2.871 MB / 0.5773 GB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.7455, allocations: 222.1 kB / 0.5775 GB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.7459, allocations: 149.9 kB / 0.5776 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.137e-05/0.746, allocations: 12.2 kB / 0.5776 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.746, allocations: 42.5 kB / 0.5777 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.316e-06/0.746, allocations: 0 / 0.5777 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.002253/0.7483, allocations: 0.8596 MB / 0.5785 GB, free: 15.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.7484, allocations: 81.11 kB / 0.5786 GB, free: 15.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/0.7489, allocations: 286.6 kB / 0.5789 GB, free: 15.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.749, allocations: 33.7 kB / 0.5789 GB, free: 15.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.7493, allocations: 329.7 kB / 0.5792 GB, free: 15.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.7494, allocations: 106.5 kB / 0.5793 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.7494, allocations: 8 kB / 0.5793 GB, free: 15.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.7496, allocations: 338.8 kB / 0.5796 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.75, allocations: 137.1 kB / 0.5798 GB, free: 14.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.7506, allocations: 343.7 kB / 0.5801 GB, free: 14.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.7511, allocations: 211.8 kB / 0.5803 GB, free: 13.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.7512, allocations: 4 kB / 0.5803 GB, free: 13.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001267/0.7524, allocations: 0.5012 MB / 0.5808 GB, free: 13.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.7525, allocations: 10.03 kB / 0.5808 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.7525, allocations: 11.98 kB / 0.5808 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/0.7526, allocations: 8 kB / 0.5808 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008126/0.7534, allocations: 115.8 kB / 0.5809 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.719e-05/0.7534, allocations: 11.94 kB / 0.5809 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.7539, allocations: 23.98 kB / 0.581 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.754, allocations: 24.34 kB / 0.581 GB, free: 13.22 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 () * 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.0001675/0.7542, allocations: 140.8 kB / 0.5811 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.213e-05/0.7543, allocations: 31.53 kB / 0.5812 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.7553, allocations: 353.5 kB / 0.5815 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/0.7553, allocations: 7.984 kB / 0.5815 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7553, allocations: 0 / 0.5815 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.7554, allocations: 4 kB / 0.5815 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.7576, allocations: 0.8757 MB / 0.5824 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.7577, allocations: 7.938 kB / 0.5824 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006155/0.7583, allocations: 59.95 kB / 0.5824 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.7583, allocations: 0 / 0.5824 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.7584, allocations: 8 kB / 0.5824 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.7584, allocations: 4 kB / 0.5824 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.7584, allocations: 7.891 kB / 0.5824 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.7597, allocations: 0.6444 MB / 0.5831 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.7599, allocations: 112.7 kB / 0.5832 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/0.76, allocations: 8 kB / 0.5832 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.7603, allocations: 20.02 kB / 0.5832 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.7604, allocations: 31.89 kB / 0.5832 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.7605, allocations: 4 kB / 0.5832 GB, free: 10.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003842/0.7609, allocations: 218.2 kB / 0.5835 GB, free: 10.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7609, allocations: 0 / 0.5835 GB, free: 10.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006944/0.7616, allocations: 108 kB / 0.5836 GB, free: 10.45 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 () * 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.0002614/0.7619, allocations: 123.1 kB / 0.5837 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009527/0.7628, allocations: 353.4 kB / 0.584 GB, free: 9.973 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.7628, allocations: 4.188 kB / 0.584 GB, free: 9.969 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.7632, allocations: 151.8 kB / 0.5842 GB, free: 9.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/0.7638, allocations: 57.14 kB / 0.5842 GB, free: 9.762 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.766, allocations: 0.837 MB / 0.585 GB, free: 8.883 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/0.7667, allocations: 0.867 MB / 0.5859 GB, free: 7.984 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.7669, allocations: 31.44 kB / 0.5859 GB, free: 7.953 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/0.7669, allocations: 0 / 0.5859 GB, free: 7.953 MB / 426.7 MB Notification: Performance of Templates: time 0.01284/0.7798, allocations: 4.877 MB / 0.5907 GB, free: 3.07 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)