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.1808/0.1815, allocations: 82.21 MB / 0.5941 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007976/0.1895, allocations: 6.277 MB / 0.6002 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005054/0.1946, allocations: 3.24 MB / 0.6034 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005146/0.1952, allocations: 19.88 kB / 0.6034 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.1956, allocations: 138.9 kB / 0.6036 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.197, allocations: 0.5016 MB / 0.6041 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.1982, allocations: 415 kB / 0.6044 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.1997, allocations: 1.567 MB / 0.606 GB, free: 9.379 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.2015, allocations: 1.016 MB / 0.607 GB, free: 8.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005489/0.2021, allocations: 390.3 kB / 0.6073 GB, free: 7.957 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/0.2028, allocations: 0.5058 MB / 0.6078 GB, free: 7.449 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.106e-05/0.2029, allocations: 32 kB / 0.6079 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007649/0.2036, allocations: 443.1 kB / 0.6083 GB, free: 6.984 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.2039, allocations: 271.1 kB / 0.6085 GB, free: 6.719 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003728/0.2043, allocations: 419.5 kB / 0.6089 GB, free: 6.301 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.2055, allocations: 1.171 MB / 0.6101 GB, free: 5.125 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.2055, allocations: 8 kB / 0.6101 GB, free: 5.117 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2055, allocations: 0 / 0.6101 GB, free: 5.117 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.2055, allocations: 0 / 0.6101 GB, free: 5.117 MB / 462.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.001747/0.2073, allocations: 0.9894 MB / 0.6111 GB, free: 4.078 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.2073, allocations: 16.03 kB / 0.6111 GB, free: 4.062 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.2089, allocations: 235.6 kB / 0.6113 GB, free: 3.832 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.2098, allocations: 0.5491 MB / 0.6118 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.2098, allocations: 49.67 kB / 0.6119 GB, free: 3.191 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.2099, allocations: 64.36 kB / 0.612 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.2114, allocations: 1.081 MB / 0.613 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.2114, allocations: 7.938 kB / 0.613 GB, free: 1.934 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-05/0.2115, allocations: 31.98 kB / 0.613 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/0.2117, allocations: 85.25 kB / 0.6131 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.2128, allocations: 0.7387 MB / 0.6138 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004836/0.2177, allocations: 4.882 MB / 0.6186 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/0.2186, allocations: 0.5569 MB / 0.6192 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004315/0.2191, allocations: 322 kB / 0.6195 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.2191, allocations: 8.438 kB / 0.6195 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.2192, allocations: 38.98 kB / 0.6195 GB, free: 11.08 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 3.937e-06/0.2192, allocations: 3.984 kB / 0.6195 GB, free: 11.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=48): time 0.003715/0.2229, allocations: 2.002 MB / 0.6215 GB, free: 8.977 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.223, allocations: 55.84 kB / 0.6215 GB, free: 8.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.2236, allocations: 0.5626 MB / 0.6221 GB, free: 8.336 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.2236, allocations: 37.7 kB / 0.6221 GB, free: 8.293 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.2239, allocations: 418.9 kB / 0.6225 GB, free: 7.875 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.224, allocations: 165.6 kB / 0.6227 GB, free: 7.711 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.2241, allocations: 57.69 kB / 0.6227 GB, free: 7.648 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2242, allocations: 374.8 kB / 0.6231 GB, free: 7.273 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.2246, allocations: 281.8 kB / 0.6233 GB, free: 6.996 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005111/0.2251, allocations: 497 kB / 0.6238 GB, free: 6.414 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009673/0.2261, allocations: 0.8133 MB / 0.6246 GB, free: 5.508 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2261, allocations: 7.938 kB / 0.6246 GB, free: 5.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001701/0.2278, allocations: 1.079 MB / 0.6257 GB, free: 4.398 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.2279, allocations: 11.94 kB / 0.6257 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.2279, allocations: 16 kB / 0.6257 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008108/0.2287, allocations: 279.1 kB / 0.626 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.2292, allocations: 127.8 kB / 0.6261 GB, free: 3.961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006031/0.2352, allocations: 6.591 MB / 0.6325 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/0.2358, allocations: 43.95 kB / 0.6326 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.2359, allocations: 28 kB / 0.6326 GB, free: 12.77 MB / 494.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.0003519/0.2362, allocations: 262.4 kB / 0.6328 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.2363, allocations: 79.09 kB / 0.6329 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.2379, allocations: 0.8809 MB / 0.6338 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.238, allocations: 12.22 kB / 0.6338 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.238, allocations: 11.94 kB / 0.6338 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.238, allocations: 3.984 kB / 0.6338 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.2405, allocations: 1.732 MB / 0.6355 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2405, allocations: 0 / 0.6355 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.2408, allocations: 59.89 kB / 0.6356 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007246/0.2415, allocations: 271.3 kB / 0.6358 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.2416, allocations: 15.88 kB / 0.6358 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005863/0.2474, allocations: 6.583 MB / 0.6423 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/0.2475, allocations: 4.031 kB / 0.6423 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.249, allocations: 0.9834 MB / 0.6432 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.2493, allocations: 196.3 kB / 0.6434 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.2494, allocations: 15.98 kB / 0.6434 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.2497, allocations: 27.97 kB / 0.6435 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.2498, allocations: 47.88 kB / 0.6435 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.2499, allocations: 12 kB / 0.6435 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004989/0.2504, allocations: 395 kB / 0.6439 GB, free: 484 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2504, allocations: 0 / 0.6439 GB, free: 484 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008056/0.2512, allocations: 220 kB / 0.6441 GB, free: 264 kB / 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.0001637/0.2514, allocations: 119.2 kB / 0.6442 GB, free: 136 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.2532, allocations: 1.268 MB / 0.6455 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.2532, allocations: 128 / 0.6455 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.2544, allocations: 0.9009 MB / 0.6463 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.2556, allocations: 202 kB / 0.6465 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.2581, allocations: 1.701 MB / 0.6482 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.2588, allocations: 1.016 MB / 0.6492 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003992/0.2592, allocations: 126 kB / 0.6493 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2593, allocations: 47.38 kB / 0.6493 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.2593, allocations: 0 / 0.6493 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.01862/0.278, allocations: 10.61 MB / 0.6597 GB, free: 292 kB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: