Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_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.001199/0.001199, allocations: 110.5 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.001324/0.001324, allocations: 183 kB / 18.68 MB, free: 4.391 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.291/1.291, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1737/0.1737, allocations: 38.03 MB / 330.6 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.89 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3078, allocations: 58.06 MB / 0.5048 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.00713/0.315, allocations: 7.579 MB / 0.5122 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.3184, allocations: 2.316 MB / 0.5144 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.3188, allocations: 33.75 kB / 0.5145 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.3207, allocations: 0.8506 MB / 0.5153 GB, free: 336 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009488/0.3217, allocations: 0.4998 MB / 0.5158 GB, free: 36 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.323, allocations: 450.7 kB / 0.5162 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.3248, allocations: 1.32 MB / 0.5175 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.3259, allocations: 0.6835 MB / 0.5182 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.3271, allocations: 0.5823 MB / 0.5187 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.3282, allocations: 0.6821 MB / 0.5194 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.3284, allocations: 81.88 kB / 0.5195 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006445/0.3291, allocations: 269.1 kB / 0.5197 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006413/0.3297, allocations: 0.5084 MB / 0.5202 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006551/0.3304, allocations: 0.5404 MB / 0.5208 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.3321, allocations: 1.327 MB / 0.5221 GB, free: 13.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3321, allocations: 0 / 0.5221 GB, free: 13.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3321, allocations: 3.938 kB / 0.5221 GB, free: 13.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.3321, allocations: 0 / 0.5221 GB, free: 13.4 MB / 398.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.002625/0.3348, allocations: 1.333 MB / 0.5234 GB, free: 12.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3348, allocations: 12.11 kB / 0.5234 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.3359, allocations: 172.8 kB / 0.5235 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.3373, allocations: 0.7454 MB / 0.5243 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.3374, allocations: 60.94 kB / 0.5243 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/0.3377, allocations: 111.2 kB / 0.5244 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.3396, allocations: 1.218 MB / 0.5256 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.3397, allocations: 6.656 kB / 0.5256 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.566e-05/0.3398, allocations: 37.62 kB / 0.5257 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002871/0.3401, allocations: 62.44 kB / 0.5257 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.3418, allocations: 1.011 MB / 0.5267 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006273/0.3481, allocations: 4.756 MB / 0.5313 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.3492, allocations: 0.6666 MB / 0.532 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/0.3499, allocations: 458.8 kB / 0.5324 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/0.3499, allocations: 15.33 kB / 0.5325 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007382/0.3507, allocations: 0.5059 MB / 0.5329 GB, free: 6.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=69): time 3.026e-06/0.3507, allocations: 0 / 0.5329 GB, free: 6.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.004997/0.3557, allocations: 2.781 MB / 0.5357 GB, free: 4.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/0.3558, allocations: 168.2 kB / 0.5358 GB, free: 4.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007488/0.3565, allocations: 0.5848 MB / 0.5364 GB, free: 4.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/0.3566, allocations: 46.09 kB / 0.5364 GB, free: 4.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.357, allocations: 479.4 kB / 0.5369 GB, free: 3.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.3572, allocations: 254.8 kB / 0.5371 GB, free: 3.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.3575, allocations: 178.5 kB / 0.5373 GB, free: 3.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.3577, allocations: 391.5 kB / 0.5377 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/0.3583, allocations: 377.5 kB / 0.538 GB, free: 3.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007452/0.359, allocations: 0.6299 MB / 0.5387 GB, free: 2.562 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.007311/0.3663, allocations: 3.443 MB / 0.542 GB, free: 500 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.3664, allocations: 2.312 kB / 0.542 GB, free: 500 kB / 398.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002402/0.3688, allocations: 1.337 MB / 0.5433 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.3688, allocations: 39.36 kB / 0.5434 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.3689, allocations: 8.406 kB / 0.5434 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/0.3695, allocations: 244.4 kB / 0.5436 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.3706, allocations: 270.1 kB / 0.5439 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/0.376, allocations: 6.083 MB / 0.5498 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/0.3768, allocations: 43.83 kB / 0.5498 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/0.3768, allocations: 43.98 kB / 0.5499 GB, free: 9.051 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.0005966/0.3775, allocations: 376.9 kB / 0.5502 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3776, allocations: 82.98 kB / 0.5503 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.3797, allocations: 1.141 MB / 0.5514 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.3797, allocations: 3.984 kB / 0.5514 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3797, allocations: 0 / 0.5514 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.3799, allocations: 148.2 kB / 0.5516 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.38, allocations: 16 kB / 0.5516 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.3804, allocations: 27.97 kB / 0.5516 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.3806, allocations: 68.44 kB / 0.5517 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003203/0.3838, allocations: 1.561 MB / 0.5532 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002197/0.386, allocations: 1.72 MB / 0.5549 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00059/0.3866, allocations: 417 kB / 0.5553 GB, free: 3.391 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000496/0.3871, allocations: 415 kB / 0.5557 GB, free: 2.988 MB / 414.1 MB Notification: Performance of Backend: time 3.4e-07/0.3871, allocations: 0 / 0.5557 GB, free: 2.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002906/0.39, allocations: 1.241 MB / 0.5569 GB, free: 1.688 MB / 414.1 MB Notification: Performance of SimCode: time 0.003671/0.3937, allocations: 2.563 MB / 0.5594 GB, free: 15.07 MB / 430.1 MB Notification: Performance of Templates: time 0.02265/0.4164, allocations: 13.36 MB / 0.5724 GB, free: 1.789 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1)