Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 289.9 MB / 297.4 MB, free: 6.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 168.9 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.3 MB / 0.626 GB, free: 7.152 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007916/0.0007915, allocations: 93.12 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.946e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.69/0.69, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.182/6.873, allocations: 2.121 GB / 3.094 GB, free: 278.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/6.873, allocations: 98.25 kB / 3.094 GB, free: 278.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3678/7.241, allocations: 162 MB / 3.253 GB, free: 171.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.893e-06/7.241, allocations: 8 kB / 3.253 GB, free: 171.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002289/7.241, allocations: 91.94 kB / 3.253 GB, free: 171.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.009926/7.251, allocations: 3.429 MB / 3.256 GB, free: 168 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/7.251, allocations: 8.031 kB / 3.256 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/7.263, allocations: 1.727 MB / 3.258 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006265/7.269, allocations: 2.203 MB / 3.26 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/7.27, allocations: 128 kB / 3.26 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002348/7.272, allocations: 228 kB / 3.26 GB, free: 163.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01545/7.287, allocations: 4.857 MB / 3.265 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01817/7.306, allocations: 4.981 MB / 3.27 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002468/7.306, allocations: 11.92 kB / 3.27 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001805/7.308, allocations: 7.938 kB / 3.27 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002595/7.308, allocations: 194.9 kB / 3.27 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04008/7.348, allocations: 21.95 MB / 3.292 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006237/7.355, allocations: 3.352 MB / 3.295 GB, free: 126.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/7.357, allocations: 1.524 MB / 3.296 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008007/7.358, allocations: 0.5073 MB / 3.297 GB, free: 124.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003036/7.361, allocations: 1.709 MB / 3.298 GB, free: 122.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=240): time 8.557e-06/7.361, allocations: 0 / 3.298 GB, free: 122.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=243): time 0.01748/7.378, allocations: 5.882 MB / 3.304 GB, free: 116.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/7.378, allocations: 441.2 kB / 3.305 GB, free: 116.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002881/7.381, allocations: 1.337 MB / 3.306 GB, free: 115 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007343/7.382, allocations: 29.7 kB / 3.306 GB, free: 115 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001686/7.384, allocations: 1.613 MB / 3.308 GB, free: 113.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/7.385, allocations: 0.7697 MB / 3.308 GB, free: 112.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005278/7.386, allocations: 0 / 3.308 GB, free: 112.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002308/7.386, allocations: 419.6 kB / 3.309 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/7.388, allocations: 1.243 MB / 3.31 GB, free: 110.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/7.391, allocations: 1.941 MB / 3.312 GB, free: 108.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007376/7.398, allocations: 2.497 MB / 3.314 GB, free: 106.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.167e-05/7.398, allocations: 4 kB / 3.314 GB, free: 106.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01367/7.412, allocations: 4.342 MB / 3.318 GB, free: 101.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001656/7.414, allocations: 7.096 MB / 3.325 GB, free: 94.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.945e-05/7.414, allocations: 20 kB / 3.325 GB, free: 94.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.388e-05/7.414, allocations: 35.94 kB / 3.325 GB, free: 94.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0045/7.418, allocations: 0.7917 MB / 3.326 GB, free: 93.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.194e-05/7.418, allocations: 43.86 kB / 3.326 GB, free: 93.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/7.422, allocations: 334 kB / 3.327 GB, free: 93.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008191/7.423, allocations: 139.9 kB / 3.327 GB, free: 92.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/7.423, allocations: 4 kB / 3.327 GB, free: 92.93 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.011/7.434, allocations: 3.873 MB / 3.331 GB, free: 89.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.333e-05/7.434, allocations: 20 kB / 3.331 GB, free: 89.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.351e-05/7.434, allocations: 32 kB / 3.331 GB, free: 89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003834/7.438, allocations: 0.7531 MB / 3.331 GB, free: 88.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-05/7.438, allocations: 39.86 kB / 3.331 GB, free: 88.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003265/7.441, allocations: 286.3 kB / 3.332 GB, free: 87.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004748/7.442, allocations: 131.9 kB / 3.332 GB, free: 87.8 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 336 * 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.0009785/7.443, allocations: 176.2 kB / 3.332 GB, free: 87.62 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01019/7.453, allocations: 3.821 MB / 3.336 GB, free: 83.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008578/7.454, allocations: 221.4 kB / 3.336 GB, free: 83.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/7.466, allocations: 4.408 MB / 3.34 GB, free: 79.14 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/7.466, allocations: 28 kB / 3.34 GB, free: 79.11 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/7.466, allocations: 3.938 kB / 3.34 GB, free: 79.11 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.085e-05/7.466, allocations: 11.95 kB / 3.34 GB, free: 79.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/7.485, allocations: 8.2 MB / 3.348 GB, free: 70.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/7.485, allocations: 4 kB / 3.348 GB, free: 70.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003908/7.489, allocations: 0.714 MB / 3.349 GB, free: 70.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.222e-05/7.489, allocations: 8 kB / 3.349 GB, free: 70.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004647/7.489, allocations: 51.89 kB / 3.349 GB, free: 70.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.817e-05/7.49, allocations: 8 kB / 3.349 GB, free: 70.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/7.49, allocations: 4 kB / 3.349 GB, free: 70.04 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/7.5, allocations: 4.411 MB / 3.353 GB, free: 65.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/7.501, allocations: 0.7627 MB / 3.354 GB, free: 64.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007377/7.502, allocations: 4 kB / 3.354 GB, free: 64.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002915/7.505, allocations: 227.7 kB / 3.354 GB, free: 64.47 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/7.505, allocations: 157.7 kB / 3.354 GB, free: 64.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002486/7.506, allocations: 95.94 kB / 3.354 GB, free: 64.22 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002029/7.508, allocations: 1.065 MB / 3.356 GB, free: 63.17 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/7.508, allocations: 0 / 3.356 GB, free: 63.17 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00657/7.514, allocations: 1.168 MB / 3.357 GB, free: 62 MB / 0.948 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 (262): * Single equations (assignments): 260 * 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.01209/7.526, allocations: 6 MB / 3.363 GB, free: 55.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007991/7.534, allocations: 4.758 MB / 3.367 GB, free: 51.15 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/7.534, allocations: 4 kB / 3.367 GB, free: 51.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002208/7.537, allocations: 1.531 MB / 3.369 GB, free: 49.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/7.54, allocations: 468.9 kB / 3.369 GB, free: 49.17 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/7.556, allocations: 6.293 MB / 3.375 GB, free: 42.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003089/7.559, allocations: 2.527 MB / 3.378 GB, free: 40.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007482/7.567, allocations: 1.388 MB / 3.379 GB, free: 38.85 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002743/7.569, allocations: 1.444 MB / 3.381 GB, free: 37.41 MB / 0.948 GB Notification: Performance of SimCode: time 1.372e-06/7.569, allocations: 0 / 3.381 GB, free: 37.41 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7241/8.294, allocations: 62.88 MB / 3.442 GB, free: 253.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/8.294, allocations: 196.1 kB / 3.442 GB, free: 253 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.024/12.32, allocations: 0.75 kB / 3.442 GB, free: 253 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)