Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 111.5 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 223.9 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1764/0.1764, allocations: 37.99 MB / 309.2 MB, free: 5.945 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 67.89 kB / 431.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1185, allocations: 55.24 MB / 487.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.009284/0.1278, allocations: 4.425 MB / 491.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.1317, allocations: 1.461 MB / 493 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005589/0.1323, allocations: 15.94 kB / 493 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.1338, allocations: 374.5 kB / 493.4 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009532/0.1348, allocations: 254.7 kB / 493.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008033/0.1356, allocations: 239.4 kB / 493.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006624/0.1363, allocations: 0.5612 MB / 494.4 MB, free: 1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004997/0.1368, allocations: 285 kB / 494.7 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004942/0.1373, allocations: 259 kB / 494.9 MB, free: 484 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005785/0.1379, allocations: 362.9 kB / 495.3 MB, free: 120 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.179e-05/0.1379, allocations: 40 kB / 495.3 MB, free: 80 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005012/0.1385, allocations: 215.7 kB / 495.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.1387, allocations: 243.4 kB / 495.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.139, allocations: 262.7 kB / 496 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007271/0.1398, allocations: 0.662 MB / 496.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1398, allocations: 0 / 496.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1398, allocations: 3.938 kB / 496.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.1398, allocations: 0 / 496.7 MB, free: 14.7 MB / 382.1 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.001304/0.1411, allocations: 0.77 MB / 497.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1412, allocations: 19.83 kB / 497.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/0.1418, allocations: 96.2 kB / 497.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/0.1424, allocations: 423.2 kB / 498 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.1424, allocations: 29.38 kB / 498 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.1426, allocations: 52.09 kB / 498.1 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009295/0.1435, allocations: 0.6765 MB / 498.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.1436, allocations: 4 kB / 498.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.1436, allocations: 12 kB / 498.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.1438, allocations: 56.94 kB / 498.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009365/0.1448, allocations: 0.6713 MB / 499.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003182/0.1479, allocations: 2.421 MB / 0.4902 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.1485, allocations: 365.6 kB / 0.4905 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.1488, allocations: 253.9 kB / 0.4907 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-05/0.1489, allocations: 12.25 kB / 0.4908 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.149, allocations: 42.78 kB / 0.4908 GB, free: 8.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.375e-06/0.149, allocations: 0 / 0.4908 GB, free: 8.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002206/0.1512, allocations: 1.472 MB / 0.4922 GB, free: 7.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.1512, allocations: 85.09 kB / 0.4923 GB, free: 6.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.1515, allocations: 286.9 kB / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.1516, allocations: 33.69 kB / 0.4926 GB, free: 6.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.1517, allocations: 243.7 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.1519, allocations: 157.7 kB / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.152, allocations: 94.16 kB / 0.4931 GB, free: 6.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1522, allocations: 346.8 kB / 0.4934 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.1525, allocations: 228.9 kB / 0.4936 GB, free: 5.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.1529, allocations: 369.5 kB / 0.494 GB, free: 5.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007824/0.1537, allocations: 0.6239 MB / 0.4946 GB, free: 4.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1537, allocations: 4 kB / 0.4946 GB, free: 4.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001273/0.155, allocations: 0.7199 MB / 0.4953 GB, free: 3.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.1551, allocations: 11.94 kB / 0.4953 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008474/0.1559, allocations: 0.5147 MB / 0.4958 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/0.1562, allocations: 85.19 kB / 0.4959 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.1566, allocations: 99.88 kB / 0.496 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.1583, allocations: 1.738 MB / 0.4977 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.1586, allocations: 27.97 kB / 0.4977 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.1587, allocations: 16 kB / 0.4977 GB, free: 1.059 MB / 382.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002648/0.159, allocations: 217.7 kB / 0.4979 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.1591, allocations: 39.47 kB / 0.498 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009038/0.16, allocations: 0.5668 MB / 0.4985 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.16, allocations: 12 kB / 0.4985 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.16, allocations: 0 / 0.4985 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.16, allocations: 7.984 kB / 0.4986 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.162, allocations: 1.188 MB / 0.4997 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.162, allocations: 8.094 kB / 0.4997 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.1624, allocations: 83.88 kB / 0.4998 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.1624, allocations: 4 kB / 0.4998 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.1624, allocations: 8 kB / 0.4998 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1624, allocations: 7.984 kB / 0.4998 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1625, allocations: 0 / 0.4998 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.1637, allocations: 0.9314 MB / 0.5007 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-05/0.1638, allocations: 104.7 kB / 0.5008 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.1638, allocations: 11.94 kB / 0.5008 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.164, allocations: 19.97 kB / 0.5009 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.1641, allocations: 27.91 kB / 0.5009 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.1641, allocations: 12.23 kB / 0.5009 GB, free: 13.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.1643, allocations: 205.9 kB / 0.5011 GB, free: 13.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1644, allocations: 0 / 0.5011 GB, free: 13.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005114/0.1649, allocations: 116 kB / 0.5012 GB, free: 13.38 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002645/0.1651, allocations: 147 kB / 0.5014 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.1662, allocations: 0.6651 MB / 0.502 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.1662, allocations: 0 / 0.502 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.1666, allocations: 267.5 kB / 0.5023 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.1671, allocations: 89.2 kB / 0.5023 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.1692, allocations: 1.158 MB / 0.5035 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/0.1697, allocations: 0.8782 MB / 0.5043 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003245/0.1701, allocations: 131.2 kB / 0.5045 GB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.1702, allocations: 31.44 kB / 0.5045 GB, free: 9.934 MB / 398.1 MB Notification: Performance of SimCode: time 1.943e-06/0.1702, allocations: 0 / 0.5045 GB, free: 9.934 MB / 398.1 MB Notification: Performance of Templates: time 0.01006/0.1803, allocations: 4.599 MB / 0.509 GB, free: 5.328 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)