Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.75/2.75, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001507/0.001507, allocations: 188.9 kB / 360.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001054/0.001054, allocations: 88.45 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.431e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.824/0.8241, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.229/7.053, allocations: 2.119 GB / 3.083 GB, free: 296 kB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/7.054, allocations: 103.5 kB / 3.083 GB, free: 244 kB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.441/8.494, allocations: 184.7 MB / 3.263 GB, free: 213 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.774e-06/8.494, allocations: 4 kB / 3.263 GB, free: 213 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005102/8.495, allocations: 99.92 kB / 3.263 GB, free: 212.9 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: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.02164/8.517, allocations: 3.64 MB / 3.267 GB, free: 209.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/8.517, allocations: 8.031 kB / 3.267 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03167/8.548, allocations: 1.801 MB / 3.269 GB, free: 207.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/8.561, allocations: 2.407 MB / 3.271 GB, free: 204.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004586/8.561, allocations: 136 kB / 3.271 GB, free: 204.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/8.564, allocations: 248 kB / 3.271 GB, free: 204.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01636/8.58, allocations: 5.159 MB / 3.276 GB, free: 199.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/8.599, allocations: 5.407 MB / 3.282 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/8.599, allocations: 11.88 kB / 3.282 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008421/8.6, allocations: 11.94 kB / 3.282 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002864/8.6, allocations: 219.4 kB / 3.282 GB, free: 193.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05362/8.654, allocations: 25.18 MB / 3.306 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009195/8.663, allocations: 3.621 MB / 3.31 GB, free: 163.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004254/8.667, allocations: 1.75 MB / 3.312 GB, free: 161.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/8.669, allocations: 0.5149 MB / 3.312 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005158/8.674, allocations: 1.909 MB / 3.314 GB, free: 158.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 8.817e-06/8.674, allocations: 0 / 3.314 GB, free: 158.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.025/8.699, allocations: 6.41 MB / 3.32 GB, free: 152.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/8.699, allocations: 445.2 kB / 3.321 GB, free: 151.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/8.702, allocations: 1.386 MB / 3.322 GB, free: 150.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008706/8.703, allocations: 29.7 kB / 3.322 GB, free: 150.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002001/8.705, allocations: 1.719 MB / 3.324 GB, free: 148.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001687/8.707, allocations: 0.8159 MB / 3.325 GB, free: 147.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004796/8.707, allocations: 0 / 3.325 GB, free: 147.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000233/8.708, allocations: 411.7 kB / 3.325 GB, free: 147.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003657/8.711, allocations: 1.364 MB / 3.326 GB, free: 146 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004392/8.716, allocations: 2.049 MB / 3.328 GB, free: 143.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01386/8.73, allocations: 2.604 MB / 3.331 GB, free: 141.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.255e-05/8.73, allocations: 4 kB / 3.331 GB, free: 141.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.02053/8.75, allocations: 4.59 MB / 3.335 GB, free: 136.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001304/8.752, allocations: 6.785 MB / 3.342 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.326e-05/8.752, allocations: 16 kB / 3.342 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.012e-05/8.752, allocations: 32 kB / 3.342 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008463/8.76, allocations: 0.8385 MB / 3.343 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.889e-05/8.76, allocations: 35.88 kB / 3.343 GB, free: 128.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006359/8.767, allocations: 346 kB / 3.343 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/8.768, allocations: 139.9 kB / 3.343 GB, free: 127.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/8.768, allocations: 4 kB / 3.343 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01914/8.787, allocations: 4.001 MB / 3.347 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-05/8.787, allocations: 20 kB / 3.347 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.713e-05/8.787, allocations: 32 kB / 3.347 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008666/8.796, allocations: 0.7807 MB / 3.348 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.027e-05/8.796, allocations: 47.84 kB / 3.348 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006655/8.803, allocations: 286.2 kB / 3.348 GB, free: 122.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/8.804, allocations: 139.9 kB / 3.349 GB, free: 122.5 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 346 * 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.001529/8.806, allocations: 186 kB / 3.349 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0193/8.825, allocations: 4.164 MB / 3.353 GB, free: 118.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/8.826, allocations: 229.2 kB / 3.353 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02125/8.847, allocations: 4.793 MB / 3.358 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.291e-05/8.848, allocations: 31.94 kB / 3.358 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/8.848, allocations: 7.953 kB / 3.358 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-05/8.848, allocations: 19.88 kB / 3.358 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02928/8.877, allocations: 8.967 MB / 3.367 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/8.877, allocations: 0 / 3.367 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007799/8.885, allocations: 0.7803 MB / 3.367 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-05/8.885, allocations: 19.98 kB / 3.367 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000482/8.885, allocations: 39.94 kB / 3.367 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/8.885, allocations: 12 kB / 3.367 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.036e-06/8.885, allocations: 7.938 kB / 3.367 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/8.903, allocations: 4.765 MB / 3.372 GB, free: 98.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/8.906, allocations: 0.8172 MB / 3.373 GB, free: 97.26 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008003/8.907, allocations: 7.938 kB / 3.373 GB, free: 97.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005295/8.912, allocations: 243.7 kB / 3.373 GB, free: 97.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006198/8.913, allocations: 165.8 kB / 3.373 GB, free: 96.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004127/8.913, allocations: 91.94 kB / 3.373 GB, free: 96.76 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002612/8.916, allocations: 1.111 MB / 3.374 GB, free: 95.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.22e-07/8.916, allocations: 0 / 3.374 GB, free: 95.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008664/8.925, allocations: 1.25 MB / 3.376 GB, free: 94.38 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 (276): * Single equations (assignments): 274 * 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.02107/8.946, allocations: 6.349 MB / 3.382 GB, free: 87.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0133/8.959, allocations: 5.143 MB / 3.387 GB, free: 82.79 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/8.959, allocations: 8.375 kB / 3.387 GB, free: 82.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003908/8.963, allocations: 1.706 MB / 3.388 GB, free: 81.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005024/8.968, allocations: 0.521 MB / 3.389 GB, free: 80.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02401/8.992, allocations: 6.905 MB / 3.396 GB, free: 73.56 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004337/8.997, allocations: 2.682 MB / 3.398 GB, free: 70.84 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02032/9.017, allocations: 1.413 MB / 3.4 GB, free: 69.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007222/9.024, allocations: 1.569 MB / 3.401 GB, free: 67.86 MB / 0.948 GB Notification: Performance of SimCode: time 2.295e-06/9.024, allocations: 0 / 3.401 GB, free: 67.86 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2017/9.226, allocations: 67.85 MB / 3.468 GB, free: 92 kB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.6813/9.908, allocations: 200.8 kB / 3.468 GB, free: 284.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.642/15.55, allocations: 0.6875 kB / 3.468 GB, free: 284.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)