Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 111.8 kB / 17.75 MB, free: 5.223 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.001689/0.001689, allocations: 182.4 kB / 18.67 MB, free: 4.309 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.451/1.451, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1772/0.1772, allocations: 37.97 MB / 309.9 MB, free: 5.965 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.001413/0.001413, allocations: 71.89 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08755/0.08898, allocations: 55.24 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.008919/0.09794, allocations: 7.579 MB / 495.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004062/0.102, allocations: 2.361 MB / 497.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000555/0.1026, allocations: 31.81 kB / 497.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.1048, allocations: 0.8634 MB / 498.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.106, allocations: 0.5053 MB / 499.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1071, allocations: 451 kB / 499.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.1086, allocations: 1.274 MB / 0.4891 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009711/0.1096, allocations: 0.6776 MB / 0.4898 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009883/0.1106, allocations: 0.5602 MB / 0.4903 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.1117, allocations: 0.6541 MB / 0.491 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001895/0.1119, allocations: 72 kB / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005104/0.1125, allocations: 211.7 kB / 0.4912 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004933/0.113, allocations: 494.8 kB / 0.4917 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006669/0.1136, allocations: 0.5325 MB / 0.4922 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.115, allocations: 1.234 MB / 0.4934 GB, free: 6.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.115, allocations: 3.938 kB / 0.4934 GB, free: 6.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.115, allocations: 0 / 0.4934 GB, free: 6.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.205e-05/0.1151, allocations: 0 / 0.4934 GB, free: 6.797 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002531/0.1176, allocations: 1.318 MB / 0.4947 GB, free: 5.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1177, allocations: 11.89 kB / 0.4947 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009523/0.1186, allocations: 163.5 kB / 0.4949 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.12, allocations: 0.7272 MB / 0.4956 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.12, allocations: 58.38 kB / 0.4956 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.1202, allocations: 92.11 kB / 0.4957 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.1219, allocations: 1.175 MB / 0.4969 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.1219, allocations: 8 kB / 0.4969 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.187e-05/0.122, allocations: 32 kB / 0.4969 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-05/0.1221, allocations: 61.91 kB / 0.497 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.1236, allocations: 0.9327 MB / 0.4979 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005435/0.129, allocations: 4.76 MB / 0.5025 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.1302, allocations: 0.6717 MB / 0.5032 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/0.1307, allocations: 375.8 kB / 0.5035 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.1308, allocations: 16.53 kB / 0.5036 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005892/0.1314, allocations: 439.7 kB / 0.504 GB, free: 11.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.705e-06/0.1314, allocations: 0 / 0.504 GB, free: 11.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.005133/0.1365, allocations: 2.444 MB / 0.5064 GB, free: 9.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/0.1366, allocations: 162.8 kB / 0.5065 GB, free: 8.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.1373, allocations: 0.6016 MB / 0.5071 GB, free: 8.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.1373, allocations: 41.69 kB / 0.5072 GB, free: 8.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.1377, allocations: 486.6 kB / 0.5076 GB, free: 7.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.1379, allocations: 220.9 kB / 0.5078 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.1381, allocations: 150.5 kB / 0.508 GB, free: 7.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1383, allocations: 390.8 kB / 0.5083 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.1387, allocations: 289.8 kB / 0.5086 GB, free: 6.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.1394, allocations: 0.5524 MB / 0.5092 GB, free: 5.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.1406, allocations: 0.965 MB / 0.5101 GB, free: 4.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.1406, allocations: 0 / 0.5101 GB, free: 4.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002067/0.1427, allocations: 1.223 MB / 0.5113 GB, free: 3.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.1427, allocations: 37.7 kB / 0.5113 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.1428, allocations: 12 kB / 0.5113 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.1438, allocations: 349.9 kB / 0.5117 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.1443, allocations: 139.8 kB / 0.5118 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005916/0.1502, allocations: 5.371 MB / 0.5171 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.1507, allocations: 32.03 kB / 0.5171 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.1508, allocations: 36 kB / 0.5171 GB, free: 13.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003992/0.1512, allocations: 363.1 kB / 0.5175 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-05/0.1513, allocations: 75.06 kB / 0.5175 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.1531, allocations: 1.048 MB / 0.5186 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1531, allocations: 0 / 0.5186 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1531, allocations: 144 / 0.5186 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.1533, allocations: 144.1 kB / 0.5187 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/0.1534, allocations: 19.94 kB / 0.5187 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.1537, allocations: 23.98 kB / 0.5187 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.1538, allocations: 68.45 kB / 0.5188 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002294/0.1561, allocations: 1.331 MB / 0.5201 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001649/0.1578, allocations: 1.425 MB / 0.5215 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004494/0.1582, allocations: 324.3 kB / 0.5218 GB, free: 8.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004508/0.1587, allocations: 423 kB / 0.5222 GB, free: 8 MB / 414.1 MB Notification: Performance of Backend: time 7.01e-07/0.1587, allocations: 0 / 0.5222 GB, free: 8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.1608, allocations: 1.052 MB / 0.5232 GB, free: 6.906 MB / 414.1 MB Notification: Performance of SimCode: time 0.002932/0.1637, allocations: 2.314 MB / 0.5255 GB, free: 4.527 MB / 414.1 MB Notification: Performance of Templates: time 0.1925/0.3562, allocations: 11.72 MB / 0.5369 GB, free: 51.32 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1)