Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001111/0.001111, allocations: 187.3 kB / 498.1 MB, free: 5.672 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.618/1.618, allocations: 223.1 MB / 0.7948 GB, free: 17.9 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.0009649/0.0009648, allocations: 105.2 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003907, allocations: 13.62 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3255, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.626/4.952, allocations: 1.78 GB / 3.003 GB, free: 204.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/4.952, allocations: 105.9 kB / 3.003 GB, free: 204.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3699/5.322, allocations: 173.7 MB / 3.172 GB, free: 42.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.515e-06/5.322, allocations: 0 / 3.172 GB, free: 42.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000258/5.323, allocations: 91.98 kB / 3.173 GB, free: 42.31 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.01051/5.333, allocations: 3.74 MB / 3.176 GB, free: 38.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/5.333, allocations: 8.031 kB / 3.176 GB, free: 38.49 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002239/5.335, allocations: 0.5755 MB / 3.177 GB, free: 37.91 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/5.347, allocations: 1.797 MB / 3.179 GB, free: 36.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006232/5.354, allocations: 2.226 MB / 3.181 GB, free: 33.82 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000315/5.354, allocations: 304.5 kB / 3.181 GB, free: 33.52 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002207/5.356, allocations: 399.9 kB / 3.181 GB, free: 33.13 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02514/5.381, allocations: 6.096 MB / 3.187 GB, free: 26.83 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003785/5.382, allocations: 3.938 kB / 3.187 GB, free: 26.82 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002377/5.384, allocations: 172 kB / 3.188 GB, free: 26.66 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002572/5.385, allocations: 199.2 kB / 3.188 GB, free: 26.46 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01718/5.402, allocations: 6.226 MB / 3.194 GB, free: 20.23 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7932/6.195, allocations: 23.12 MB / 3.216 GB, free: 339 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/6.206, allocations: 3.961 MB / 3.22 GB, free: 338.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007983/6.207, allocations: 0.5132 MB / 3.221 GB, free: 338.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005064/6.212, allocations: 2.074 MB / 3.223 GB, free: 338.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=242): time 5.55e-06/6.212, allocations: 0 / 3.223 GB, free: 338.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=245): time 0.01612/6.228, allocations: 7.152 MB / 3.23 GB, free: 336.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/6.228, allocations: 444.5 kB / 3.23 GB, free: 336.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/6.231, allocations: 1.554 MB / 3.232 GB, free: 336 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004137/6.232, allocations: 69.06 kB / 3.232 GB, free: 335.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001632/6.233, allocations: 1.615 MB / 3.233 GB, free: 335.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000908/6.234, allocations: 0.8133 MB / 3.234 GB, free: 334.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/6.234, allocations: 52.72 kB / 3.234 GB, free: 334.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001659/6.234, allocations: 413.2 kB / 3.235 GB, free: 334.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004137/6.239, allocations: 1.576 MB / 3.236 GB, free: 334.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0047/6.243, allocations: 2.299 MB / 3.238 GB, free: 333.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/6.248, allocations: 1.868 MB / 3.24 GB, free: 333.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/6.248, allocations: 4.969 kB / 3.24 GB, free: 333.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01064/6.258, allocations: 4.197 MB / 3.244 GB, free: 333.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001323/6.26, allocations: 7.163 MB / 3.251 GB, free: 326 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/6.26, allocations: 19.31 kB / 3.251 GB, free: 326 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-05/6.26, allocations: 32.84 kB / 3.251 GB, free: 326 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004094/6.264, allocations: 0.8107 MB / 3.252 GB, free: 326 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.194e-05/6.264, allocations: 43.38 kB / 3.252 GB, free: 326 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/6.267, allocations: 387.5 kB / 3.253 GB, free: 325.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/6.268, allocations: 140.2 kB / 3.253 GB, free: 325.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/6.268, allocations: 3.938 kB / 3.253 GB, free: 325.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008099/6.276, allocations: 3.762 MB / 3.256 GB, free: 325.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.438e-05/6.276, allocations: 15.16 kB / 3.256 GB, free: 325.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/6.276, allocations: 34.41 kB / 3.256 GB, free: 325.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003733/6.28, allocations: 0.7758 MB / 3.257 GB, free: 325.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.696e-05/6.28, allocations: 45.95 kB / 3.257 GB, free: 325.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/6.283, allocations: 352.8 kB / 3.258 GB, free: 325.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003163/6.284, allocations: 135.6 kB / 3.258 GB, free: 325.8 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.002975/6.287, allocations: 1.253 MB / 3.259 GB, free: 325.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008447/6.287, allocations: 233.7 kB / 3.259 GB, free: 325.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/6.298, allocations: 4.214 MB / 3.263 GB, free: 325.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/6.298, allocations: 29.53 kB / 3.263 GB, free: 325.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/6.298, allocations: 0 / 3.263 GB, free: 325.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.788e-05/6.298, allocations: 14.67 kB / 3.263 GB, free: 325.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01765/6.315, allocations: 8.761 MB / 3.272 GB, free: 324.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/6.316, allocations: 0 / 3.272 GB, free: 324.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003715/6.319, allocations: 0.7304 MB / 3.273 GB, free: 324.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-05/6.319, allocations: 11.66 kB / 3.273 GB, free: 324.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002784/6.32, allocations: 70.11 kB / 3.273 GB, free: 324.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.268e-05/6.32, allocations: 20.66 kB / 3.273 GB, free: 324.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/6.32, allocations: 0 / 3.273 GB, free: 324.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008309/6.328, allocations: 4.166 MB / 3.277 GB, free: 323.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/6.33, allocations: 0.7762 MB / 3.277 GB, free: 323.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007977/6.331, allocations: 48.16 kB / 3.278 GB, free: 323.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003124/6.334, allocations: 277.9 kB / 3.278 GB, free: 323.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/6.334, allocations: 172.6 kB / 3.278 GB, free: 323.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/6.334, allocations: 88.75 kB / 3.278 GB, free: 323.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002386/6.337, allocations: 1.269 MB / 3.279 GB, free: 323 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/6.337, allocations: 0 / 3.279 GB, free: 323 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006374/6.343, allocations: 1.358 MB / 3.281 GB, free: 323 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.01078/6.354, allocations: 5.897 MB / 3.286 GB, free: 320.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01298/6.367, allocations: 5.794 MB / 3.292 GB, free: 320.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/6.367, allocations: 2 kB / 3.292 GB, free: 320.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004216/6.371, allocations: 1.869 MB / 3.294 GB, free: 320.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/6.375, allocations: 0.5135 MB / 3.294 GB, free: 320 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04603/6.421, allocations: 32.43 MB / 3.326 GB, free: 296.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00338/6.424, allocations: 2.545 MB / 3.328 GB, free: 295.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.008122/6.432, allocations: 1.272 MB / 3.33 GB, free: 295.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005113/6.437, allocations: 1.483 MB / 3.331 GB, free: 294.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.753e-06/6.437, allocations: 0 / 3.331 GB, free: 294.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/6.542, allocations: 64.37 MB / 3.394 GB, free: 268.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/6.542, allocations: 255.2 kB / 3.394 GB, free: 268.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.822/10.36, allocations: 1.875 kB / 3.394 GB, free: 268.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N_res.mat does not exist to compare? outputFormat=mat