Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 176.9 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007826/0.0007825, allocations: 91.8 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.085e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1817, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.45/5.632, allocations: 2.239 GB / 3.124 GB, free: 126 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/5.632, allocations: 110.5 kB / 3.124 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8659/6.498, allocations: 162 MB / 3.283 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.623e-06/6.498, allocations: 0 / 3.283 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002551/6.499, allocations: 95.23 kB / 3.283 GB, free: 235.7 MB / 0.8698 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.0123/6.511, allocations: 3.43 MB / 3.286 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/6.511, allocations: 10.03 kB / 3.286 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/6.523, allocations: 1.722 MB / 3.288 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006191/6.529, allocations: 2.215 MB / 3.29 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/6.529, allocations: 128.5 kB / 3.29 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/6.531, allocations: 230.4 kB / 3.29 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009855/6.541, allocations: 4.853 MB / 3.295 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009479/6.55, allocations: 4.975 MB / 3.3 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.818e-05/6.55, allocations: 9.812 kB / 3.3 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004358/6.551, allocations: 6.969 kB / 3.3 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/6.551, allocations: 192.6 kB / 3.3 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02863/6.579, allocations: 21.94 MB / 3.322 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004588/6.584, allocations: 3.352 MB / 3.325 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/6.586, allocations: 1.528 MB / 3.326 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006675/6.587, allocations: 0.5129 MB / 3.327 GB, free: 222 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002276/6.589, allocations: 1.709 MB / 3.328 GB, free: 221.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=240): time 3.948e-06/6.589, allocations: 7.828 kB / 3.328 GB, free: 221.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=243): time 0.01222/6.601, allocations: 5.872 MB / 3.334 GB, free: 219 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/6.601, allocations: 445.2 kB / 3.335 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/6.603, allocations: 1.337 MB / 3.336 GB, free: 218 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005043/6.604, allocations: 33.64 kB / 3.336 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/6.605, allocations: 1.598 MB / 3.338 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009493/6.606, allocations: 0.7791 MB / 3.338 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/6.606, allocations: 0 / 3.338 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001304/6.606, allocations: 409.8 kB / 3.339 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/6.608, allocations: 1.246 MB / 3.34 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/6.61, allocations: 1.947 MB / 3.342 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007078/6.617, allocations: 2.493 MB / 3.344 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.819e-05/6.617, allocations: 3.438 kB / 3.344 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01091/6.628, allocations: 4.351 MB / 3.348 GB, free: 211.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001216/6.629, allocations: 7.087 MB / 3.355 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/6.629, allocations: 20.59 kB / 3.355 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-05/6.629, allocations: 33.09 kB / 3.355 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004072/6.634, allocations: 0.7994 MB / 3.356 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.761e-05/6.634, allocations: 45.16 kB / 3.356 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/6.637, allocations: 330.2 kB / 3.357 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005297/6.638, allocations: 130.8 kB / 3.357 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/6.638, allocations: 4.656 kB / 3.357 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01026/6.648, allocations: 3.873 MB / 3.361 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.819e-05/6.648, allocations: 17.53 kB / 3.361 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.362e-05/6.648, allocations: 37.22 kB / 3.361 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/6.652, allocations: 0.7578 MB / 3.361 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.563e-05/6.652, allocations: 48 kB / 3.361 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/6.655, allocations: 286.2 kB / 3.362 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003627/6.656, allocations: 130.5 kB / 3.362 GB, free: 202.9 MB / 0.8698 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.0009477/6.656, allocations: 176.7 kB / 3.362 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01036/6.667, allocations: 3.804 MB / 3.366 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007765/6.668, allocations: 227.1 kB / 3.366 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/6.68, allocations: 4.417 MB / 3.37 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/6.68, allocations: 24.88 kB / 3.37 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/6.68, allocations: 0 / 3.37 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.506e-05/6.68, allocations: 10.36 kB / 3.37 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/6.698, allocations: 8.224 MB / 3.378 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/6.698, allocations: 4.281 kB / 3.378 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003604/6.701, allocations: 0.7141 MB / 3.379 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.861e-05/6.701, allocations: 10.97 kB / 3.379 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002287/6.702, allocations: 45.72 kB / 3.379 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.456e-05/6.702, allocations: 11.56 kB / 3.379 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/6.702, allocations: 3.812 kB / 3.379 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009281/6.711, allocations: 4.402 MB / 3.383 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/6.713, allocations: 0.7551 MB / 3.384 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007531/6.713, allocations: 11.45 kB / 3.384 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/6.716, allocations: 226.9 kB / 3.384 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/6.717, allocations: 153.1 kB / 3.384 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/6.717, allocations: 90.25 kB / 3.384 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001482/6.718, allocations: 1.067 MB / 3.386 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.41e-07/6.718, allocations: 0 / 3.386 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003941/6.722, allocations: 1.163 MB / 3.387 GB, free: 193.2 MB / 0.8698 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.0104/6.733, allocations: 5.991 MB / 3.393 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006418/6.739, allocations: 4.766 MB / 3.397 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/6.739, allocations: 3.953 kB / 3.397 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/6.741, allocations: 1.526 MB / 3.399 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/6.744, allocations: 485.5 kB / 3.399 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/6.757, allocations: 6.298 MB / 3.405 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001896/6.759, allocations: 2.527 MB / 3.408 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00571/6.765, allocations: 1.381 MB / 3.409 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/6.767, allocations: 1.443 MB / 3.41 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.71e-07/6.767, allocations: 3.094 kB / 3.41 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/6.867, allocations: 62.89 MB / 3.472 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/6.867, allocations: 211.5 kB / 3.472 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.473/10.34, allocations: 0 / 3.472 GB, free: 115.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)