Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.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.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 114.3 kB / 17.75 MB, free: 5.309 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.001409/0.001409, allocations: 189.3 kB / 18.67 MB, free: 4.395 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.363/1.363, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1741/0.1741, allocations: 37.98 MB / 309.9 MB, free: 5.941 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.00149/0.00149, allocations: 72.22 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.09046, allocations: 55.24 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.008907/0.09941, allocations: 7.575 MB / 495.3 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004252/0.1037, allocations: 2.365 MB / 497.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005606/0.1043, allocations: 27.81 kB / 497.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.1065, allocations: 0.8596 MB / 498.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.1078, allocations: 0.5052 MB / 499.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.109, allocations: 455 kB / 499.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.1107, allocations: 1.313 MB / 0.4891 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.1117, allocations: 0.6893 MB / 0.4898 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.1128, allocations: 0.5758 MB / 0.4904 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.114, allocations: 0.6813 MB / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002602/0.1142, allocations: 88 kB / 0.4911 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007333/0.115, allocations: 259.7 kB / 0.4914 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006762/0.1157, allocations: 0.5104 MB / 0.4919 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009029/0.1166, allocations: 0.5404 MB / 0.4924 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.118, allocations: 1.324 MB / 0.4937 GB, free: 6.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.118, allocations: 4 kB / 0.4937 GB, free: 6.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.118, allocations: 0 / 0.4937 GB, free: 6.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.932e-05/0.1181, allocations: 0 / 0.4937 GB, free: 6.512 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.002729/0.1208, allocations: 1.339 MB / 0.495 GB, free: 5.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1209, allocations: 11.89 kB / 0.495 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.122, allocations: 163.5 kB / 0.4952 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.1234, allocations: 0.7466 MB / 0.4959 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.1235, allocations: 74.36 kB / 0.496 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.1237, allocations: 100.1 kB / 0.496 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.1256, allocations: 1.212 MB / 0.4972 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.1256, allocations: 11.84 kB / 0.4972 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/0.1257, allocations: 39.97 kB / 0.4973 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002653/0.126, allocations: 65.97 kB / 0.4973 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.1277, allocations: 1.007 MB / 0.4983 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00613/0.1338, allocations: 4.752 MB / 0.503 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.135, allocations: 0.6721 MB / 0.5036 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006462/0.1356, allocations: 451.8 kB / 0.5041 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.1357, allocations: 12.55 kB / 0.5041 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007287/0.1364, allocations: 0.5042 MB / 0.5046 GB, free: 10.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=69): time 2.986e-06/0.1364, allocations: 0 / 0.5046 GB, free: 10.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.004994/0.1414, allocations: 2.788 MB / 0.5073 GB, free: 8.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.856e-05/0.1415, allocations: 170.8 kB / 0.5074 GB, free: 7.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00069/0.1422, allocations: 0.586 MB / 0.508 GB, free: 7.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.1423, allocations: 45.73 kB / 0.5081 GB, free: 7.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.1426, allocations: 474.9 kB / 0.5085 GB, free: 6.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.1429, allocations: 256.5 kB / 0.5088 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/0.1432, allocations: 170.6 kB / 0.5089 GB, free: 6.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1434, allocations: 394.7 kB / 0.5093 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000713/0.1441, allocations: 373.8 kB / 0.5097 GB, free: 5.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000737/0.1448, allocations: 0.6346 MB / 0.5103 GB, free: 4.809 MB / 398.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.007352/0.1522, allocations: 3.454 MB / 0.5136 GB, free: 1.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.1522, allocations: 8 kB / 0.5137 GB, free: 1.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002532/0.1548, allocations: 1.34 MB / 0.515 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.1548, allocations: 33.7 kB / 0.515 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.1548, allocations: 8 kB / 0.515 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006891/0.1555, allocations: 250.6 kB / 0.5152 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.1567, allocations: 263.6 kB / 0.5155 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005825/0.1626, allocations: 6.077 MB / 0.5214 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/0.1632, allocations: 44.03 kB / 0.5215 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/0.1632, allocations: 36 kB / 0.5215 GB, free: 8.676 MB / 414.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,$PRE.switch.t0,$PRE.switch.closed,$PRE.switch.open,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,switch.open,switch.t0,switch.control[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005449/0.1638, allocations: 368.3 kB / 0.5219 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.1639, allocations: 82.94 kB / 0.5219 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.1661, allocations: 1.153 MB / 0.5231 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.1661, allocations: 0 / 0.5231 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1661, allocations: 0 / 0.5231 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.1663, allocations: 140.2 kB / 0.5232 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.1665, allocations: 36.05 kB / 0.5232 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.1668, allocations: 20.05 kB / 0.5232 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.167, allocations: 68.5 kB / 0.5233 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003244/0.1702, allocations: 1.549 MB / 0.5248 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002192/0.1724, allocations: 1.716 MB / 0.5265 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005637/0.173, allocations: 424.9 kB / 0.5269 GB, free: 3.016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004643/0.1735, allocations: 415.1 kB / 0.5273 GB, free: 2.613 MB / 414.1 MB Notification: Performance of Backend: time 4.21e-07/0.1735, allocations: 7.938 kB / 0.5273 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00256/0.176, allocations: 1.245 MB / 0.5285 GB, free: 1.305 MB / 414.1 MB Notification: Performance of SimCode: time 0.1854/0.3614, allocations: 2.558 MB / 0.531 GB, free: 50.72 MB / 414.1 MB Notification: Performance of Templates: time 0.02249/0.384, allocations: 13.34 MB / 0.5441 GB, free: 47.86 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1)