Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.526/2.526, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001397/0.001397, allocations: 186.7 kB / 0.4902 GB, free: 2.23 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.452/1.452, allocations: 223.2 MB / 0.7992 GB, free: 14.65 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.0009893/0.0009893, allocations: 98.31 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 10.31 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2885, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.853/5.142, allocations: 1.78 GB / 3.009 GB, free: 169.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/5.142, allocations: 114.6 kB / 3.009 GB, free: 169.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.418/6.561, allocations: 198.4 MB / 3.203 GB, free: 334.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.467e-06/6.561, allocations: 0 / 3.203 GB, free: 334.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007281/6.561, allocations: 104.9 kB / 3.203 GB, free: 334.6 MB / 1.167 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.01856/6.58, allocations: 3.984 MB / 3.207 GB, free: 332.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/6.58, allocations: 9.969 kB / 3.207 GB, free: 332.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01481/6.595, allocations: 1.868 MB / 3.209 GB, free: 332.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/6.606, allocations: 2.421 MB / 3.211 GB, free: 332.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008889/6.607, allocations: 332.6 kB / 3.212 GB, free: 332.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00338/6.61, allocations: 429.3 kB / 3.212 GB, free: 332.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.029/6.639, allocations: 6.574 MB / 3.218 GB, free: 331.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004013/6.64, allocations: 7.531 kB / 3.218 GB, free: 331.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002827/6.643, allocations: 192.8 kB / 3.219 GB, free: 331.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005536/6.643, allocations: 216.1 kB / 3.219 GB, free: 331.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02291/6.666, allocations: 6.604 MB / 3.225 GB, free: 331.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05224/6.718, allocations: 26.45 MB / 3.251 GB, free: 319 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/6.729, allocations: 4.247 MB / 3.255 GB, free: 318.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/6.731, allocations: 0.5117 MB / 3.256 GB, free: 318.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007395/6.738, allocations: 2.269 MB / 3.258 GB, free: 318.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=256): time 1.395e-05/6.738, allocations: 0 / 3.258 GB, free: 318.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=259): time 0.02589/6.764, allocations: 7.863 MB / 3.266 GB, free: 316.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/6.764, allocations: 450.7 kB / 3.266 GB, free: 315.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004095/6.768, allocations: 1.618 MB / 3.268 GB, free: 315.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/6.769, allocations: 74.11 kB / 3.268 GB, free: 315.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002389/6.772, allocations: 1.73 MB / 3.269 GB, free: 314.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001686/6.774, allocations: 0.8592 MB / 3.27 GB, free: 314 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007929/6.774, allocations: 55.47 kB / 3.27 GB, free: 314 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003146/6.775, allocations: 411.3 kB / 3.271 GB, free: 313.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00506/6.78, allocations: 1.696 MB / 3.272 GB, free: 313.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005286/6.785, allocations: 2.412 MB / 3.275 GB, free: 312.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005197/6.79, allocations: 1.978 MB / 3.277 GB, free: 312.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.801e-05/6.79, allocations: 3.469 kB / 3.277 GB, free: 312.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01269/6.803, allocations: 4.436 MB / 3.281 GB, free: 312.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002113/6.805, allocations: 6.85 MB / 3.288 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.89e-05/6.805, allocations: 22 kB / 3.288 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-05/6.805, allocations: 34.95 kB / 3.288 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004726/6.81, allocations: 0.8434 MB / 3.289 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.96e-05/6.81, allocations: 47.94 kB / 3.289 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004532/6.815, allocations: 407.5 kB / 3.289 GB, free: 305.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000725/6.815, allocations: 140.1 kB / 3.289 GB, free: 305.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/6.816, allocations: 7.969 kB / 3.289 GB, free: 305.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01132/6.827, allocations: 3.898 MB / 3.293 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.969e-05/6.827, allocations: 19.41 kB / 3.293 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.991e-05/6.827, allocations: 29.56 kB / 3.293 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00453/6.832, allocations: 0.8038 MB / 3.294 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001111/6.832, allocations: 38.42 kB / 3.294 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/6.836, allocations: 367.5 kB / 3.294 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006247/6.837, allocations: 131.7 kB / 3.294 GB, free: 303.6 MB / 1.167 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 () * Number of clocked 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.004394/6.841, allocations: 1.331 MB / 3.296 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/6.843, allocations: 251.2 kB / 3.296 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/6.856, allocations: 4.616 MB / 3.3 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/6.856, allocations: 27.72 kB / 3.3 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/6.856, allocations: 0 / 3.3 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.48e-05/6.856, allocations: 18.28 kB / 3.3 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02489/6.881, allocations: 9.629 MB / 3.31 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/6.881, allocations: 6.641 kB / 3.31 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004565/6.886, allocations: 0.7964 MB / 3.311 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.755e-05/6.886, allocations: 14.2 kB / 3.311 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005532/6.886, allocations: 81.45 kB / 3.311 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-05/6.886, allocations: 12.5 kB / 3.311 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/6.886, allocations: 3.312 kB / 3.311 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/6.897, allocations: 4.538 MB / 3.315 GB, free: 294.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002818/6.9, allocations: 0.8323 MB / 3.316 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/6.901, allocations: 50.25 kB / 3.316 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003725/6.905, allocations: 305.5 kB / 3.316 GB, free: 294 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004302/6.905, allocations: 166.9 kB / 3.316 GB, free: 293.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003273/6.906, allocations: 91.61 kB / 3.317 GB, free: 293.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003375/6.909, allocations: 1.331 MB / 3.318 GB, free: 293.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/6.909, allocations: 0 / 3.318 GB, free: 293.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007825/6.917, allocations: 1.437 MB / 3.319 GB, free: 293.2 MB / 1.167 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) * Number of clocked states: 0 () * 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.0022/6.919, allocations: 0.7161 MB / 3.32 GB, free: 293 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01803/6.937, allocations: 6.175 MB / 3.326 GB, free: 291 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-05/6.937, allocations: 3.406 kB / 3.326 GB, free: 291 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.006186/6.944, allocations: 2.046 MB / 3.328 GB, free: 290.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005641/6.949, allocations: 0.5858 MB / 3.329 GB, free: 290.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/6.972, allocations: 9.517 MB / 3.338 GB, free: 284.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00439/6.977, allocations: 2.702 MB / 3.34 GB, free: 282.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.008736/6.985, allocations: 1.281 MB / 3.342 GB, free: 281.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002129/6.987, allocations: 278.6 kB / 3.342 GB, free: 281.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.763e-06/6.987, allocations: 0 / 3.342 GB, free: 281.2 MB / 1.167 GB Notification: Performance of Templates: time 0.07921/7.067, allocations: 42.66 MB / 3.384 GB, free: 254.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches