Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.191/0.1918, allocations: 82.22 MB / 0.5934 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01139/0.2033, allocations: 9.198 MB / 0.6024 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.4805/0.6838, allocations: 129.2 MB / 0.7286 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.6856, allocations: 30.59 kB / 0.7286 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.6862, allocations: 162.5 kB / 0.7288 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.6888, allocations: 0.8146 MB / 0.7295 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.6915, allocations: 0.99 MB / 0.7305 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002449/0.6939, allocations: 1.595 MB / 0.7321 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003496/0.6974, allocations: 2.267 MB / 0.7343 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.6999, allocations: 0.8031 MB / 0.7351 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.7017, allocations: 0.864 MB / 0.7359 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002369/0.702, allocations: 60.91 kB / 0.736 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.7035, allocations: 419 kB / 0.7364 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.704, allocations: 439.2 kB / 0.7368 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004294/0.7044, allocations: 446.9 kB / 0.7372 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005427/0.7098, allocations: 3.313 MB / 0.7405 GB, free: 0 / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.7099, allocations: 0 / 0.7405 GB, free: 0 / 0.5294 GB Notification: Performance of FrontEnd: time 3.336e-06/0.7099, allocations: 64 / 0.7405 GB, free: 0 / 0.5294 GB Notification: Performance of Transformations before backend: time 8.723e-05/0.71, allocations: 0 / 0.7405 GB, free: 0 / 0.5294 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.005029/0.715, allocations: 2.322 MB / 0.7427 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.715, allocations: 13.23 kB / 0.7427 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.7263, allocations: 1.795 MB / 0.7445 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.7293, allocations: 1.328 MB / 0.7458 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.7295, allocations: 186.8 kB / 0.746 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004529/0.73, allocations: 243.1 kB / 0.7462 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00879/0.7388, allocations: 3.403 MB / 0.7495 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.696e-05/0.7389, allocations: 6.406 kB / 0.7495 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003324/0.7392, allocations: 109.7 kB / 0.7496 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/0.7394, allocations: 117.9 kB / 0.7497 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.75, allocations: 3.96 MB / 0.7536 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01738/0.7675, allocations: 9.421 MB / 0.7628 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007429/0.7749, allocations: 2.752 MB / 0.7655 GB, free: 5.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008212/0.7758, allocations: 0.5803 MB / 0.7661 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00392/0.7797, allocations: 1.553 MB / 0.7676 GB, free: 4.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=192): time 5.811e-06/0.7798, allocations: 0 / 0.7676 GB, free: 4.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=193): time 0.01156/0.7913, allocations: 4.313 MB / 0.7718 GB, free: 3.195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.7915, allocations: 184.5 kB / 0.772 GB, free: 3.004 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.793, allocations: 1.001 MB / 0.7729 GB, free: 2.688 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002263/0.7932, allocations: 62.2 kB / 0.773 GB, free: 2.656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007737/0.794, allocations: 0.8975 MB / 0.7739 GB, free: 2.109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006558/0.7947, allocations: 0.6292 MB / 0.7745 GB, free: 1.648 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.7948, allocations: 37.97 kB / 0.7745 GB, free: 1.645 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.795, allocations: 371.3 kB / 0.7749 GB, free: 1.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003098/0.7981, allocations: 1.08 MB / 0.7759 GB, free: 1.121 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.8014, allocations: 1.386 MB / 0.7773 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/0.8047, allocations: 1.185 MB / 0.7784 GB, free: 444 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.8047, allocations: 5.859 kB / 0.7785 GB, free: 440 kB / 0.545 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.007977/0.8127, allocations: 2.789 MB / 0.7812 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.00124/0.814, allocations: 2.455 MB / 0.7836 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/0.814, allocations: 4 kB / 0.7836 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.347e-05/0.8141, allocations: 16 kB / 0.7836 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/0.8172, allocations: 0.5507 MB / 0.7841 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.098e-05/0.8173, allocations: 15.94 kB / 0.7841 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.8199, allocations: 276.2 kB / 0.7844 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/0.8202, allocations: 91.98 kB / 0.7845 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.8202, allocations: 7.953 kB / 0.7845 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007197/0.8274, allocations: 2.57 MB / 0.787 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.8274, allocations: 4 kB / 0.787 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.8275, allocations: 16 kB / 0.787 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/0.8304, allocations: 0.5407 MB / 0.7876 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-05/0.8304, allocations: 19.92 kB / 0.7876 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.8329, allocations: 263.7 kB / 0.7878 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/0.8332, allocations: 90.3 kB / 0.7879 GB, free: 9.367 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.001639/0.8348, allocations: 0.5715 MB / 0.7885 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005281/0.8353, allocations: 166 kB / 0.7886 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009107/0.8445, allocations: 3.153 MB / 0.7917 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.8445, allocations: 23.98 kB / 0.7917 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.8445, allocations: 0 / 0.7917 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/0.8446, allocations: 11.91 kB / 0.7917 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.8571, allocations: 5.821 MB / 0.7974 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.8571, allocations: 0 / 0.7974 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003028/0.8602, allocations: 0.5302 MB / 0.798 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-05/0.8602, allocations: 8 kB / 0.798 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/0.8604, allocations: 62.14 kB / 0.798 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.078e-05/0.8605, allocations: 8 kB / 0.798 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8605, allocations: 4 kB / 0.798 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007732/0.8682, allocations: 2.912 MB / 0.8009 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.8696, allocations: 0.5654 MB / 0.8014 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000496/0.8701, allocations: 34.62 kB / 0.8015 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/0.8726, allocations: 214 kB / 0.8017 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/0.8729, allocations: 128 kB / 0.8018 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/0.8731, allocations: 75.56 kB / 0.8019 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001625/0.8748, allocations: 0.7152 MB / 0.8026 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.783e-06/0.8748, allocations: 0 / 0.8026 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003567/0.8783, allocations: 0.7749 MB / 0.8033 GB, free: 13.86 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.001905/0.8803, allocations: 0.6465 MB / 0.8039 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01135/0.8916, allocations: 4.05 MB / 0.8079 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.8917, allocations: 7.938 kB / 0.8079 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003693/0.8954, allocations: 1.383 MB / 0.8093 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.8974, allocations: 308.2 kB / 0.8095 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.9082, allocations: 5.246 MB / 0.8147 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/0.9098, allocations: 1.569 MB / 0.8162 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004795/0.9146, allocations: 0.7775 MB / 0.817 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009507/0.9156, allocations: 211.3 kB / 0.8172 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of SimCode: time 1.282e-06/0.9156, allocations: 0 / 0.8172 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.04427/0.9598, allocations: 25.47 MB / 0.842 GB, free: 8.887 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1) Environment - environmentSimulation: