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_N.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_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") [/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.205/0.2059, allocations: 82.21 MB / 0.5934 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.02711/0.2331, allocations: 21.39 MB / 0.6143 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.5713/0.8044, allocations: 133.3 MB / 0.7445 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003207/0.8077, allocations: 56.44 kB / 0.7445 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.8095, allocations: 397.1 kB / 0.7449 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005724/0.8152, allocations: 1.355 MB / 0.7462 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005718/0.8209, allocations: 1.693 MB / 0.7479 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006285/0.8272, allocations: 2.797 MB / 0.7506 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/0.8373, allocations: 6.37 MB / 0.7568 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/0.8408, allocations: 1.444 MB / 0.7582 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003611/0.8444, allocations: 1.651 MB / 0.7599 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009121/0.8454, allocations: 187.2 kB / 0.76 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.8477, allocations: 0.5477 MB / 0.7606 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.849, allocations: 1.221 MB / 0.7618 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.8502, allocations: 0.7786 MB / 0.7625 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007025/0.8572, allocations: 6.531 MB / 0.7689 GB, free: 13.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8573, allocations: 0 / 0.7689 GB, free: 13.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.554e-06/0.8573, allocations: 0 / 0.7689 GB, free: 13.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002641/0.8575, allocations: 0 / 0.7689 GB, free: 13.64 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: 1134 * Number of variables: 1134 Notification: Performance of Generate backend data structure: time 0.009567/0.8671, allocations: 3.714 MB / 0.7725 GB, free: 11.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.8672, allocations: 9.875 kB / 0.7725 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/0.8809, allocations: 2.117 MB / 0.7746 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005124/0.886, allocations: 2.242 MB / 0.7768 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.8862, allocations: 327.4 kB / 0.7771 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/0.8873, allocations: 425.6 kB / 0.7775 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/0.9031, allocations: 6.573 MB / 0.7839 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.9033, allocations: 7.938 kB / 0.7839 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005561/0.9039, allocations: 186.3 kB / 0.7841 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002456/0.9041, allocations: 224.5 kB / 0.7843 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01718/0.9213, allocations: 6.569 MB / 0.7907 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03677/0.9581, allocations: 19.82 MB / 0.8101 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.9685, allocations: 4.229 MB / 0.8142 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.9696, allocations: 0.5065 MB / 0.8147 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005467/0.9751, allocations: 2.072 MB / 0.8168 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=238): time 8.165e-06/0.9751, allocations: 0 / 0.8168 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241): time 0.018/0.9931, allocations: 7.222 MB / 0.8238 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/0.9934, allocations: 323.2 kB / 0.8241 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.996, allocations: 1.624 MB / 0.8257 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000404/0.9965, allocations: 65.7 kB / 0.8258 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/0.9981, allocations: 1.679 MB / 0.8274 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001033/0.9991, allocations: 0.7964 MB / 0.8282 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003324/0.9995, allocations: 55.94 kB / 0.8282 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002382/0.9997, allocations: 411.3 kB / 0.8286 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004194/1.004, allocations: 1.578 MB / 0.8302 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004811/1.009, allocations: 2.259 MB / 0.8324 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004842/1.014, allocations: 1.866 MB / 0.8342 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/1.014, allocations: 4.094 kB / 0.8342 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.01152/1.025, allocations: 4.177 MB / 0.8383 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.00331/1.029, allocations: 7.201 MB / 0.8453 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-05/1.029, allocations: 19.95 kB / 0.8453 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.218e-05/1.029, allocations: 36 kB / 0.8454 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005693/1.034, allocations: 0.819 MB / 0.8462 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001027/1.035, allocations: 43.86 kB / 0.8462 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004307/1.039, allocations: 378.1 kB / 0.8466 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009203/1.04, allocations: 143.9 kB / 0.8467 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.04, allocations: 4.938 kB / 0.8467 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01188/1.052, allocations: 3.754 MB / 0.8504 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-05/1.052, allocations: 20 kB / 0.8504 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.833e-05/1.052, allocations: 32 kB / 0.8504 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004575/1.057, allocations: 0.7886 MB / 0.8512 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.062e-05/1.057, allocations: 43.84 kB / 0.8512 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/1.06, allocations: 342.2 kB / 0.8516 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006699/1.061, allocations: 139.9 kB / 0.8517 GB, free: 3.938 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (335): * Single equations (assignments): 335 * 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.004222/1.065, allocations: 1.265 MB / 0.8529 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009753/1.066, allocations: 225.3 kB / 0.8531 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/1.079, allocations: 4.139 MB / 0.8572 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-05/1.079, allocations: 27.98 kB / 0.8572 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.079, allocations: 0 / 0.8572 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/1.079, allocations: 15.95 kB / 0.8572 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02054/1.1, allocations: 8.787 MB / 0.8658 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.1, allocations: 4 kB / 0.8658 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003919/1.104, allocations: 0.7334 MB / 0.8665 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-05/1.104, allocations: 8 kB / 0.8665 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003324/1.104, allocations: 75.94 kB / 0.8666 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.5e-05/1.104, allocations: 13.75 kB / 0.8666 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.104, allocations: 3.938 kB / 0.8666 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009807/1.114, allocations: 4.109 MB / 0.8706 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/1.116, allocations: 0.7554 MB / 0.8714 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008234/1.117, allocations: 51.78 kB / 0.8714 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003193/1.12, allocations: 271.7 kB / 0.8717 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/1.121, allocations: 149.8 kB / 0.8718 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002571/1.121, allocations: 91.94 kB / 0.8719 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002709/1.124, allocations: 1.164 MB / 0.8731 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.81e-07/1.124, allocations: 0 / 0.8731 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006524/1.13, allocations: 1.24 MB / 0.8743 GB, free: 12.54 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 (256): * Single equations (assignments): 254 * 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.001985/1.132, allocations: 0.669 MB / 0.8749 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01514/1.147, allocations: 5.778 MB / 0.8806 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/1.147, allocations: 1.875 kB / 0.8806 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004783/1.152, allocations: 1.846 MB / 0.8824 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/1.155, allocations: 480.4 kB / 0.8828 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/1.174, allocations: 8.921 MB / 0.8915 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003785/1.178, allocations: 2.582 MB / 0.8941 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.007325/1.185, allocations: 1.281 MB / 0.8953 GB, free: 7.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/1.187, allocations: 267.2 kB / 0.8956 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of SimCode: time 9.32e-07/1.187, allocations: 0 / 0.8956 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of Templates: time 0.06524/1.252, allocations: 36.95 MB / 0.9316 GB, free: 2.168 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1) Environment - environmentSimulation: