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.001218/0.001218, allocations: 105.4 kB / 16.62 MB, free: 6.809 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.001207/0.001208, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.399/1.399, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1789/0.1789, allocations: 38.03 MB / 329.4 MB, free: 8.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 56.75 kB / 398.3 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1263, allocations: 58.07 MB / 456.3 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005914/0.1322, allocations: 4.191 MB / 460.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.1351, allocations: 1.87 MB / 462.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.1354, allocations: 11.94 kB / 462.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.1364, allocations: 334.9 kB / 462.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.1375, allocations: 382.8 kB / 463.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.1379, allocations: 131.7 kB / 463.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006667/0.1385, allocations: 494.7 kB / 463.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005157/0.1391, allocations: 231 kB / 463.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.1395, allocations: 219.1 kB / 464.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.1398, allocations: 247.2 kB / 464.4 MB, free: 328 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.1399, allocations: 31.98 kB / 464.4 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008619/0.1408, allocations: 439 kB / 464.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.141, allocations: 155.6 kB / 465 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.1411, allocations: 155.2 kB / 465.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008771/0.142, allocations: 0.5217 MB / 465.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.142, allocations: 0 / 465.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1421, allocations: 0 / 465.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.1421, allocations: 0 / 465.7 MB, free: 15.03 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.0009758/0.1431, allocations: 0.5965 MB / 466.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/0.1431, allocations: 15.83 kB / 466.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.1444, allocations: 136.4 kB / 466.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.1448, allocations: 281.4 kB / 466.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.1449, allocations: 24.92 kB / 466.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.287e-05/0.145, allocations: 24.38 kB / 466.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007179/0.1457, allocations: 447.9 kB / 467.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1457, allocations: 0 / 467.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.1457, allocations: 12 kB / 467.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.1458, allocations: 24.55 kB / 467.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.1465, allocations: 429.8 kB / 467.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.1488, allocations: 1.71 MB / 469.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.1492, allocations: 294.9 kB / 469.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.1494, allocations: 145.6 kB / 469.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.1494, allocations: 0 / 469.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1495, allocations: 34.56 kB / 469.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.1495, allocations: 0 / 469.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001722/0.1512, allocations: 0.7954 MB / 470.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.1513, allocations: 81.23 kB / 470.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.1515, allocations: 207 kB / 470.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1515, allocations: 33.7 kB / 470.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1516, allocations: 180 kB / 471.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.1517, allocations: 82.84 kB / 471.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.019e-05/0.1518, allocations: 57.88 kB / 471.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1519, allocations: 330.8 kB / 471.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.1521, allocations: 108.5 kB / 471.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.1523, allocations: 208.9 kB / 471.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.1528, allocations: 339.7 kB / 472.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1528, allocations: 4 kB / 472.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000759/0.1536, allocations: 432.8 kB / 472.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1536, allocations: 4 kB / 472.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.1536, allocations: 4 kB / 472.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.154, allocations: 93.17 kB / 472.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.1543, allocations: 59.89 kB / 472.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.1565, allocations: 1.994 MB / 474.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.1567, allocations: 19.92 kB / 474.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.1567, allocations: 16.06 kB / 474.8 MB, free: 5.289 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.0001999/0.1569, allocations: 173.7 kB / 475 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.157, allocations: 27.66 kB / 475 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007353/0.1578, allocations: 380.8 kB / 475.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1578, allocations: 8 kB / 475.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1578, allocations: 0 / 475.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1578, allocations: 3.984 kB / 475.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.1593, allocations: 0.9241 MB / 476.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1593, allocations: 4.188 kB / 476.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.1595, allocations: 39.97 kB / 476.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.1598, allocations: 68.73 kB / 476.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.1598, allocations: 12.06 kB / 476.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.1617, allocations: 1.912 MB / 478.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1617, allocations: 0 / 478.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.1624, allocations: 462.4 kB / 478.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.1625, allocations: 96.83 kB / 478.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.1625, allocations: 7.984 kB / 478.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1627, allocations: 12 kB / 478.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.1628, allocations: 23.91 kB / 478.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1628, allocations: 8 kB / 479 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1629, allocations: 151.2 kB / 479.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1629, allocations: 0 / 479.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005016/0.1634, allocations: 84 kB / 479.2 MB, free: 0.6367 MB / 350.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.0001243/0.1636, allocations: 99.19 kB / 479.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008409/0.1644, allocations: 450.2 kB / 479.7 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1644, allocations: 4 kB / 479.7 MB, free: 76 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004875/0.1649, allocations: 287.3 kB / 480 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1653, allocations: 43.36 kB / 480.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.1665, allocations: 0.7261 MB / 480.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.1669, allocations: 0.8026 MB / 481.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001559/0.167, allocations: 49.91 kB / 481.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.411e-05/0.1671, allocations: 23.44 kB / 481.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1671, allocations: 0 / 481.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Templates: time 0.007467/0.1746, allocations: 2.995 MB / 484.6 MB, free: 11.08 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)