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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009943/0.0009944, allocations: 175.4 kB / 8.345 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008277/0.0008276, allocations: 88.36 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1631/0.1631, allocations: 37.98 MB / 348 MB, free: 7.781 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.421e-05/1.423e-05, allocations: 4 kB / 410.6 MB, free: 46.97 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 56.33 MB / 466.9 MB, free: 6.57 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.4795, allocations: 103 MB / 0.5565 GB, free: 7.953 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4798, allocations: 83.95 kB / 0.5566 GB, free: 7.871 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07337/0.5532, allocations: 25.64 MB / 0.5816 GB, free: 13.93 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5532, allocations: 4 kB / 0.5816 GB, free: 13.93 MB / 427.1 MB Notification: Performance of Transformations before backend: time 5.568e-05/0.5533, allocations: 24 kB / 0.5817 GB, free: 13.9 MB / 427.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.002082/0.5554, allocations: 1.08 MB / 0.5827 GB, free: 12.76 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.5555, allocations: 12.03 kB / 0.5827 GB, free: 12.75 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.5565, allocations: 182.5 kB / 0.5829 GB, free: 12.57 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/0.56, allocations: 1.362 MB / 0.5842 GB, free: 11.17 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.5601, allocations: 28 kB / 0.5843 GB, free: 11.14 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.5602, allocations: 55.91 kB / 0.5843 GB, free: 11.09 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001388/0.5616, allocations: 0.8199 MB / 0.5851 GB, free: 10.27 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.5632, allocations: 1.062 MB / 0.5861 GB, free: 9.137 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.5632, allocations: 4 kB / 0.5861 GB, free: 9.133 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.607e-05/0.5633, allocations: 4 kB / 0.5862 GB, free: 9.129 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.87e-05/0.5634, allocations: 45.98 kB / 0.5862 GB, free: 9.082 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006355/0.5698, allocations: 4.513 MB / 0.5906 GB, free: 4.387 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.5708, allocations: 0.6317 MB / 0.5912 GB, free: 3.734 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.5714, allocations: 448 kB / 0.5916 GB, free: 3.289 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.984e-05/0.5715, allocations: 16.53 kB / 0.5917 GB, free: 3.273 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007148/0.5722, allocations: 0.5007 MB / 0.5922 GB, free: 2.742 MB / 427.1 MB Notification: Performance of pre-optimization done (n=73): time 3.527e-06/0.5722, allocations: 0.75 kB / 0.5922 GB, free: 2.742 MB / 427.1 MB Notification: Performance of matching and sorting (n=77): time 0.00411/0.5763, allocations: 2.346 MB / 0.5944 GB, free: 344 kB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/0.5764, allocations: 170.9 kB / 0.5946 GB, free: 136 kB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.577, allocations: 454.3 kB / 0.595 GB, free: 15.68 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/0.5771, allocations: 29.7 kB / 0.5951 GB, free: 15.65 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.5774, allocations: 467 kB / 0.5955 GB, free: 15.18 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.5776, allocations: 264.3 kB / 0.5958 GB, free: 14.92 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.5777, allocations: 0 / 0.5958 GB, free: 14.92 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.5779, allocations: 390.8 kB / 0.5961 GB, free: 14.53 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.5784, allocations: 358.5 kB / 0.5965 GB, free: 14.18 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006468/0.579, allocations: 0.5987 MB / 0.5971 GB, free: 13.48 MB / 443.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.01059/0.5896, allocations: 3.8 MB / 0.6008 GB, free: 9.629 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.5897, allocations: 4 kB / 0.6008 GB, free: 9.625 MB / 443.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002281/0.5919, allocations: 1.224 MB / 0.602 GB, free: 8.387 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.152e-05/0.592, allocations: 35.42 kB / 0.602 GB, free: 8.348 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.592, allocations: 8 kB / 0.602 GB, free: 8.34 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/0.5927, allocations: 242.7 kB / 0.6022 GB, free: 8.094 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.5938, allocations: 271.5 kB / 0.6025 GB, free: 7.828 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/0.5988, allocations: 5.402 MB / 0.6078 GB, free: 2.074 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007295/0.5996, allocations: 27.91 kB / 0.6078 GB, free: 2.047 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.059e-05/0.5997, allocations: 40 kB / 0.6078 GB, free: 2.008 MB / 443.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: 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: 34 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,$whenCondition2,switch.control[1],$PRE.switch.t0,switch.t0,$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002871/0.6, allocations: 180.3 kB / 0.608 GB, free: 1.82 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.6001, allocations: 71.16 kB / 0.6081 GB, free: 1.75 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.6021, allocations: 1.084 MB / 0.6091 GB, free: 0.6445 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/0.6021, allocations: 12 kB / 0.6092 GB, free: 0.6328 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.6022, allocations: 4 kB / 0.6092 GB, free: 0.6289 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.6022, allocations: 3.984 kB / 0.6092 GB, free: 0.625 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/0.6056, allocations: 2.092 MB / 0.6112 GB, free: 14.46 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.6057, allocations: 0 / 0.6112 GB, free: 14.46 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009865/0.6067, allocations: 203.9 kB / 0.6114 GB, free: 14.26 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007002/0.6074, allocations: 242.2 kB / 0.6116 GB, free: 14.02 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/0.6074, allocations: 23.92 kB / 0.6117 GB, free: 13.99 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004957/0.6124, allocations: 5.317 MB / 0.6168 GB, free: 8.328 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.6124, allocations: 4.031 kB / 0.6169 GB, free: 8.324 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.615, allocations: 1.667 MB / 0.6185 GB, free: 6.578 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.6153, allocations: 156.1 kB / 0.6186 GB, free: 6.406 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6154, allocations: 12 kB / 0.6186 GB, free: 6.395 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.6159, allocations: 27.95 kB / 0.6187 GB, free: 6.367 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.616, allocations: 56.42 kB / 0.6187 GB, free: 6.312 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.6161, allocations: 31.88 kB / 0.6188 GB, free: 6.281 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0004654/0.6166, allocations: 355.2 kB / 0.6191 GB, free: 5.934 MB / 459.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6166, allocations: 0 / 0.6191 GB, free: 5.934 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.001198/0.6178, allocations: 284 kB / 0.6194 GB, free: 5.656 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003263/0.6181, allocations: 186.9 kB / 0.6195 GB, free: 5.465 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.6201, allocations: 1.322 MB / 0.6208 GB, free: 4.102 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6201, allocations: 0 / 0.6208 GB, free: 4.102 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.6214, allocations: 0.8901 MB / 0.6217 GB, free: 3.172 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008451/0.6223, allocations: 151.1 kB / 0.6218 GB, free: 3.023 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.6254, allocations: 1.775 MB / 0.6236 GB, free: 1.191 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007302/0.6262, allocations: 1.131 MB / 0.6247 GB, free: 32 kB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.0006645/0.6268, allocations: 210.6 kB / 0.6249 GB, free: 15.82 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.627, allocations: 55.42 kB / 0.6249 GB, free: 15.77 MB / 475.1 MB Notification: Performance of SimCode: time 7.52e-07/0.627, allocations: 4 kB / 0.6249 GB, free: 15.77 MB / 475.1 MB Notification: Performance of Templates: time 0.01749/0.6445, allocations: 9.991 MB / 0.6347 GB, free: 5.777 MB / 475.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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationFixedInitial.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches