Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [/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.1745/0.1752, allocations: 82.21 MB / 0.5935 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01382/0.189, allocations: 13.02 MB / 0.6062 GB, free: 8.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.2025, allocations: 9.833 MB / 0.6158 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.2039, allocations: 51.62 kB / 0.6159 GB, free: 15 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008201/0.2048, allocations: 281.8 kB / 0.6161 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005686/0.2105, allocations: 1.481 MB / 0.6176 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.2123, allocations: 0.5106 MB / 0.6181 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004112/0.2164, allocations: 2.855 MB / 0.6209 GB, free: 9.879 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003751/0.2202, allocations: 1.786 MB / 0.6226 GB, free: 8.047 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.2229, allocations: 1.281 MB / 0.6238 GB, free: 6.762 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.2253, allocations: 1.051 MB / 0.6249 GB, free: 5.707 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.2255, allocations: 71.94 kB / 0.6249 GB, free: 5.637 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.2269, allocations: 435.4 kB / 0.6254 GB, free: 5.211 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000598/0.2275, allocations: 494.3 kB / 0.6258 GB, free: 4.727 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000511/0.228, allocations: 344.8 kB / 0.6262 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.2305, allocations: 2.084 MB / 0.6282 GB, free: 2.293 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.2306, allocations: 0 / 0.6282 GB, free: 2.293 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2306, allocations: 4 kB / 0.6282 GB, free: 2.289 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.467e-05/0.2306, allocations: 0 / 0.6282 GB, free: 2.289 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.003285/0.2339, allocations: 1.835 MB / 0.63 GB, free: 408 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2339, allocations: 12.03 kB / 0.63 GB, free: 396 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.2443, allocations: 2.178 MB / 0.6321 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.2468, allocations: 1.147 MB / 0.6332 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.12e-05/0.2469, allocations: 82.23 kB / 0.6333 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/0.2472, allocations: 119.9 kB / 0.6334 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005413/0.2526, allocations: 2.657 MB / 0.636 GB, free: 9.996 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/0.2526, allocations: 15.84 kB / 0.6361 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.2528, allocations: 55.97 kB / 0.6361 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005473/0.2534, allocations: 190 kB / 0.6363 GB, free: 9.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006824/0.2602, allocations: 2.814 MB / 0.639 GB, free: 6.914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.2734, allocations: 8.892 MB / 0.6477 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005795/0.2793, allocations: 2.387 MB / 0.65 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002875/0.2822, allocations: 1.3 MB / 0.6513 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.745e-05/0.2823, allocations: 16.88 kB / 0.6513 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.2823, allocations: 51.52 kB / 0.6514 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=89): time 2.825e-06/0.2823, allocations: 0 / 0.6514 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=153): time 0.05046/0.3328, allocations: 16.45 MB / 0.6675 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3329, allocations: 68.66 kB / 0.6675 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.3343, allocations: 1.168 MB / 0.6687 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.3345, allocations: 49.7 kB / 0.6687 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005396/0.335, allocations: 0.7281 MB / 0.6694 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/0.3355, allocations: 0.5159 MB / 0.6699 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.3356, allocations: 28 kB / 0.6699 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3358, allocations: 365.9 kB / 0.6703 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003123/0.3389, allocations: 1.53 MB / 0.6718 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003222/0.3422, allocations: 1.799 MB / 0.6735 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003231/0.3454, allocations: 1.654 MB / 0.6752 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3454, allocations: 0 / 0.6752 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01254/0.358, allocations: 5.297 MB / 0.6803 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.358, allocations: 8 kB / 0.6803 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.3581, allocations: 12.09 kB / 0.6804 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006342/0.3644, allocations: 1.904 MB / 0.6822 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.3663, allocations: 419.3 kB / 0.6826 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4129/0.7792, allocations: 22.19 MB / 0.7043 GB, free: 84.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.782, allocations: 323.5 kB / 0.7046 GB, free: 84.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.7822, allocations: 67.92 kB / 0.7047 GB, free: 84.89 MB / 0.5294 GB 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(6,80.6%) 14,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008796/0.7831, allocations: 460.5 kB / 0.7051 GB, free: 84.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.7834, allocations: 174.9 kB / 0.7053 GB, free: 84.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.7963, allocations: 5.35 MB / 0.7105 GB, free: 83.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-05/0.7964, allocations: 15 kB / 0.7105 GB, free: 83.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.15e-05/0.7964, allocations: 18.97 kB / 0.7105 GB, free: 83.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.7965, allocations: 7.547 kB / 0.7105 GB, free: 83.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/0.8132, allocations: 7.45 MB / 0.7178 GB, free: 80.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.8133, allocations: 3.656 kB / 0.7178 GB, free: 80.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.8148, allocations: 363.9 kB / 0.7181 GB, free: 80.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005521/0.8203, allocations: 1.702 MB / 0.7198 GB, free: 80.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/0.8205, allocations: 45.53 kB / 0.7199 GB, free: 80.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02233/0.8429, allocations: 21.35 MB / 0.7407 GB, free: 63.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.8429, allocations: 5.5 kB / 0.7407 GB, free: 63.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/0.8532, allocations: 4.919 MB / 0.7455 GB, free: 60.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009877/0.8542, allocations: 0.4893 MB / 0.746 GB, free: 59.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.8545, allocations: 28 kB / 0.746 GB, free: 59.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.8562, allocations: 331.5 kB / 0.7463 GB, free: 59.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004758/0.8567, allocations: 149.6 kB / 0.7465 GB, free: 59.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.8568, allocations: 63.95 kB / 0.7465 GB, free: 58.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009581/0.8578, allocations: 0.7743 MB / 0.7473 GB, free: 58.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8578, allocations: 0 / 0.7473 GB, free: 58.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002436/0.8603, allocations: 0.6406 MB / 0.7479 GB, free: 57.54 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002688/0.8605, allocations: 140 kB / 0.7481 GB, free: 57.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009369/0.8699, allocations: 5.217 MB / 0.7531 GB, free: 52.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/0.87, allocations: 4 kB / 0.7531 GB, free: 52.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006187/0.8762, allocations: 3.378 MB / 0.7564 GB, free: 48.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/0.879, allocations: 0.5155 MB / 0.757 GB, free: 48.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007554/0.8866, allocations: 4.928 MB / 0.7618 GB, free: 43.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.8878, allocations: 1.564 MB / 0.7633 GB, free: 41.56 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001585/0.8894, allocations: 392.2 kB / 0.7637 GB, free: 41.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.8897, allocations: 107.4 kB / 0.7638 GB, free: 41.07 MB / 0.5294 GB Notification: Performance of SimCode: time 2.154e-06/0.8897, allocations: 0 / 0.7638 GB, free: 41.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.05704/0.9468, allocations: 41.42 MB / 0.8042 GB, free: 116 kB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) Environment - environmentSimulation: