Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008532/0.0008531, allocations: 89.77 kB / 16.65 MB, free: 6.594 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.0009218/0.0009218, allocations: 183.2 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.3 MB / 241.6 MB, free: 14.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1799/0.1799, allocations: 38.08 MB / 330.8 MB, free: 8.465 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002893, allocations: 8 kB / 400.7 MB, free: 34.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 59.16 MB / 459.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.008576/0.1497, allocations: 4.682 MB / 464.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004365/0.1542, allocations: 1.601 MB / 466.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006292/0.1548, allocations: 31.75 kB / 466.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.1552, allocations: 59.61 kB / 466.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.1563, allocations: 207.1 kB / 466.4 MB, free: 456 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009263/0.1573, allocations: 215.6 kB / 466.6 MB, free: 240 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.1586, allocations: 0.8148 MB / 467.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.1599, allocations: 0.5397 MB / 468 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004495/0.1604, allocations: 191.1 kB / 468.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006001/0.161, allocations: 299 kB / 468.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.161, allocations: 16 kB / 468.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.1614, allocations: 143.7 kB / 468.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.1616, allocations: 203.5 kB / 468.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.1619, allocations: 232.6 kB / 469.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007534/0.1627, allocations: 0.541 MB / 469.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1627, allocations: 0 / 469.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1627, allocations: 0 / 469.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.1627, allocations: 0 / 469.6 MB, free: 13.23 MB / 350.1 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.001445/0.1642, allocations: 0.6609 MB / 470.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1642, allocations: 8.031 kB / 470.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000778/0.165, allocations: 88.31 kB / 470.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00078/0.1658, allocations: 383.2 kB / 470.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.1659, allocations: 33.38 kB / 470.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.1661, allocations: 56.02 kB / 470.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.1673, allocations: 0.6209 MB / 471.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.1673, allocations: 3.938 kB / 471.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.27e-05/0.1674, allocations: 20 kB / 471.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.1675, allocations: 28.98 kB / 471.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.1686, allocations: 487.4 kB / 472 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004406/0.1731, allocations: 2.884 MB / 474.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.1735, allocations: 233 kB / 475.1 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.1737, allocations: 145.7 kB / 475.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.1738, allocations: 7.984 kB / 475.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.1738, allocations: 42.5 kB / 475.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.655e-06/0.1739, allocations: 3.938 kB / 475.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.002426/0.1763, allocations: 0.9631 MB / 476.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.1764, allocations: 81.11 kB / 476.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.1767, allocations: 320.4 kB / 476.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1768, allocations: 29.7 kB / 476.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.177, allocations: 279.2 kB / 476.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.1772, allocations: 98.55 kB / 477 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.1773, allocations: 53.62 kB / 477.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.1775, allocations: 358.9 kB / 477.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.1778, allocations: 137 kB / 477.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/0.1784, allocations: 339.3 kB / 477.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009798/0.1794, allocations: 0.5325 MB / 478.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1795, allocations: 0 / 478.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001204/0.1807, allocations: 0.5286 MB / 479 MB, free: 3.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.1807, allocations: 8 kB / 479 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.1807, allocations: 8.062 kB / 479 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/0.1808, allocations: 12 kB / 479 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000651/0.1814, allocations: 115.8 kB / 479.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.68e-05/0.1815, allocations: 19.92 kB / 479.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.1819, allocations: 27.97 kB / 479.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.182, allocations: 20 kB / 479.2 MB, free: 3.031 MB / 350.1 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003679/0.1823, allocations: 217.5 kB / 479.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1825, allocations: 31.62 kB / 479.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009012/0.1834, allocations: 373.5 kB / 479.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1834, allocations: 4 kB / 479.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.1834, allocations: 4 kB / 479.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1834, allocations: 0 / 479.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.1855, allocations: 0.8913 MB / 480.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1855, allocations: 0 / 480.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.1859, allocations: 63.89 kB / 480.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.186, allocations: 4 kB / 480.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.186, allocations: 8 kB / 480.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.186, allocations: 7.938 kB / 480.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.186, allocations: 0 / 480.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.1872, allocations: 0.5848 MB / 481.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.1873, allocations: 112.7 kB / 481.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.989e-05/0.1874, allocations: 8 kB / 481.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.1877, allocations: 15.97 kB / 481.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.1877, allocations: 15.97 kB / 481.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.1878, allocations: 16 kB / 481.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003345/0.1881, allocations: 227 kB / 481.7 MB, free: 344 kB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1881, allocations: 0 / 481.7 MB, free: 344 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008037/0.1889, allocations: 95.94 kB / 481.8 MB, free: 248 kB / 350.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 (31): * Single equations (assignments): 30 * Array equations: 0 * 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.0001494/0.1891, allocations: 99.25 kB / 481.9 MB, free: 140 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008535/0.19, allocations: 364.3 kB / 482.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.19, allocations: 0 / 482.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.1903, allocations: 147.8 kB / 482.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008476/0.1912, allocations: 62.23 kB / 482.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.1937, allocations: 1.246 MB / 483.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000793/0.1945, allocations: 0.8584 MB / 484.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005579/0.1951, allocations: 127.1 kB / 484.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.1952, allocations: 39.42 kB / 484.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1953, allocations: 0 / 484.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of Templates: time 0.008508/0.2038, allocations: 3.138 MB / 487.9 MB, free: 10.13 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1)