Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [/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.5088/0.5112, allocations: 80.81 MB / 0.5904 GB, free: 22.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008215/0.5195, allocations: 6.705 MB / 0.597 GB, free: 16.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00513/0.5247, allocations: 3.267 MB / 0.6002 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005476/0.5253, allocations: 30.53 kB / 0.6002 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.5275, allocations: 0.9447 MB / 0.6011 GB, free: 12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.5287, allocations: 0.5391 MB / 0.6016 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.5298, allocations: 451.1 kB / 0.6021 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.5309, allocations: 1.213 MB / 0.6032 GB, free: 9.812 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007492/0.5316, allocations: 0.661 MB / 0.6039 GB, free: 9.152 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.5321, allocations: 470.2 kB / 0.6043 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.5327, allocations: 0.5332 MB / 0.6049 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.471e-05/0.5328, allocations: 67.94 kB / 0.6049 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006689/0.5335, allocations: 379.3 kB / 0.6053 GB, free: 7.719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.5337, allocations: 303.2 kB / 0.6056 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003219/0.534, allocations: 441.8 kB / 0.606 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009355/0.535, allocations: 1.195 MB / 0.6072 GB, free: 5.789 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.535, allocations: 0 / 0.6072 GB, free: 5.789 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.535, allocations: 0 / 0.6072 GB, free: 5.789 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.535, allocations: 4 kB / 0.6072 GB, free: 5.785 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.001635/0.5367, allocations: 1.149 MB / 0.6083 GB, free: 4.586 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5367, allocations: 8.031 kB / 0.6083 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.5381, allocations: 235.6 kB / 0.6085 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006495/0.5388, allocations: 0.5569 MB / 0.6091 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.5388, allocations: 45.67 kB / 0.6091 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.322e-05/0.5389, allocations: 68.28 kB / 0.6092 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.5401, allocations: 1.077 MB / 0.6102 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.5401, allocations: 7.938 kB / 0.6102 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/0.5402, allocations: 27.98 kB / 0.6103 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/0.5403, allocations: 89.25 kB / 0.6104 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/0.5412, allocations: 0.7387 MB / 0.6111 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004627/0.5458, allocations: 4.87 MB / 0.6158 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009908/0.5468, allocations: 0.5516 MB / 0.6164 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004473/0.5473, allocations: 326 kB / 0.6167 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.5473, allocations: 8.375 kB / 0.6167 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.5474, allocations: 35 kB / 0.6167 GB, free: 11.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=47): time 2.464e-06/0.5474, allocations: 4 kB / 0.6167 GB, free: 11.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=48): time 0.003753/0.5511, allocations: 1.99 MB / 0.6187 GB, free: 9.516 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.5512, allocations: 55.84 kB / 0.6187 GB, free: 9.449 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006467/0.5518, allocations: 0.5626 MB / 0.6193 GB, free: 8.875 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.5519, allocations: 37.7 kB / 0.6193 GB, free: 8.832 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.5522, allocations: 415 kB / 0.6197 GB, free: 8.422 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.5523, allocations: 173.6 kB / 0.6199 GB, free: 8.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.5525, allocations: 122.5 kB / 0.62 GB, free: 8.125 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.5527, allocations: 374.8 kB / 0.6203 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.5531, allocations: 277.8 kB / 0.6206 GB, free: 7.477 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.5537, allocations: 0.4893 MB / 0.6211 GB, free: 6.891 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.5547, allocations: 0.8132 MB / 0.6219 GB, free: 5.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.5547, allocations: 11.88 kB / 0.6219 GB, free: 5.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001751/0.5565, allocations: 1.079 MB / 0.6229 GB, free: 4.867 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5565, allocations: 12.16 kB / 0.623 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.5565, allocations: 11.94 kB / 0.623 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00079/0.5573, allocations: 279.1 kB / 0.6232 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.5578, allocations: 123.8 kB / 0.6233 GB, free: 4.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006863/0.5647, allocations: 7.133 MB / 0.6303 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.5653, allocations: 39.97 kB / 0.6304 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.5653, allocations: 24 kB / 0.6304 GB, free: 12.68 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004136/0.5658, allocations: 262.1 kB / 0.6306 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.5659, allocations: 79.16 kB / 0.6307 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.5674, allocations: 0.8848 MB / 0.6316 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.5674, allocations: 4 kB / 0.6316 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5675, allocations: 7.938 kB / 0.6316 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5675, allocations: 4.031 kB / 0.6316 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.57, allocations: 1.744 MB / 0.6333 GB, free: 9.574 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.57, allocations: 3.938 kB / 0.6333 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.5703, allocations: 64.06 kB / 0.6333 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007053/0.571, allocations: 267.3 kB / 0.6336 GB, free: 9.234 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.571, allocations: 19.88 kB / 0.6336 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006099/0.5771, allocations: 7.119 MB / 0.6406 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5771, allocations: 0 / 0.6406 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.5786, allocations: 0.9797 MB / 0.6415 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.5789, allocations: 204.2 kB / 0.6417 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.579, allocations: 8 kB / 0.6417 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.5794, allocations: 31.95 kB / 0.6418 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-05/0.5795, allocations: 43.83 kB / 0.6418 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.5795, allocations: 16 kB / 0.6418 GB, free: 200 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004238/0.58, allocations: 387.1 kB / 0.6422 GB, free: 15.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.58, allocations: 0 / 0.6422 GB, free: 15.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007797/0.5807, allocations: 228 kB / 0.6424 GB, free: 15.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001336/0.5809, allocations: 115.1 kB / 0.6425 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.5828, allocations: 1.338 MB / 0.6438 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5828, allocations: 0 / 0.6438 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.5839, allocations: 0.8972 MB / 0.6447 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/0.5849, allocations: 219.8 kB / 0.6449 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.587, allocations: 1.375 MB / 0.6463 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.5876, allocations: 1.013 MB / 0.6472 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003733/0.588, allocations: 126 kB / 0.6474 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.5881, allocations: 43.44 kB / 0.6474 GB, free: 10.3 MB / 494.1 MB Notification: Performance of SimCode: time 3.8e-07/0.5881, allocations: 0 / 0.6474 GB, free: 10.3 MB / 494.1 MB Notification: Performance of Templates: time 0.01803/0.6061, allocations: 11.16 MB / 0.6583 GB, free: 15.34 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)