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.0009322/0.0009324, allocations: 172.4 kB / 16.07 MB, free: 5.723 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.197/1.197, allocations: 205.4 MB / 222.2 MB, free: 9.02 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.0007642/0.0007642, allocations: 92.66 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1686/0.1686, allocations: 38.07 MB / 356.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003288, allocations: 15.98 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2152, allocations: 56.32 MB / 479.6 MB, free: 9.25 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004006/0.2193, allocations: 4.489 MB / 484.1 MB, free: 6.309 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.2213, allocations: 1.569 MB / 485.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.2215, allocations: 26.31 kB / 485.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.2217, allocations: 72.92 kB / 485.8 MB, free: 5.152 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005699/0.2223, allocations: 279.4 kB / 486 MB, free: 5.004 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.2229, allocations: 239.5 kB / 486.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006538/0.2236, allocations: 0.6831 MB / 487 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007352/0.2243, allocations: 0.5368 MB / 487.5 MB, free: 4.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.2246, allocations: 206.4 kB / 487.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.2251, allocations: 351.9 kB / 488 MB, free: 4.145 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.2252, allocations: 24.56 kB / 488.1 MB, free: 4.141 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004225/0.2256, allocations: 230.9 kB / 488.3 MB, free: 4.082 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.2258, allocations: 223.2 kB / 488.5 MB, free: 4.023 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.226, allocations: 239.8 kB / 488.7 MB, free: 3.883 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.2266, allocations: 498.5 kB / 489.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2266, allocations: 1.281 kB / 489.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2266, allocations: 4 kB / 489.2 MB, free: 3.773 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.2266, allocations: 0 / 489.2 MB, free: 3.773 MB / 314.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.001063/0.2277, allocations: 0.6876 MB / 489.9 MB, free: 3.238 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2277, allocations: 9.5 kB / 489.9 MB, free: 3.238 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005427/0.2283, allocations: 98.81 kB / 490 MB, free: 3.203 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.2288, allocations: 406.5 kB / 490.4 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.2288, allocations: 27.53 kB / 490.5 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.229, allocations: 53.81 kB / 490.5 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009095/0.2299, allocations: 0.676 MB / 491.2 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2299, allocations: 1.438 kB / 491.2 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.808e-05/0.23, allocations: 16.95 kB / 491.2 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/0.2301, allocations: 50.48 kB / 491.3 MB, free: 2.539 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009562/0.2311, allocations: 0.6674 MB / 491.9 MB, free: 2.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.2341, allocations: 2.436 MB / 494.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.2346, allocations: 359.9 kB / 494.7 MB, free: 0.582 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.2349, allocations: 256.5 kB / 495 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.235, allocations: 9.984 kB / 495 MB, free: 488 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.235, allocations: 37.47 kB / 495 MB, free: 444 kB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 2.245e-06/0.235, allocations: 0 / 495 MB, free: 444 kB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.002201/0.2372, allocations: 1.477 MB / 496.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.2373, allocations: 82.83 kB / 496.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.2376, allocations: 287.6 kB / 496.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.2376, allocations: 31.89 kB / 496.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.2378, allocations: 247.2 kB / 497.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.2379, allocations: 156.7 kB / 497.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.238, allocations: 10.09 kB / 497.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2381, allocations: 349.3 kB / 497.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.2384, allocations: 213.1 kB / 497.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.2388, allocations: 362.5 kB / 498.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000786/0.2396, allocations: 0.6223 MB / 498.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2396, allocations: 1.5 kB / 498.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00124/0.2409, allocations: 0.7153 MB / 499.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2409, allocations: 13.25 kB / 499.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008802/0.2418, allocations: 0.5146 MB / 0.4883 GB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002995/0.2421, allocations: 77.34 kB / 0.4884 GB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.2425, allocations: 112.8 kB / 0.4885 GB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.244, allocations: 1.598 MB / 0.4901 GB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.2443, allocations: 25.5 kB / 0.4901 GB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.2444, allocations: 29.11 kB / 0.4901 GB, free: 12.07 MB / 330.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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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.0002711/0.2447, allocations: 219.3 kB / 0.4903 GB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.6e-05/0.2448, allocations: 44.17 kB / 0.4904 GB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008776/0.2456, allocations: 0.5514 MB / 0.4909 GB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/0.2457, allocations: 18.77 kB / 0.4909 GB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.2457, allocations: 5.219 kB / 0.4909 GB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2457, allocations: 0 / 0.4909 GB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.2475, allocations: 1.181 MB / 0.4921 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2476, allocations: 1.188 kB / 0.4921 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.248, allocations: 86.97 kB / 0.4922 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.248, allocations: 2.438 kB / 0.4922 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.248, allocations: 11.97 kB / 0.4922 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.248, allocations: 6.656 kB / 0.4922 GB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.248, allocations: 5.344 kB / 0.4922 GB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.2492, allocations: 0.9166 MB / 0.4931 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/0.2493, allocations: 118.4 kB / 0.4932 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.2494, allocations: 7.781 kB / 0.4932 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.2496, allocations: 20.77 kB / 0.4932 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.2497, allocations: 31.3 kB / 0.4933 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.2497, allocations: 18.67 kB / 0.4933 GB, free: 10.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001951/0.2499, allocations: 188.7 kB / 0.4935 GB, free: 9.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2499, allocations: 0 / 0.4935 GB, free: 9.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005158/0.2504, allocations: 123.6 kB / 0.4936 GB, free: 9.891 MB / 330.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 (39): * Single equations (assignments): 36 * Array equations: 2 * 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.0002084/0.2506, allocations: 146.9 kB / 0.4937 GB, free: 9.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.2517, allocations: 0.6573 MB / 0.4944 GB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2517, allocations: 4.062 kB / 0.4944 GB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.252, allocations: 259.9 kB / 0.4946 GB, free: 9.305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.2526, allocations: 66.44 kB / 0.4947 GB, free: 9.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.2544, allocations: 1.456 MB / 0.4961 GB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.2548, allocations: 0.8804 MB / 0.497 GB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.2549, allocations: 34.94 kB / 0.497 GB, free: 7.453 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2549, allocations: 0 / 0.497 GB, free: 7.453 MB / 330.7 MB Notification: Performance of Templates: time 0.008488/0.2634, allocations: 6.368 MB / 0.5032 GB, free: 1.883 MB / 330.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)