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.001254/0.001254, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001267/0.001267, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.418/1.418, allocations: 222.9 MB / 241.1 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.1834/0.1834, allocations: 38.03 MB / 329.3 MB, free: 9.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 64.83 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1076, allocations: 58.06 MB / 456.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005918/0.1136, allocations: 4.183 MB / 460.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.1164, allocations: 1.893 MB / 462.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.1167, allocations: 11.94 kB / 462.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.1179, allocations: 350.7 kB / 462.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009398/0.1188, allocations: 382.8 kB / 463 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1192, allocations: 123.7 kB / 463.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008268/0.12, allocations: 0.8458 MB / 463.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.1205, allocations: 203 kB / 464.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.1209, allocations: 187.1 kB / 464.3 MB, free: 348 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.1213, allocations: 243.2 kB / 464.5 MB, free: 104 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.1213, allocations: 16 kB / 464.6 MB, free: 88 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008638/0.1222, allocations: 0.5339 MB / 465.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.1224, allocations: 147.6 kB / 465.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.1226, allocations: 151.2 kB / 465.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007311/0.1233, allocations: 0.5141 MB / 465.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1233, allocations: 0 / 465.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1233, allocations: 4 kB / 465.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1233, allocations: 0 / 465.9 MB, free: 14.74 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.0009593/0.1243, allocations: 0.5925 MB / 466.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1244, allocations: 12.03 kB / 466.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.1256, allocations: 136.4 kB / 466.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.126, allocations: 277.4 kB / 466.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.1261, allocations: 24.92 kB / 466.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.1261, allocations: 28.31 kB / 467 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/0.1268, allocations: 447.9 kB / 467.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1269, allocations: 0 / 467.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.1269, allocations: 8 kB / 467.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/0.127, allocations: 28.48 kB / 467.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006296/0.1276, allocations: 425.9 kB / 467.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.1297, allocations: 1.714 MB / 469.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.1301, allocations: 302.1 kB / 469.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.1303, allocations: 133.7 kB / 470 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.1304, allocations: 7.984 kB / 470 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1304, allocations: 34.56 kB / 470 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.532e-06/0.1304, allocations: 0 / 470 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001787/0.1322, allocations: 0.7954 MB / 470.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.1323, allocations: 81.05 kB / 470.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1325, allocations: 211 kB / 471.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1325, allocations: 29.7 kB / 471.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.1326, allocations: 180 kB / 471.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.181e-05/0.1327, allocations: 78.86 kB / 471.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1328, allocations: 69.94 kB / 471.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.133, allocations: 330.8 kB / 471.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.1332, allocations: 108.5 kB / 471.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.1334, allocations: 201 kB / 472.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.1339, allocations: 339.7 kB / 472.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1339, allocations: 4 kB / 472.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000809/0.1347, allocations: 432.8 kB / 472.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1347, allocations: 4 kB / 472.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.1347, allocations: 4 kB / 472.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004131/0.1352, allocations: 93.19 kB / 472.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.1354, allocations: 55.91 kB / 473 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.1374, allocations: 1.795 MB / 474.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.1376, allocations: 15.98 kB / 474.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.1377, allocations: 19.92 kB / 474.8 MB, free: 5.203 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.0001813/0.1379, allocations: 173.8 kB / 475 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.1379, allocations: 23.72 kB / 475 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000749/0.1387, allocations: 384.8 kB / 475.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1387, allocations: 7.938 kB / 475.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1387, allocations: 7.938 kB / 475.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1387, allocations: 0 / 475.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.1402, allocations: 0.9165 MB / 476.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1402, allocations: 4.031 kB / 476.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.1404, allocations: 31.98 kB / 476.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002773/0.1407, allocations: 72.73 kB / 476.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.1407, allocations: 15.92 kB / 476.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.1425, allocations: 1.702 MB / 478.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1426, allocations: 4 kB / 478.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007208/0.1433, allocations: 466.3 kB / 478.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.1434, allocations: 96.92 kB / 478.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.1434, allocations: 7.984 kB / 478.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1436, allocations: 4 kB / 478.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.1437, allocations: 28 kB / 478.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1437, allocations: 4 kB / 478.7 MB, free: 1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1438, allocations: 151.2 kB / 478.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1438, allocations: 0 / 478.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005351/0.1444, allocations: 80 kB / 479 MB, free: 0.7734 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.000119/0.1445, allocations: 107.2 kB / 479.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007835/0.1453, allocations: 442.7 kB / 479.5 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.1453, allocations: 4.062 kB / 479.5 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.1457, allocations: 282.5 kB / 479.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.1462, allocations: 39.23 kB / 479.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1474, allocations: 0.7278 MB / 480.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.1478, allocations: 0.7948 MB / 481.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.148, allocations: 53.91 kB / 481.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.1481, allocations: 23.38 kB / 481.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1481, allocations: 0 / 481.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of Templates: time 0.006326/0.1544, allocations: 2.85 MB / 484.3 MB, free: 11.38 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)