Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.ReferenceSynchron.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001539, allocations: 183.9 kB / 15.76 MB, free: 6.363 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 1.978/1.978, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001152/0.001152, allocations: 98.75 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2793/0.2793, allocations: 38.06 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.00045, allocations: 12 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 56.32 MB / 479 MB, free: 2.051 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.597/0.726, allocations: 100.2 MB / 0.5657 GB, free: 15.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004194/0.7265, allocations: 83.22 kB / 0.5657 GB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09309/0.8197, allocations: 13.19 MB / 0.5786 GB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.8197, allocations: 0 / 0.5786 GB, free: 4.293 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.19e-05/0.8198, allocations: 12 kB / 0.5786 GB, free: 4.281 MB / 378.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.001971/0.8217, allocations: 0.7275 MB / 0.5793 GB, free: 3.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.8218, allocations: 8.031 kB / 0.5793 GB, free: 3.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008019/0.8226, allocations: 83.3 kB / 0.5794 GB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003373/0.826, allocations: 0.8661 MB / 0.5803 GB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.8261, allocations: 31.8 kB / 0.5803 GB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.8262, allocations: 40.75 kB / 0.5803 GB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.8278, allocations: 0.6591 MB / 0.581 GB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.8278, allocations: 3.562 kB / 0.581 GB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/0.8279, allocations: 11.69 kB / 0.581 GB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001874/0.8281, allocations: 48.34 kB / 0.581 GB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.8298, allocations: 0.6418 MB / 0.5817 GB, free: 1.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005814/0.8356, allocations: 2.444 MB / 0.5841 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008576/0.8365, allocations: 338.5 kB / 0.5844 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.784e-05/0.8366, allocations: 8.047 kB / 0.5844 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.8366, allocations: 49.11 kB / 0.5844 GB, free: 15.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 7.324e-06/0.8366, allocations: 3.984 kB / 0.5844 GB, free: 15.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.003736/0.8404, allocations: 1.703 MB / 0.5861 GB, free: 13.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.8405, allocations: 85.38 kB / 0.5862 GB, free: 13.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.8409, allocations: 252 kB / 0.5864 GB, free: 13.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.841, allocations: 35.89 kB / 0.5865 GB, free: 13.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.8412, allocations: 298.9 kB / 0.5867 GB, free: 13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.8414, allocations: 159.8 kB / 0.5869 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.8415, allocations: 10 kB / 0.5869 GB, free: 12.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.8416, allocations: 334.2 kB / 0.5872 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.8422, allocations: 218.1 kB / 0.5874 GB, free: 12.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006732/0.8429, allocations: 357.9 kB / 0.5878 GB, free: 12.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/0.8436, allocations: 282.5 kB / 0.588 GB, free: 11.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8436, allocations: 7.938 kB / 0.5881 GB, free: 11.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001529/0.8451, allocations: 0.6347 MB / 0.5887 GB, free: 11.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.8452, allocations: 8.062 kB / 0.5887 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.8452, allocations: 8 kB / 0.5887 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.8453, allocations: 8 kB / 0.5887 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/0.8462, allocations: 115 kB / 0.5888 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.8462, allocations: 7.984 kB / 0.5888 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.8467, allocations: 30.84 kB / 0.5888 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-05/0.8468, allocations: 19.5 kB / 0.5889 GB, free: 11.19 MB / 394.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.0003952/0.8472, allocations: 211.1 kB / 0.5891 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.8473, allocations: 42.8 kB / 0.5891 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.8487, allocations: 0.5349 MB / 0.5896 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.544e-05/0.8488, allocations: 15.98 kB / 0.5896 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.8488, allocations: 0 / 0.5896 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.8488, allocations: 0 / 0.5896 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/0.852, allocations: 1.191 MB / 0.5908 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.852, allocations: 0 / 0.5908 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/0.8528, allocations: 75.7 kB / 0.5909 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.8528, allocations: 4 kB / 0.5909 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.8528, allocations: 11.42 kB / 0.5909 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.8528, allocations: 0 / 0.5909 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.8529, allocations: 4 kB / 0.5909 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.8548, allocations: 0.9505 MB / 0.5918 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.855, allocations: 120 kB / 0.5919 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.788e-05/0.8551, allocations: 15.64 kB / 0.592 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.8555, allocations: 27.31 kB / 0.592 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.8556, allocations: 18.73 kB / 0.592 GB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.8557, allocations: 14.73 kB / 0.592 GB, free: 8.512 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003154/0.856, allocations: 204.3 kB / 0.5922 GB, free: 8.344 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.856, allocations: 0 / 0.5922 GB, free: 8.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007339/0.8568, allocations: 124.9 kB / 0.5923 GB, free: 8.234 MB / 394.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.0002914/0.8571, allocations: 142 kB / 0.5925 GB, free: 8.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.8583, allocations: 0.5134 MB / 0.593 GB, free: 7.719 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8583, allocations: 0 / 0.593 GB, free: 7.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005485/0.8589, allocations: 257.8 kB / 0.5932 GB, free: 7.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006062/0.8595, allocations: 69.62 kB / 0.5933 GB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.8624, allocations: 1.43 MB / 0.5947 GB, free: 6.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/0.8632, allocations: 0.873 MB / 0.5955 GB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.8636, allocations: 46.61 kB / 0.5956 GB, free: 5.215 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.8636, allocations: 0 / 0.5956 GB, free: 5.215 MB / 394.7 MB Notification: Performance of Templates: time 0.01332/0.8769, allocations: 5.541 MB / 0.601 GB, free: 15.72 MB / 410.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)