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.001582/0.001581, 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 2.043/2.043, allocations: 205.4 MB / 221.9 MB, free: 13.76 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.001171/0.001171, allocations: 98.78 kB / 270.2 MB, free: 13.29 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.2877/0.2877, allocations: 38.07 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000679/0.000679, allocations: 12 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1352, allocations: 56.31 MB / 479 MB, free: 2.051 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5312/0.6665, allocations: 100.2 MB / 0.5657 GB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.6669, allocations: 82.2 kB / 0.5658 GB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05374/0.7206, allocations: 12.24 MB / 0.5777 GB, free: 5.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.408e-06/0.7207, allocations: 3.984 kB / 0.5777 GB, free: 5.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.729e-05/0.7207, allocations: 12 kB / 0.5777 GB, free: 5.078 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001772/0.7225, allocations: 0.6757 MB / 0.5784 GB, free: 4.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.7226, allocations: 8.031 kB / 0.5784 GB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008465/0.7234, allocations: 87.38 kB / 0.5785 GB, free: 4.289 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/0.7269, allocations: 0.8423 MB / 0.5793 GB, free: 3.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.7269, allocations: 30.31 kB / 0.5793 GB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.7271, allocations: 46.92 kB / 0.5794 GB, free: 3.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.7284, allocations: 0.6018 MB / 0.58 GB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.7285, allocations: 11.92 kB / 0.58 GB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/0.7286, allocations: 14.56 kB / 0.58 GB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.907e-05/0.7286, allocations: 24.88 kB / 0.58 GB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.7298, allocations: 459 kB / 0.5804 GB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005203/0.7351, allocations: 2.868 MB / 0.5832 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.7357, allocations: 235.1 kB / 0.5835 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.7358, allocations: 4.062 kB / 0.5835 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.7358, allocations: 38.28 kB / 0.5835 GB, free: 15.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 6.011e-06/0.7358, allocations: 0 / 0.5835 GB, free: 15.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.002665/0.7385, allocations: 1.056 MB / 0.5845 GB, free: 14.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.7386, allocations: 81.11 kB / 0.5846 GB, free: 14.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.7391, allocations: 288.3 kB / 0.5849 GB, free: 14.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.7392, allocations: 33.58 kB / 0.5849 GB, free: 14.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.7395, allocations: 319.3 kB / 0.5852 GB, free: 14.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.7396, allocations: 116.2 kB / 0.5853 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.7397, allocations: 7.188 kB / 0.5853 GB, free: 13.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.7398, allocations: 341.7 kB / 0.5857 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.7402, allocations: 139.5 kB / 0.5858 GB, free: 13.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.7408, allocations: 351.3 kB / 0.5861 GB, free: 13.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/0.7413, allocations: 208.3 kB / 0.5863 GB, free: 13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.7413, allocations: 4 kB / 0.5863 GB, free: 13 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00132/0.7427, allocations: 0.5163 MB / 0.5868 GB, free: 12.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.7427, allocations: 8 kB / 0.5868 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.7428, allocations: 8 kB / 0.5869 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.7428, allocations: 8 kB / 0.5869 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/0.7436, allocations: 115.4 kB / 0.587 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.794e-05/0.7436, allocations: 15.92 kB / 0.587 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.7441, allocations: 26.86 kB / 0.587 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.7442, allocations: 24.25 kB / 0.587 GB, free: 12.4 MB / 394.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.0003999/0.7446, allocations: 217.3 kB / 0.5872 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.7447, allocations: 31.62 kB / 0.5873 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.7458, allocations: 352.4 kB / 0.5876 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.058e-05/0.7458, allocations: 7.938 kB / 0.5876 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.7458, allocations: 4 kB / 0.5876 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.7458, allocations: 0 / 0.5876 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.7482, allocations: 0.8752 MB / 0.5885 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.7482, allocations: 0 / 0.5885 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.7489, allocations: 65.95 kB / 0.5885 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/0.7489, allocations: 4 kB / 0.5885 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.749, allocations: 10.12 kB / 0.5886 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.749, allocations: 4 kB / 0.5886 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.749, allocations: 3.953 kB / 0.5886 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.7504, allocations: 0.6627 MB / 0.5892 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.7506, allocations: 104.7 kB / 0.5893 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.7507, allocations: 11.16 kB / 0.5893 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.751, allocations: 11.3 kB / 0.5893 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.7511, allocations: 18.8 kB / 0.5893 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.7511, allocations: 10.67 kB / 0.5894 GB, free: 10.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003592/0.7515, allocations: 213.8 kB / 0.5896 GB, free: 10.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7515, allocations: 0 / 0.5896 GB, free: 10.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007141/0.7522, allocations: 109.7 kB / 0.5897 GB, free: 10.07 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 (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.0002469/0.7525, allocations: 125.5 kB / 0.5898 GB, free: 9.945 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009447/0.7534, allocations: 364 kB / 0.5901 GB, free: 9.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7535, allocations: 4.25 kB / 0.5901 GB, free: 9.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.7539, allocations: 153.3 kB / 0.5903 GB, free: 9.562 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.7545, allocations: 56.2 kB / 0.5903 GB, free: 9.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.7573, allocations: 1.273 MB / 0.5916 GB, free: 8.297 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/0.758, allocations: 0.8696 MB / 0.5924 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.7582, allocations: 38.5 kB / 0.5925 GB, free: 7.379 MB / 394.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7583, allocations: 0 / 0.5925 GB, free: 7.379 MB / 394.7 MB Notification: Performance of Templates: time 0.01365/0.7719, allocations: 4.884 MB / 0.5972 GB, free: 2.535 MB / 394.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)