Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) 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_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.179/0.1797, allocations: 82.22 MB / 0.5934 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.02438/0.2042, allocations: 22.39 MB / 0.6152 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5662/0.7704, allocations: 133.6 MB / 0.7457 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00368/0.7741, allocations: 60.03 kB / 0.7457 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.7762, allocations: 431.1 kB / 0.7461 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00748/0.7837, allocations: 1.362 MB / 0.7475 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006236/0.7899, allocations: 1.71 MB / 0.7491 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00801/0.798, allocations: 3.072 MB / 0.7521 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.8082, allocations: 6.882 MB / 0.7589 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003924/0.8121, allocations: 1.561 MB / 0.7604 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003326/0.8155, allocations: 1.797 MB / 0.7621 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008709/0.8164, allocations: 200.3 kB / 0.7623 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.8187, allocations: 0.5946 MB / 0.7629 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.82, allocations: 1.343 MB / 0.7642 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.8211, allocations: 0.8425 MB / 0.765 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007769/0.8289, allocations: 7.108 MB / 0.772 GB, free: 13.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8289, allocations: 0 / 0.772 GB, free: 13.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.146e-06/0.829, allocations: 3.938 kB / 0.772 GB, free: 13.33 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002741/0.8292, allocations: 0 / 0.772 GB, free: 13.33 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1215 * Number of variables: 1215 Notification: Performance of Generate backend data structure: time 0.01234/0.8416, allocations: 3.935 MB / 0.7758 GB, free: 10.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.8417, allocations: 7.969 kB / 0.7758 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01424/0.8559, allocations: 2.18 MB / 0.778 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007016/0.863, allocations: 2.427 MB / 0.7803 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.8633, allocations: 351.8 kB / 0.7807 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/0.8649, allocations: 449.9 kB / 0.7811 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/0.884, allocations: 7.035 MB / 0.788 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/0.8842, allocations: 18.64 kB / 0.788 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006762/0.8849, allocations: 197.7 kB / 0.7882 GB, free: 5.293 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003142/0.8852, allocations: 255.7 kB / 0.7884 GB, free: 5.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01973/0.9049, allocations: 6.912 MB / 0.7952 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04801/0.953, allocations: 22.09 MB / 0.8167 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.9642, allocations: 4.33 MB / 0.821 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008837/0.9652, allocations: 0.5141 MB / 0.8215 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005562/0.9707, allocations: 2.266 MB / 0.8237 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=252): time 6.833e-06/0.9708, allocations: 1.859 kB / 0.8237 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=255): time 0.01782/0.9886, allocations: 7.929 MB / 0.8314 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/0.9888, allocations: 324.7 kB / 0.8317 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/0.9917, allocations: 1.703 MB / 0.8334 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005084/0.9922, allocations: 73.7 kB / 0.8335 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001846/0.9941, allocations: 1.775 MB / 0.8352 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/0.9954, allocations: 0.8448 MB / 0.836 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003204/0.9958, allocations: 56 kB / 0.8361 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003097/0.9961, allocations: 411.5 kB / 0.8365 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004303/1, allocations: 1.696 MB / 0.8381 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004736/1.005, allocations: 2.375 MB / 0.8405 GB, free: 292 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004576/1.01, allocations: 1.967 MB / 0.8424 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/1.01, allocations: 4 kB / 0.8424 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01054/1.02, allocations: 4.439 MB / 0.8467 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.003637/1.024, allocations: 6.881 MB / 0.8534 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-05/1.024, allocations: 20 kB / 0.8535 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.674e-05/1.024, allocations: 32 kB / 0.8535 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004632/1.029, allocations: 0.8463 MB / 0.8543 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.058e-05/1.029, allocations: 35.92 kB / 0.8543 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00385/1.033, allocations: 402 kB / 0.8547 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000371/1.033, allocations: 143.9 kB / 0.8549 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.033, allocations: 7.938 kB / 0.8549 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009681/1.043, allocations: 3.895 MB / 0.8587 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.093e-05/1.043, allocations: 20.06 kB / 0.8587 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.437e-05/1.043, allocations: 36 kB / 0.8587 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00389/1.047, allocations: 0.7878 MB / 0.8595 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.257e-05/1.047, allocations: 43.86 kB / 0.8595 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/1.05, allocations: 342.2 kB / 0.8599 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/1.051, allocations: 137.8 kB / 0.86 GB, free: 11.51 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 345 * 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.003378/1.054, allocations: 1.34 MB / 0.8613 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007024/1.055, allocations: 233.1 kB / 0.8615 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.066, allocations: 4.551 MB / 0.866 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.032e-05/1.066, allocations: 32 kB / 0.866 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/1.066, allocations: 0 / 0.866 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/1.066, allocations: 15.95 kB / 0.866 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/1.086, allocations: 9.61 MB / 0.8754 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.087, allocations: 4 kB / 0.8754 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003924/1.09, allocations: 0.788 MB / 0.8762 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.983e-05/1.09, allocations: 8 kB / 0.8762 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002338/1.091, allocations: 75.94 kB / 0.8763 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.837e-05/1.091, allocations: 15.98 kB / 0.8763 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.091, allocations: 3.938 kB / 0.8763 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009952/1.101, allocations: 4.492 MB / 0.8807 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/1.103, allocations: 0.8132 MB / 0.8815 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008758/1.104, allocations: 51.95 kB / 0.8815 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00306/1.107, allocations: 295.6 kB / 0.8818 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/1.107, allocations: 149.8 kB / 0.8819 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/1.108, allocations: 95.94 kB / 0.882 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002683/1.11, allocations: 1.226 MB / 0.8832 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.21e-07/1.11, allocations: 0 / 0.8832 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006791/1.117, allocations: 1.322 MB / 0.8845 GB, free: 2.023 MB / 0.6387 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 268 * 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.001962/1.119, allocations: 0.6537 MB / 0.8852 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01532/1.134, allocations: 6.171 MB / 0.8912 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.134, allocations: 0 / 0.8912 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004731/1.139, allocations: 2.031 MB / 0.8932 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/1.143, allocations: 0.5396 MB / 0.8937 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/1.162, allocations: 9.632 MB / 0.9031 GB, free: 15.15 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002867/1.165, allocations: 2.744 MB / 0.9058 GB, free: 12.38 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006081/1.171, allocations: 1.277 MB / 0.907 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.172, allocations: 275.2 kB / 0.9073 GB, free: 10.82 MB / 0.67 GB Notification: Performance of SimCode: time 7.91e-07/1.172, allocations: 3.938 kB / 0.9073 GB, free: 10.82 MB / 0.67 GB Notification: Performance of Templates: time 0.07444/1.247, allocations: 40.38 MB / 0.9467 GB, free: 2.66 MB / 0.7012 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) Environment - environmentSimulation: