Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.459/2.459, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.002227/0.002227, allocations: 183.1 kB / 0.4901 GB, free: 2.234 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.586/1.586, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009438/0.0009437, allocations: 98.33 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003938, allocations: 10.66 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3411, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.923/5.265, allocations: 1.781 GB / 3.01 GB, free: 203.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/5.265, allocations: 103.9 kB / 3.01 GB, free: 203.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3769/5.642, allocations: 173.7 MB / 3.18 GB, free: 28.74 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.966e-06/5.642, allocations: 0 / 3.18 GB, free: 28.74 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001972/5.642, allocations: 95.92 kB / 3.18 GB, free: 28.65 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: 1069 * Number of variables: 1069 Notification: Performance of Generate backend data structure: time 0.007313/5.65, allocations: 3.74 MB / 3.183 GB, free: 24.84 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/5.65, allocations: 8.031 kB / 3.183 GB, free: 24.83 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007647/5.65, allocations: 0.5795 MB / 3.184 GB, free: 24.24 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/5.661, allocations: 1.793 MB / 3.186 GB, free: 22.44 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005141/5.667, allocations: 2.233 MB / 3.188 GB, free: 20.15 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/5.667, allocations: 304.5 kB / 3.188 GB, free: 19.85 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006084/5.667, allocations: 399.9 kB / 3.189 GB, free: 19.46 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/5.679, allocations: 6.093 MB / 3.194 GB, free: 13.15 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.743e-05/5.679, allocations: 7.938 kB / 3.194 GB, free: 13.14 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004431/5.68, allocations: 176 kB / 3.195 GB, free: 12.97 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001652/5.68, allocations: 199.2 kB / 3.195 GB, free: 12.78 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01244/5.692, allocations: 6.223 MB / 3.201 GB, free: 6.547 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8392/6.532, allocations: 23.14 MB / 3.224 GB, free: 328.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/6.543, allocations: 3.956 MB / 3.227 GB, free: 328 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009219/6.544, allocations: 0.5167 MB / 3.228 GB, free: 327.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005401/6.549, allocations: 2.07 MB / 3.23 GB, free: 327.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=242): time 6.803e-06/6.549, allocations: 3.938 kB / 3.23 GB, free: 327.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=245): time 0.01683/6.566, allocations: 7.145 MB / 3.237 GB, free: 325.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/6.566, allocations: 447.9 kB / 3.237 GB, free: 325.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/6.569, allocations: 1.549 MB / 3.239 GB, free: 325.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004069/6.57, allocations: 69.61 kB / 3.239 GB, free: 325 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001652/6.571, allocations: 1.621 MB / 3.24 GB, free: 324.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008889/6.572, allocations: 0.8152 MB / 3.241 GB, free: 324.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/6.572, allocations: 53.47 kB / 3.241 GB, free: 324.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001664/6.573, allocations: 411.5 kB / 3.242 GB, free: 323.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004116/6.577, allocations: 1.576 MB / 3.243 GB, free: 323.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0044/6.581, allocations: 2.302 MB / 3.246 GB, free: 323 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/6.585, allocations: 1.864 MB / 3.247 GB, free: 322.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/6.585, allocations: 3.5 kB / 3.247 GB, free: 322.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.008933/6.594, allocations: 4.192 MB / 3.251 GB, free: 322.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001408/6.595, allocations: 7.16 MB / 3.258 GB, free: 315.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/6.595, allocations: 19.12 kB / 3.258 GB, free: 315.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.595e-05/6.596, allocations: 34.25 kB / 3.258 GB, free: 315.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004176/6.6, allocations: 0.8173 MB / 3.259 GB, free: 315.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.715e-05/6.6, allocations: 39.41 kB / 3.259 GB, free: 315.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003675/6.603, allocations: 396.2 kB / 3.26 GB, free: 315 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003369/6.604, allocations: 135.1 kB / 3.26 GB, free: 315 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/6.604, allocations: 4.406 kB / 3.26 GB, free: 315 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009865/6.614, allocations: 3.764 MB / 3.263 GB, free: 314.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-05/6.614, allocations: 20.47 kB / 3.264 GB, free: 314.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/6.614, allocations: 31.53 kB / 3.264 GB, free: 314.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003887/6.618, allocations: 0.7693 MB / 3.264 GB, free: 314.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.117e-05/6.618, allocations: 46.28 kB / 3.264 GB, free: 314.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003492/6.621, allocations: 354.2 kB / 3.265 GB, free: 314.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/6.622, allocations: 140.9 kB / 3.265 GB, free: 314.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (338): * Single equations (assignments): 338 * 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.003063/6.625, allocations: 1.245 MB / 3.266 GB, free: 314.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007705/6.625, allocations: 235.3 kB / 3.266 GB, free: 314.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00964/6.635, allocations: 4.218 MB / 3.27 GB, free: 314.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/6.635, allocations: 22.91 kB / 3.27 GB, free: 314.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/6.635, allocations: 3.938 kB / 3.27 GB, free: 314.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/6.635, allocations: 14.64 kB / 3.27 GB, free: 314.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/6.651, allocations: 8.771 MB / 3.279 GB, free: 313.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/6.651, allocations: 6.641 kB / 3.279 GB, free: 313.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003699/6.654, allocations: 0.7327 MB / 3.28 GB, free: 313.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-05/6.655, allocations: 11.47 kB / 3.28 GB, free: 313.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002133/6.655, allocations: 71.03 kB / 3.28 GB, free: 313.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.425e-05/6.655, allocations: 14.22 kB / 3.28 GB, free: 313.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/6.655, allocations: 3.875 kB / 3.28 GB, free: 313.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008295/6.663, allocations: 4.167 MB / 3.284 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/6.665, allocations: 0.7753 MB / 3.285 GB, free: 312.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003854/6.665, allocations: 52.02 kB / 3.285 GB, free: 312.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00277/6.668, allocations: 283 kB / 3.285 GB, free: 312.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/6.668, allocations: 155.1 kB / 3.285 GB, free: 312.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/6.669, allocations: 100.1 kB / 3.285 GB, free: 312.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001825/6.67, allocations: 1.265 MB / 3.286 GB, free: 311.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/6.67, allocations: 0 / 3.286 GB, free: 311.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004722/6.675, allocations: 1.354 MB / 3.288 GB, free: 311.9 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 (265): * Single equations (assignments): 263 * 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.009695/6.685, allocations: 5.896 MB / 3.293 GB, free: 309.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01225/6.697, allocations: 5.792 MB / 3.299 GB, free: 308.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/6.697, allocations: 0 / 3.299 GB, free: 308.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003819/6.701, allocations: 1.865 MB / 3.301 GB, free: 307.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/6.704, allocations: 0.5223 MB / 3.301 GB, free: 307.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04244/6.747, allocations: 32.41 MB / 3.333 GB, free: 284.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/6.749, allocations: 2.533 MB / 3.336 GB, free: 283.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005492/6.755, allocations: 1.268 MB / 3.337 GB, free: 283.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002203/6.757, allocations: 1.488 MB / 3.338 GB, free: 282.1 MB / 1.167 GB Notification: Performance of SimCode: time 9.92e-07/6.757, allocations: 4 kB / 3.338 GB, free: 282.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/6.857, allocations: 64.36 MB / 3.401 GB, free: 253.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/6.857, allocations: 254 kB / 3.401 GB, free: 252.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.715/10.57, allocations: 0 / 3.401 GB, free: 252.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N_res.mat does not exist to compare? outputFormat=mat