Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009055/0.0009056, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0009954/0.0009955, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.474/1.474, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1871/0.1871, allocations: 38.08 MB / 330.8 MB, free: 8.465 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003291, allocations: 12 kB / 400.7 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1239, allocations: 59.17 MB / 459.9 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005504/0.1295, allocations: 3.805 MB / 463.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.1327, allocations: 1.862 MB / 465.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/0.1331, allocations: 11.94 kB / 465.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.1334, allocations: 43.64 kB / 465.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.1346, allocations: 382.8 kB / 466 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.1352, allocations: 119.7 kB / 466.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.1363, allocations: 0.8496 MB / 466.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000946/0.1373, allocations: 443.6 kB / 467.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.1377, allocations: 171.1 kB / 467.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004386/0.1381, allocations: 231.2 kB / 467.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.1382, allocations: 12 kB / 467.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.1393, allocations: 0.53 MB / 468.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.1395, allocations: 143.6 kB / 468.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002237/0.1397, allocations: 157 kB / 468.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008764/0.1406, allocations: 0.5062 MB / 469.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1406, allocations: 0 / 469.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1407, allocations: 0 / 469.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1407, allocations: 4 kB / 469.1 MB, free: 13.73 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009156/0.1416, allocations: 0.5497 MB / 469.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1416, allocations: 8.031 kB / 469.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.1429, allocations: 136.4 kB / 469.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.1433, allocations: 289.3 kB / 470.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.1434, allocations: 24.92 kB / 470.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.1434, allocations: 24.38 kB / 470.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007067/0.1441, allocations: 439.9 kB / 470.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.1442, allocations: 4 kB / 470.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.1442, allocations: 8 kB / 470.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/0.1443, allocations: 28.55 kB / 470.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006893/0.145, allocations: 429.8 kB / 471 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.1473, allocations: 1.721 MB / 472.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.1478, allocations: 290.1 kB / 473 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.148, allocations: 141.7 kB / 473.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.1481, allocations: 0 / 473.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.1481, allocations: 38.56 kB / 473.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.142e-06/0.1481, allocations: 0 / 473.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001848/0.15, allocations: 0.7956 MB / 474 MB, free: 8.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.15, allocations: 85.09 kB / 474.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.1502, allocations: 207 kB / 474.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1503, allocations: 25.7 kB / 474.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.1504, allocations: 184 kB / 474.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.499e-05/0.1505, allocations: 87.02 kB / 474.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.1505, allocations: 29.7 kB / 474.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1506, allocations: 326.8 kB / 474.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.1508, allocations: 104.5 kB / 475 MB, free: 7.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.151, allocations: 216.9 kB / 475.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.1514, allocations: 335.7 kB / 475.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1515, allocations: 4 kB / 475.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007117/0.1522, allocations: 428.6 kB / 476 MB, free: 6.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.1522, allocations: 8.406 kB / 476 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1522, allocations: 4 kB / 476 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004051/0.1526, allocations: 88.86 kB / 476.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.1529, allocations: 63.89 kB / 476.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.1548, allocations: 1.787 MB / 477.9 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.155, allocations: 15.98 kB / 477.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.155, allocations: 24.05 kB / 478 MB, free: 4.258 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.1552, allocations: 173.7 kB / 478.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.1553, allocations: 19.72 kB / 478.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006974/0.156, allocations: 384.8 kB / 478.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.156, allocations: 15.92 kB / 478.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.156, allocations: 7.938 kB / 478.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.156, allocations: 0 / 478.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.1574, allocations: 0.9098 MB / 479.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1574, allocations: 3.984 kB / 479.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.1576, allocations: 39.92 kB / 479.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/0.1578, allocations: 68.98 kB / 479.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.1578, allocations: 15.92 kB / 479.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.1597, allocations: 1.709 MB / 481.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.1597, allocations: 4.031 kB / 481.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.1605, allocations: 462.4 kB / 481.8 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.1605, allocations: 100.8 kB / 481.9 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.1606, allocations: 11.98 kB / 481.9 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1607, allocations: 8 kB / 481.9 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.1608, allocations: 15.97 kB / 481.9 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.1608, allocations: 12 kB / 481.9 MB, free: 40 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.161, allocations: 151.3 kB / 482.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.161, allocations: 0 / 482.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000496/0.1615, allocations: 84 kB / 482.1 MB, free: 15.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001543/0.1617, allocations: 99.19 kB / 482.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007684/0.1624, allocations: 438.8 kB / 482.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.1625, allocations: 0 / 482.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004311/0.1629, allocations: 282.5 kB / 482.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1633, allocations: 35.97 kB / 483 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1644, allocations: 0.7484 MB / 483.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.1649, allocations: 0.7987 MB / 484.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.165, allocations: 58.06 kB / 484.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.1651, allocations: 23.44 kB / 484.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1651, allocations: 0 / 484.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of Templates: time 0.006141/0.1712, allocations: 2.79 MB / 487.4 MB, free: 10.46 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)