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.002194/0.002193, allocations: 184.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.037/2.037, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001103/0.001103, allocations: 88.91 kB / 267.1 MB, free: 9.273 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.2666/0.2666, allocations: 37.97 MB / 353.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.065e-05/4.069e-05, allocations: 8 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1154, allocations: 56.31 MB / 473.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5055/0.621, allocations: 100.1 MB / 0.5598 GB, free: 3.621 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.6213, allocations: 79.95 kB / 0.5599 GB, free: 3.543 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06254/0.6839, allocations: 13.17 MB / 0.5727 GB, free: 6.238 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6839, allocations: 4 kB / 0.5727 GB, free: 6.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.367e-05/0.684, allocations: 8 kB / 0.5727 GB, free: 6.227 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.001823/0.6858, allocations: 0.6718 MB / 0.5734 GB, free: 5.508 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.6859, allocations: 8.031 kB / 0.5734 GB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009081/0.6868, allocations: 95.28 kB / 0.5735 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003564/0.6904, allocations: 0.8486 MB / 0.5743 GB, free: 4.512 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/0.6905, allocations: 32.77 kB / 0.5744 GB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.6907, allocations: 40 kB / 0.5744 GB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.6923, allocations: 0.6553 MB / 0.575 GB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.6924, allocations: 0 / 0.575 GB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-05/0.6925, allocations: 16 kB / 0.5751 GB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002/0.6927, allocations: 40.75 kB / 0.5751 GB, free: 3.691 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.6944, allocations: 0.6279 MB / 0.5757 GB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006086/0.7005, allocations: 2.436 MB / 0.5781 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008705/0.7015, allocations: 337.7 kB / 0.5784 GB, free: 160 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005948/0.7021, allocations: 250.1 kB / 0.5786 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.733e-05/0.7022, allocations: 7.938 kB / 0.5787 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.7022, allocations: 46.44 kB / 0.5787 GB, free: 15.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 3.617e-06/0.7022, allocations: 4 kB / 0.5787 GB, free: 15.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=47): time 0.003279/0.7055, allocations: 1.259 MB / 0.5799 GB, free: 14.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/0.7057, allocations: 81.39 kB / 0.58 GB, free: 14.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.7061, allocations: 251.3 kB / 0.5802 GB, free: 14.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.7062, allocations: 29.7 kB / 0.5803 GB, free: 14.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.7064, allocations: 302.3 kB / 0.5806 GB, free: 13.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.7067, allocations: 169.6 kB / 0.5807 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.7067, allocations: 4 kB / 0.5807 GB, free: 13.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.7069, allocations: 338.8 kB / 0.5811 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/0.7075, allocations: 209 kB / 0.5812 GB, free: 13.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/0.7082, allocations: 358.6 kB / 0.5816 GB, free: 12.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/0.7089, allocations: 284.9 kB / 0.5819 GB, free: 12.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.7089, allocations: 0 / 0.5819 GB, free: 12.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001574/0.7105, allocations: 0.6295 MB / 0.5825 GB, free: 11.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.7105, allocations: 8 kB / 0.5825 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.7106, allocations: 4 kB / 0.5825 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.09e-05/0.7106, allocations: 8 kB / 0.5825 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008817/0.7115, allocations: 111.9 kB / 0.5826 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.7116, allocations: 15.88 kB / 0.5826 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.7121, allocations: 23.97 kB / 0.5826 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.7121, allocations: 23.98 kB / 0.5827 GB, free: 11.62 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 () * 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.0001698/0.7123, allocations: 137.1 kB / 0.5828 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.7124, allocations: 43.48 kB / 0.5828 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.7139, allocations: 0.5251 MB / 0.5833 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.978e-05/0.714, allocations: 15.98 kB / 0.5834 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.714, allocations: 0 / 0.5834 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.714, allocations: 0 / 0.5834 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.7172, allocations: 1.188 MB / 0.5845 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.7172, allocations: 0 / 0.5845 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007594/0.718, allocations: 75.89 kB / 0.5846 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.718, allocations: 4 kB / 0.5846 GB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.7181, allocations: 11.98 kB / 0.5846 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.7181, allocations: 4 kB / 0.5846 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7181, allocations: 0 / 0.5846 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.7202, allocations: 0.9477 MB / 0.5855 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.7204, allocations: 108.7 kB / 0.5856 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.191e-05/0.7205, allocations: 15.94 kB / 0.5857 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.7209, allocations: 23.97 kB / 0.5857 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/0.721, allocations: 19.97 kB / 0.5857 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.721, allocations: 8 kB / 0.5857 GB, free: 8.348 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003374/0.7214, allocations: 210.2 kB / 0.5859 GB, free: 8.141 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7214, allocations: 0 / 0.5859 GB, free: 8.141 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007287/0.7221, allocations: 123.9 kB / 0.586 GB, free: 8.02 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 (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.0002957/0.7224, allocations: 143.1 kB / 0.5862 GB, free: 7.871 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.7238, allocations: 0.5141 MB / 0.5867 GB, free: 7.359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7238, allocations: 0 / 0.5867 GB, free: 7.359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.7244, allocations: 256 kB / 0.5869 GB, free: 7.109 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/0.7251, allocations: 64.62 kB / 0.587 GB, free: 7.047 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.7276, allocations: 0.9815 MB / 0.5879 GB, free: 6.027 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.7284, allocations: 0.8793 MB / 0.5888 GB, free: 5.117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.7287, allocations: 43.42 kB / 0.5888 GB, free: 5.074 MB / 426.7 MB Notification: Performance of SimCode: time 1.442e-06/0.7287, allocations: 0 / 0.5888 GB, free: 5.074 MB / 426.7 MB Notification: Performance of Templates: time 0.0148/0.7435, allocations: 5.54 MB / 0.5942 GB, free: 15.54 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)