Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00139/0.00139, allocations: 173.6 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 222.9 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007528/0.0007528, allocations: 89.09 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1711/0.1711, allocations: 38.08 MB / 357.6 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003781, allocations: 8 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2335, allocations: 56.32 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.3488, allocations: 100.2 MB / 0.5669 GB, free: 2.133 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.3491, allocations: 83.97 kB / 0.567 GB, free: 2.051 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03596/0.3851, allocations: 13.27 MB / 0.5799 GB, free: 4.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3851, allocations: 0 / 0.5799 GB, free: 4.633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.596e-05/0.3852, allocations: 12 kB / 0.5799 GB, free: 4.621 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.001334/0.3865, allocations: 0.7232 MB / 0.5806 GB, free: 3.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3866, allocations: 8.031 kB / 0.5807 GB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005545/0.3871, allocations: 92.22 kB / 0.5807 GB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.3882, allocations: 0.5459 MB / 0.5813 GB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.3883, allocations: 34.11 kB / 0.5813 GB, free: 3.129 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.3884, allocations: 47.89 kB / 0.5813 GB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009594/0.3893, allocations: 0.6647 MB / 0.582 GB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.3894, allocations: 3.938 kB / 0.582 GB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.3894, allocations: 20 kB / 0.582 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.3895, allocations: 48.97 kB / 0.5821 GB, free: 2.309 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000938/0.3905, allocations: 0.6362 MB / 0.5827 GB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003339/0.3938, allocations: 2.417 MB / 0.585 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.3944, allocations: 350.1 kB / 0.5854 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.3947, allocations: 258.3 kB / 0.5856 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.3948, allocations: 4.281 kB / 0.5856 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3948, allocations: 38.84 kB / 0.5857 GB, free: 14.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 3.266e-06/0.3948, allocations: 0 / 0.5857 GB, free: 14.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.00227/0.3971, allocations: 1.478 MB / 0.5871 GB, free: 12.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3972, allocations: 85.05 kB / 0.5872 GB, free: 12.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.3975, allocations: 294.8 kB / 0.5875 GB, free: 12.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.3975, allocations: 29.7 kB / 0.5875 GB, free: 12.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.3977, allocations: 243.9 kB / 0.5877 GB, free: 12.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.3978, allocations: 169.6 kB / 0.5879 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.3979, allocations: 4 kB / 0.5879 GB, free: 12.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.398, allocations: 350.8 kB / 0.5882 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.3983, allocations: 220.9 kB / 0.5884 GB, free: 11.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.3987, allocations: 349.3 kB / 0.5888 GB, free: 11.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/0.3995, allocations: 0.6319 MB / 0.5894 GB, free: 10.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3995, allocations: 4 kB / 0.5894 GB, free: 10.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001237/0.4008, allocations: 0.7278 MB / 0.5901 GB, free: 9.688 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4008, allocations: 12.06 kB / 0.5901 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008276/0.4017, allocations: 0.5202 MB / 0.5906 GB, free: 9.152 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.402, allocations: 72.8 kB / 0.5907 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.4024, allocations: 99.81 kB / 0.5908 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.404, allocations: 1.596 MB / 0.5924 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.4044, allocations: 31.88 kB / 0.5924 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.4045, allocations: 23.94 kB / 0.5924 GB, free: 7.195 MB / 426.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.0003127/0.4048, allocations: 225.6 kB / 0.5926 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/0.4049, allocations: 31.62 kB / 0.5927 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009103/0.4058, allocations: 0.5481 MB / 0.5932 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/0.4058, allocations: 15.98 kB / 0.5932 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-06/0.4058, allocations: 0 / 0.5932 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4058, allocations: 0 / 0.5932 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.4077, allocations: 1.198 MB / 0.5944 GB, free: 5.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.4077, allocations: 4 kB / 0.5944 GB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/0.4082, allocations: 83.88 kB / 0.5945 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.4082, allocations: 4 kB / 0.5945 GB, free: 5.004 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.4082, allocations: 12 kB / 0.5945 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.4082, allocations: 7.875 kB / 0.5945 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4082, allocations: 4 kB / 0.5945 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.4095, allocations: 0.9407 MB / 0.5954 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.4096, allocations: 108.7 kB / 0.5955 GB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.4096, allocations: 11.98 kB / 0.5955 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.4099, allocations: 27.91 kB / 0.5955 GB, free: 3.848 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.4099, allocations: 27.97 kB / 0.5956 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.41, allocations: 8 kB / 0.5956 GB, free: 3.812 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001914/0.4102, allocations: 197.9 kB / 0.5958 GB, free: 3.621 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4102, allocations: 0 / 0.5958 GB, free: 3.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005527/0.4107, allocations: 128 kB / 0.5959 GB, free: 3.496 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 () * 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.0002711/0.411, allocations: 143.1 kB / 0.596 GB, free: 3.348 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.4122, allocations: 0.6645 MB / 0.5967 GB, free: 2.668 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4122, allocations: 0 / 0.5967 GB, free: 2.668 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.4125, allocations: 265.3 kB / 0.5969 GB, free: 2.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.4131, allocations: 69.19 kB / 0.597 GB, free: 2.344 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.4151, allocations: 1.465 MB / 0.5984 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.4156, allocations: 0.8783 MB / 0.5993 GB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.4158, allocations: 39.42 kB / 0.5993 GB, free: 15.89 MB / 442.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4158, allocations: 0 / 0.5993 GB, free: 15.89 MB / 442.7 MB Notification: Performance of Templates: time 0.009361/0.4252, allocations: 6.361 MB / 0.6055 GB, free: 9.527 MB / 442.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)