Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.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.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001596, allocations: 182.5 kB / 15.76 MB, free: 6.344 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.082/2.082, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001131/0.001131, allocations: 110.7 kB / 270.3 MB, free: 13.35 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.3291/0.3291, allocations: 38.07 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004461, allocations: 8 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, allocations: 56.32 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5133/0.6209, allocations: 100.2 MB / 0.5657 GB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.6212, allocations: 85.73 kB / 0.5657 GB, free: 15.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06327/0.6845, allocations: 13.29 MB / 0.5787 GB, free: 4.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6845, allocations: 0 / 0.5787 GB, free: 4.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.428e-05/0.6846, allocations: 12 kB / 0.5787 GB, free: 4.156 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.002133/0.6867, allocations: 0.7186 MB / 0.5794 GB, free: 3.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.6868, allocations: 8.031 kB / 0.5794 GB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009915/0.6878, allocations: 91.28 kB / 0.5795 GB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003564/0.6914, allocations: 0.8732 MB / 0.5804 GB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.6915, allocations: 30.38 kB / 0.5804 GB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.6916, allocations: 41.12 kB / 0.5804 GB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.6932, allocations: 0.6567 MB / 0.5811 GB, free: 1.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.6932, allocations: 0 / 0.5811 GB, free: 1.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/0.6933, allocations: 17.8 kB / 0.5811 GB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001883/0.6935, allocations: 52.34 kB / 0.5811 GB, free: 1.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.6952, allocations: 0.6344 MB / 0.5818 GB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005405/0.7006, allocations: 2.419 MB / 0.5841 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.7015, allocations: 352.8 kB / 0.5845 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.7016, allocations: 4.344 kB / 0.5845 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.7016, allocations: 49.95 kB / 0.5845 GB, free: 14.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 3.416e-06/0.7017, allocations: 0 / 0.5845 GB, free: 14.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.003743/0.7054, allocations: 1.722 MB / 0.5862 GB, free: 13.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.7055, allocations: 81.11 kB / 0.5863 GB, free: 13.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.7059, allocations: 247 kB / 0.5865 GB, free: 13.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.706, allocations: 40.95 kB / 0.5866 GB, free: 13.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.7062, allocations: 299.1 kB / 0.5868 GB, free: 12.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.7065, allocations: 170.1 kB / 0.587 GB, free: 12.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.7065, allocations: 10.81 kB / 0.587 GB, free: 12.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.7067, allocations: 329 kB / 0.5873 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005262/0.7072, allocations: 219.8 kB / 0.5875 GB, free: 12.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.7079, allocations: 358.7 kB / 0.5879 GB, free: 11.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.7086, allocations: 284.6 kB / 0.5881 GB, free: 11.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7086, allocations: 4 kB / 0.5882 GB, free: 11.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002048/0.7107, allocations: 0.7029 MB / 0.5888 GB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.7107, allocations: 10.81 kB / 0.5888 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001457/0.7122, allocations: 0.5192 MB / 0.5894 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000509/0.7127, allocations: 71.66 kB / 0.5894 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007821/0.7135, allocations: 103.5 kB / 0.5895 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.716, allocations: 1.62 MB / 0.5911 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.7166, allocations: 38.52 kB / 0.5911 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/0.7167, allocations: 18.25 kB / 0.5912 GB, free: 9 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (53): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000452/0.7172, allocations: 221.5 kB / 0.5914 GB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.7173, allocations: 31.62 kB / 0.5914 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.7188, allocations: 0.5526 MB / 0.5919 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.398e-05/0.7188, allocations: 15.98 kB / 0.592 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.7189, allocations: 3.938 kB / 0.592 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.7189, allocations: 3.984 kB / 0.592 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.7219, allocations: 1.191 MB / 0.5931 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.722, allocations: 0 / 0.5931 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/0.7228, allocations: 87.19 kB / 0.5932 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.7228, allocations: 0 / 0.5932 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.7229, allocations: 11.23 kB / 0.5932 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.7229, allocations: 4 kB / 0.5932 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.7229, allocations: 3.953 kB / 0.5932 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.7249, allocations: 0.9867 MB / 0.5942 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.7251, allocations: 108.1 kB / 0.5943 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.654e-05/0.7252, allocations: 7.75 kB / 0.5943 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.7257, allocations: 27.44 kB / 0.5943 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.7258, allocations: 27.59 kB / 0.5944 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.7258, allocations: 11.38 kB / 0.5944 GB, free: 6.289 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003237/0.7262, allocations: 192.3 kB / 0.5945 GB, free: 6.133 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7262, allocations: 0 / 0.5945 GB, free: 6.133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008939/0.7271, allocations: 137.7 kB / 0.5947 GB, free: 6.012 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 (37): * Single equations (assignments): 33 * 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.0003262/0.7274, allocations: 142.5 kB / 0.5948 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.7292, allocations: 0.6666 MB / 0.5955 GB, free: 5.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.7293, allocations: 4.375 kB / 0.5955 GB, free: 5.332 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006734/0.7299, allocations: 270.5 kB / 0.5957 GB, free: 5.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000658/0.7306, allocations: 58.27 kB / 0.5958 GB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.7338, allocations: 1.458 MB / 0.5972 GB, free: 3.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/0.7345, allocations: 0.8889 MB / 0.5981 GB, free: 2.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.7348, allocations: 39.19 kB / 0.5981 GB, free: 2.797 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7349, allocations: 0 / 0.5981 GB, free: 2.797 MB / 394.7 MB Notification: Performance of Templates: time 0.01591/0.7508, allocations: 6.276 MB / 0.6042 GB, free: 12.57 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)