Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.1..real|grid.P.2..real|grid.P.3..real|RL.load1.S.1.|RL.load1.S.2.|RL.load2.S.1.|RL.load2.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.1..real|grid.P.2..real|grid.P.3..real|RL.load1.S.1.|RL.load1.S.2.|RL.load2.S.1.|RL.load2.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 387.1 MB / 399.7 MB, free: 9.418 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 180.9 kB / 492.3 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.3 MB / 0.7872 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 92.02 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.355e-05/3.356e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2957, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.546/4.842, allocations: 1.779 GB / 2.992 GB, free: 71.71 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/4.842, allocations: 108.9 kB / 2.992 GB, free: 71.65 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.099/5.941, allocations: 197.6 MB / 3.185 GB, free: 338.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.803e-06/5.941, allocations: 0 / 3.185 GB, free: 338.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002041/5.941, allocations: 107.9 kB / 3.185 GB, free: 338.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1152 * Number of variables: 1152 Notification: Performance of Generate backend data structure: time 0.007838/5.949, allocations: 3.696 MB / 3.188 GB, free: 335.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/5.949, allocations: 8.031 kB / 3.188 GB, free: 335.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/5.961, allocations: 1.867 MB / 3.19 GB, free: 333.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005839/5.967, allocations: 2.41 MB / 3.193 GB, free: 330.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/5.967, allocations: 328.8 kB / 3.193 GB, free: 330.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001164/5.968, allocations: 428 kB / 3.193 GB, free: 330 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/5.978, allocations: 6.11 MB / 3.199 GB, free: 323.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.328e-05/5.979, allocations: 15.92 kB / 3.199 GB, free: 323.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004847/5.979, allocations: 191.9 kB / 3.199 GB, free: 323.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001638/5.979, allocations: 223.6 kB / 3.2 GB, free: 323.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00912/5.988, allocations: 5.703 MB / 3.205 GB, free: 317.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03598/6.024, allocations: 26.45 MB / 3.231 GB, free: 289.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005666/6.03, allocations: 3.753 MB / 3.235 GB, free: 285.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/6.033, allocations: 1.852 MB / 3.237 GB, free: 283.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007149/6.033, allocations: 0.5072 MB / 3.237 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002779/6.036, allocations: 1.999 MB / 3.239 GB, free: 281.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=256): time 5.46e-06/6.036, allocations: 0 / 3.239 GB, free: 281.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=259): time 0.007678/6.044, allocations: 5.668 MB / 3.245 GB, free: 275.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/6.044, allocations: 449.4 kB / 3.245 GB, free: 274.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/6.046, allocations: 1.596 MB / 3.247 GB, free: 273.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002397/6.046, allocations: 69.7 kB / 3.247 GB, free: 273.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/6.047, allocations: 1.728 MB / 3.248 GB, free: 271.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006073/6.048, allocations: 0.8626 MB / 3.249 GB, free: 270.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/6.048, allocations: 56 kB / 3.249 GB, free: 270.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001214/6.048, allocations: 407.6 kB / 3.25 GB, free: 270.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/6.05, allocations: 1.423 MB / 3.251 GB, free: 268.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/6.052, allocations: 2.144 MB / 3.253 GB, free: 266.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/6.054, allocations: 1.715 MB / 3.255 GB, free: 264.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/6.055, allocations: 4 kB / 3.255 GB, free: 264.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.0057/6.06, allocations: 3.891 MB / 3.259 GB, free: 260.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001249/6.061, allocations: 6.849 MB / 3.265 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/6.062, allocations: 16 kB / 3.265 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.337e-05/6.062, allocations: 36.14 kB / 3.265 GB, free: 253 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004021/6.066, allocations: 0.8502 MB / 3.266 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.94e-05/6.066, allocations: 39.86 kB / 3.266 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/6.069, allocations: 418 kB / 3.267 GB, free: 251.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/6.069, allocations: 139.9 kB / 3.267 GB, free: 251.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/6.069, allocations: 4 kB / 3.267 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004766/6.074, allocations: 3.369 MB / 3.27 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/6.074, allocations: 16 kB / 3.27 GB, free: 248.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/6.074, allocations: 32 kB / 3.27 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003593/6.078, allocations: 0.7964 MB / 3.271 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.852e-05/6.078, allocations: 39.86 kB / 3.271 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/6.081, allocations: 362.2 kB / 3.271 GB, free: 246.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002373/6.081, allocations: 143.9 kB / 3.271 GB, free: 246.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 348 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005914/6.081, allocations: 272.2 kB / 3.272 GB, free: 246.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/6.082, allocations: 249 kB / 3.272 GB, free: 246.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006698/6.089, allocations: 4.081 MB / 3.276 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/6.089, allocations: 28 kB / 3.276 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/6.089, allocations: 4 kB / 3.276 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/6.089, allocations: 15.94 kB / 3.276 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/6.101, allocations: 9.1 MB / 3.285 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/6.101, allocations: 288 / 3.285 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003729/6.105, allocations: 0.7995 MB / 3.286 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-05/6.105, allocations: 12 kB / 3.286 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002069/6.105, allocations: 75.94 kB / 3.286 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/6.105, allocations: 15.94 kB / 3.286 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/6.105, allocations: 0 / 3.286 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004935/6.11, allocations: 4.009 MB / 3.29 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/6.112, allocations: 0.8326 MB / 3.29 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005364/6.112, allocations: 52 kB / 3.29 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002979/6.115, allocations: 299.6 kB / 3.291 GB, free: 226.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004896/6.116, allocations: 169.8 kB / 3.291 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003581/6.116, allocations: 91.94 kB / 3.291 GB, free: 226.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00367/6.12, allocations: 1.304 MB / 3.292 GB, free: 225 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.41e-07/6.12, allocations: 0 / 3.292 GB, free: 225 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01056/6.13, allocations: 1.453 MB / 3.294 GB, free: 223.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00256/6.133, allocations: 0.6599 MB / 3.294 GB, free: 223 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01235/6.145, allocations: 5.434 MB / 3.3 GB, free: 217.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/6.145, allocations: 4 kB / 3.3 GB, free: 217.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00394/6.149, allocations: 1.781 MB / 3.301 GB, free: 215.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004416/6.154, allocations: 0.5786 MB / 3.302 GB, free: 215.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/6.169, allocations: 6.243 MB / 3.308 GB, free: 208.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/6.171, allocations: 2.707 MB / 3.311 GB, free: 206.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006836/6.178, allocations: 1.429 MB / 3.312 GB, free: 204.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/6.18, allocations: 251.3 kB / 3.312 GB, free: 204.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.223e-06/6.18, allocations: 0 / 3.312 GB, free: 204.4 MB / 1.151 GB Notification: Performance of Templates: time 0.06898/6.249, allocations: 45.33 MB / 3.357 GB, free: 159.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches