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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",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.305/2.305, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001118/0.001118, allocations: 181.1 kB / 498.1 MB, free: 5.734 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.609/1.609, allocations: 223.1 MB / 0.7948 GB, free: 17.87 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.001156/0.001156, allocations: 103.3 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004281, allocations: 8.578 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3048, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.418/4.723, allocations: 1.779 GB / 3.002 GB, free: 205.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/4.724, allocations: 107.3 kB / 3.002 GB, free: 205.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.4557/5.179, allocations: 198.5 MB / 3.196 GB, free: 18.07 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.657e-06/5.179, allocations: 0 / 3.196 GB, free: 18.07 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005259/5.18, allocations: 107.9 kB / 3.196 GB, free: 17.96 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.01558/5.196, allocations: 3.994 MB / 3.2 GB, free: 13.89 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/5.196, allocations: 8.031 kB / 3.2 GB, free: 13.88 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003236/5.199, allocations: 0.6089 MB / 3.201 GB, free: 13.26 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/5.212, allocations: 1.867 MB / 3.203 GB, free: 11.38 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008102/5.22, allocations: 2.418 MB / 3.205 GB, free: 8.91 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/5.221, allocations: 328.7 kB / 3.205 GB, free: 8.586 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002301/5.223, allocations: 432 kB / 3.206 GB, free: 8.164 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/5.246, allocations: 6.577 MB / 3.212 GB, free: 1.352 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003101/5.246, allocations: 15.78 kB / 3.212 GB, free: 1.336 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002259/5.248, allocations: 188 kB / 3.212 GB, free: 1.152 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003472/5.249, allocations: 223.6 kB / 3.212 GB, free: 0.9336 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8391/6.088, allocations: 6.58 MB / 3.219 GB, free: 336.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05671/6.145, allocations: 26.46 MB / 3.245 GB, free: 324.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/6.158, allocations: 4.242 MB / 3.249 GB, free: 324.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/6.159, allocations: 0.5134 MB / 3.249 GB, free: 324 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007678/6.167, allocations: 2.269 MB / 3.252 GB, free: 323.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=256): time 1.104e-05/6.167, allocations: 3.875 kB / 3.252 GB, free: 323.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=259): time 0.01871/6.186, allocations: 7.859 MB / 3.259 GB, free: 322 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/6.186, allocations: 448.9 kB / 3.26 GB, free: 321.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/6.188, allocations: 1.62 MB / 3.261 GB, free: 321.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006822/6.189, allocations: 72.7 kB / 3.261 GB, free: 321.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001554/6.191, allocations: 1.721 MB / 3.263 GB, free: 320.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001061/6.192, allocations: 0.8708 MB / 3.264 GB, free: 320.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/6.192, allocations: 50.38 kB / 3.264 GB, free: 320.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001486/6.192, allocations: 414.8 kB / 3.264 GB, free: 319.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003757/6.196, allocations: 1.695 MB / 3.266 GB, free: 319.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004392/6.2, allocations: 2.413 MB / 3.268 GB, free: 319.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004454/6.205, allocations: 1.97 MB / 3.27 GB, free: 319 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/6.205, allocations: 10.69 kB / 3.27 GB, free: 319 MB / 1.167 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01028/6.215, allocations: 4.44 MB / 3.275 GB, free: 318.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001414/6.216, allocations: 6.848 MB / 3.281 GB, free: 311.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/6.216, allocations: 18.47 kB / 3.281 GB, free: 311.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.89e-05/6.217, allocations: 37.55 kB / 3.281 GB, free: 311.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004676/6.221, allocations: 0.845 MB / 3.282 GB, free: 311.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.442e-05/6.221, allocations: 43.45 kB / 3.282 GB, free: 311.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003913/6.225, allocations: 419.4 kB / 3.283 GB, free: 311.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004596/6.226, allocations: 138.1 kB / 3.283 GB, free: 311.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/6.226, allocations: 2.938 kB / 3.283 GB, free: 311.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008896/6.235, allocations: 3.901 MB / 3.287 GB, free: 311.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.821e-05/6.235, allocations: 15.09 kB / 3.287 GB, free: 311.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.158e-05/6.235, allocations: 37.52 kB / 3.287 GB, free: 311.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003882/6.239, allocations: 0.7931 MB / 3.287 GB, free: 311.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.467e-05/6.239, allocations: 44.25 kB / 3.287 GB, free: 311.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003702/6.242, allocations: 356.4 kB / 3.288 GB, free: 311.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005514/6.243, allocations: 146 kB / 3.288 GB, free: 311.3 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.003946/6.247, allocations: 1.324 MB / 3.289 GB, free: 311.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/6.248, allocations: 249.8 kB / 3.289 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/6.261, allocations: 4.608 MB / 3.294 GB, free: 310.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/6.261, allocations: 25.47 kB / 3.294 GB, free: 310.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/6.261, allocations: 7.156 kB / 3.294 GB, free: 310.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.953e-05/6.261, allocations: 14.81 kB / 3.294 GB, free: 310.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02104/6.283, allocations: 9.627 MB / 3.303 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/6.283, allocations: 7.438 kB / 3.303 GB, free: 306.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004183/6.287, allocations: 0.8029 MB / 3.304 GB, free: 306.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.966e-05/6.287, allocations: 17.39 kB / 3.304 GB, free: 306.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003502/6.287, allocations: 71.33 kB / 3.304 GB, free: 306.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.754e-05/6.287, allocations: 11.03 kB / 3.304 GB, free: 306.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/6.287, allocations: 4.719 kB / 3.304 GB, free: 306.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/6.297, allocations: 4.546 MB / 3.309 GB, free: 304 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00251/6.3, allocations: 0.8282 MB / 3.31 GB, free: 303.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/6.301, allocations: 50 kB / 3.31 GB, free: 303.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003815/6.305, allocations: 303.6 kB / 3.31 GB, free: 303.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004351/6.305, allocations: 171 kB / 3.31 GB, free: 303.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003286/6.306, allocations: 93.39 kB / 3.31 GB, free: 303.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00363/6.309, allocations: 1.326 MB / 3.311 GB, free: 302.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.71e-07/6.309, allocations: 0 / 3.311 GB, free: 302.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009363/6.319, allocations: 1.444 MB / 3.313 GB, free: 302.7 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.01342/6.332, allocations: 6.274 MB / 3.319 GB, free: 299.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01447/6.347, allocations: 6.179 MB / 3.325 GB, free: 297.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/6.347, allocations: 3.5 kB / 3.325 GB, free: 297.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004557/6.351, allocations: 2.048 MB / 3.327 GB, free: 296.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004093/6.355, allocations: 0.5731 MB / 3.328 GB, free: 296.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05538/6.411, allocations: 33.45 MB / 3.36 GB, free: 273 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004388/6.415, allocations: 2.7 MB / 3.363 GB, free: 271.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.008196/6.423, allocations: 1.29 MB / 3.364 GB, free: 271.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004184/6.428, allocations: 1.628 MB / 3.366 GB, free: 270.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.423e-06/6.428, allocations: 0 / 3.366 GB, free: 270.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1097/6.537, allocations: 69.36 MB / 3.433 GB, free: 228.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/6.538, allocations: 250.4 kB / 3.434 GB, free: 228.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.152/10.69, allocations: 0.6562 kB / 3.434 GB, free: 228.4 MB / 1.167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat does not exist to compare? outputFormat=mat