Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.PVPanels,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.1639/0.1646, allocations: 82.22 MB / 0.5934 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.009426/0.1741, allocations: 7.912 MB / 0.6011 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.5055/0.6796, allocations: 129.2 MB / 0.7273 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.6812, allocations: 26.56 kB / 0.7273 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.6818, allocations: 166.2 kB / 0.7275 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.6852, allocations: 0.8124 MB / 0.7283 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.6884, allocations: 0.9918 MB / 0.7292 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003328/0.6917, allocations: 1.599 MB / 0.7308 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004147/0.6959, allocations: 2.254 MB / 0.733 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.6979, allocations: 0.8092 MB / 0.7338 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.6997, allocations: 0.8743 MB / 0.7347 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002094/0.6999, allocations: 63.67 kB / 0.7347 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.7013, allocations: 415.5 kB / 0.7351 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004708/0.7018, allocations: 435.3 kB / 0.7355 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005879/0.7024, allocations: 447.7 kB / 0.7359 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003746/0.7061, allocations: 3.063 MB / 0.7389 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.7062, allocations: 2.5 kB / 0.7389 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7062, allocations: 4 kB / 0.7389 GB, free: 14.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.045e-05/0.7062, allocations: 1.859 kB / 0.7389 GB, free: 14.46 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.005395/0.7116, allocations: 2.329 MB / 0.7412 GB, free: 12.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7117, allocations: 9.062 kB / 0.7412 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.7234, allocations: 1.794 MB / 0.743 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/0.7276, allocations: 1.322 MB / 0.7443 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.7278, allocations: 185.2 kB / 0.7445 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004464/0.7282, allocations: 248.8 kB / 0.7447 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007968/0.7362, allocations: 3.407 MB / 0.748 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.008e-05/0.7363, allocations: 3.938 kB / 0.748 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/0.7365, allocations: 110.7 kB / 0.7481 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.7367, allocations: 117.8 kB / 0.7482 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009779/0.7465, allocations: 3.962 MB / 0.7521 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.7625, allocations: 9.424 MB / 0.7613 GB, free: 4.594 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006912/0.7694, allocations: 2.748 MB / 0.764 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007899/0.7702, allocations: 0.5783 MB / 0.7646 GB, free: 3.445 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003579/0.7738, allocations: 1.554 MB / 0.7661 GB, free: 2.922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=192): time 5.66e-06/0.7738, allocations: 0 / 0.7661 GB, free: 2.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=193): time 0.01113/0.785, allocations: 4.314 MB / 0.7703 GB, free: 1.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.405e-05/0.7851, allocations: 186 kB / 0.7705 GB, free: 1.465 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.7864, allocations: 1.008 MB / 0.7715 GB, free: 1.145 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.7866, allocations: 62.39 kB / 0.7715 GB, free: 1.113 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007781/0.7873, allocations: 0.8883 MB / 0.7724 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006217/0.788, allocations: 0.6317 MB / 0.773 GB, free: 108 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.7881, allocations: 34.81 kB / 0.773 GB, free: 108 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.7883, allocations: 373.5 kB / 0.7734 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002996/0.7913, allocations: 1.085 MB / 0.7744 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003194/0.7945, allocations: 1.379 MB / 0.7758 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/0.7976, allocations: 1.181 MB / 0.7769 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7977, allocations: 0 / 0.7769 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.007161/0.8048, allocations: 2.788 MB / 0.7797 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.001154/0.806, allocations: 2.445 MB / 0.7821 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.806, allocations: 8.531 kB / 0.7821 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/0.8061, allocations: 17.19 kB / 0.7821 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003018/0.8091, allocations: 0.5524 MB / 0.7826 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-05/0.8092, allocations: 19.94 kB / 0.7826 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/0.8117, allocations: 275.5 kB / 0.7829 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/0.8119, allocations: 99.48 kB / 0.783 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.8119, allocations: 4.781 kB / 0.783 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006831/0.8187, allocations: 2.566 MB / 0.7855 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.8188, allocations: 8 kB / 0.7855 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.8188, allocations: 20.47 kB / 0.7855 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/0.8216, allocations: 0.5401 MB / 0.7861 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/0.8217, allocations: 23.92 kB / 0.7861 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.8239, allocations: 264.2 kB / 0.7863 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.8241, allocations: 85.61 kB / 0.7864 GB, free: 8.199 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (227): * Single equations (assignments): 227 * 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.001355/0.8254, allocations: 0.5746 MB / 0.787 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.8258, allocations: 166 kB / 0.7871 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008108/0.8339, allocations: 3.15 MB / 0.7902 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.8339, allocations: 24 kB / 0.7902 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.834, allocations: 4 kB / 0.7902 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.834, allocations: 7.969 kB / 0.7902 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.8451, allocations: 5.82 MB / 0.7959 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.8452, allocations: 0 / 0.7959 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/0.8481, allocations: 0.5212 MB / 0.7964 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.956e-05/0.8482, allocations: 8 kB / 0.7964 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.8484, allocations: 66.14 kB / 0.7965 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.362e-05/0.8484, allocations: 15.92 kB / 0.7965 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8484, allocations: 0 / 0.7965 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007042/0.8555, allocations: 2.915 MB / 0.7994 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.8566, allocations: 0.554 MB / 0.7999 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.8569, allocations: 34.5 kB / 0.7999 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/0.859, allocations: 222 kB / 0.8002 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.8592, allocations: 123.8 kB / 0.8003 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/0.8594, allocations: 79.56 kB / 0.8004 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001014/0.8604, allocations: 0.7182 MB / 0.8011 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8604, allocations: 0 / 0.8011 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002479/0.8629, allocations: 0.7721 MB / 0.8018 GB, free: 12.69 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 204 * 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.001512/0.8644, allocations: 0.6506 MB / 0.8024 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01057/0.875, allocations: 4.06 MB / 0.8064 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.875, allocations: 0 / 0.8064 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003576/0.8786, allocations: 1.378 MB / 0.8078 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.8806, allocations: 309.8 kB / 0.8081 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009471/0.8901, allocations: 5.251 MB / 0.8132 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.8913, allocations: 1.572 MB / 0.8147 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004468/0.8958, allocations: 0.7662 MB / 0.8155 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000834/0.8967, allocations: 208.2 kB / 0.8157 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/0.8967, allocations: 0 / 0.8157 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of Templates: time 0.04696/0.9436, allocations: 25.5 MB / 0.8406 GB, free: 7.688 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1) Environment - environmentSimulation: