Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8345/0.8345, allocations: 132.4 MB / 139.9 MB, free: 2.84 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001037/0.001037, allocations: 172.6 kB / 171.8 MB, free: 4.949 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.629/1.629, allocations: 170.6 MB / 374.2 MB, free: 176 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001735/0.001735, allocations: 111.3 kB / 444.8 MB, free: 14.16 MB / 314.7 MB [/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.1685/0.1686, allocations: 73.41 MB / 0.6666 GB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6245/0.7932, allocations: 154.2 MB / 0.8172 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/0.7936, allocations: 99.94 kB / 0.8173 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1553/0.9489, allocations: 62.54 MB / 0.8784 GB, free: 9.875 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.503e-06/0.949, allocations: 0 / 0.8784 GB, free: 9.875 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001335/0.9491, allocations: 40 kB / 0.8784 GB, free: 9.836 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004561/0.9537, allocations: 1.55 MB / 0.88 GB, free: 8.234 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.9537, allocations: 8.031 kB / 0.88 GB, free: 8.227 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/0.957, allocations: 493.5 kB / 0.8804 GB, free: 7.742 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003064/0.9601, allocations: 1.142 MB / 0.8816 GB, free: 6.555 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.443e-05/0.9602, allocations: 55.94 kB / 0.8816 GB, free: 6.5 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00061/0.9608, allocations: 88 kB / 0.8817 GB, free: 6.414 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004372/0.9652, allocations: 1.755 MB / 0.8834 GB, free: 4.656 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005612/0.9708, allocations: 2.194 MB / 0.8855 GB, free: 2.398 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.19e-05/0.9709, allocations: 3.984 kB / 0.8855 GB, free: 2.395 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003487/0.9713, allocations: 7.938 kB / 0.8856 GB, free: 2.387 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001831/0.9715, allocations: 90.97 kB / 0.8856 GB, free: 2.297 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.9843, allocations: 7.834 MB / 0.8933 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008986/0.9852, allocations: 0.5492 MB / 0.8938 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.9858, allocations: 368.5 kB / 0.8942 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.986, allocations: 93.08 kB / 0.8943 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.986, allocations: 42.56 kB / 0.8943 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=36): time 2.405e-06/0.986, allocations: 0 / 0.8943 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of matching and sorting (n=52): time 0.008434/0.9945, allocations: 3.16 MB / 0.8974 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.9945, allocations: 81.55 kB / 0.8975 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.9958, allocations: 0.7218 MB / 0.8982 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.16e-05/0.9959, allocations: 25.7 kB / 0.8982 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/0.9965, allocations: 0.7576 MB / 0.8989 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.9966, allocations: 169.6 kB / 0.8991 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.9967, allocations: 4 kB / 0.8991 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.9969, allocations: 386.8 kB / 0.8995 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000767/0.9977, allocations: 0.5765 MB / 0.9 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.9987, allocations: 0.9534 MB / 0.901 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/1, allocations: 0.8334 MB / 0.9018 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/1, allocations: 4 kB / 0.9018 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.3726/1.373, allocations: 2.584 MB / 0.9043 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001272/1.374, allocations: 4.529 MB / 0.9087 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.965e-05/1.374, allocations: 11.62 kB / 0.9087 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004799/1.379, allocations: 1.09 MB / 0.9098 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/1.38, allocations: 220.2 kB / 0.91 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009722/1.39, allocations: 6.529 MB / 0.9164 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/1.391, allocations: 145.2 kB / 0.9165 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/1.391, allocations: 47.73 kB / 0.9166 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.391, allocations: 3.844 kB / 0.9166 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002461/1.394, allocations: 1.279 MB / 0.9178 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/1.394, allocations: 11.69 kB / 0.9178 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/1.394, allocations: 21.98 kB / 0.9179 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/1.395, allocations: 286.7 kB / 0.9181 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/1.395, allocations: 26.64 kB / 0.9182 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008547/1.396, allocations: 102.7 kB / 0.9183 GB, free: 152.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.003e-05/1.396, allocations: 44.3 kB / 0.9183 GB, free: 152.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002599/1.396, allocations: 144 kB / 0.9184 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/1.396, allocations: 71.38 kB / 0.9185 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006288/1.403, allocations: 2.282 MB / 0.9207 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/1.403, allocations: 5.219 kB / 0.9207 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/1.403, allocations: 3.172 kB / 0.9207 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/1.403, allocations: 6.266 kB / 0.9208 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009544/1.412, allocations: 3.801 MB / 0.9245 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.412, allocations: 1.984 kB / 0.9245 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/1.413, allocations: 98.16 kB / 0.9246 GB, free: 151.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004826/1.418, allocations: 1.353 MB / 0.9259 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/1.418, allocations: 3.719 kB / 0.9259 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/1.428, allocations: 9.108 MB / 0.9348 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/1.428, allocations: 6.156 kB / 0.9348 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005877/1.434, allocations: 2.334 MB / 0.9371 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006463/1.435, allocations: 282.7 kB / 0.9373 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.435, allocations: 3.469 kB / 0.9373 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009638/1.436, allocations: 160.6 kB / 0.9375 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/1.436, allocations: 44.78 kB / 0.9375 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/1.436, allocations: 17.62 kB / 0.9376 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0008901/1.437, allocations: 0.5571 MB / 0.9381 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.437, allocations: 3.844 kB / 0.9381 GB, free: 146.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002595/1.44, allocations: 0.5264 MB / 0.9386 GB, free: 146.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003901/1.44, allocations: 164.7 kB / 0.9388 GB, free: 146.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004335/1.444, allocations: 2.364 MB / 0.9411 GB, free: 146 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.444, allocations: 0 / 0.9411 GB, free: 146 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/1.447, allocations: 1.191 MB / 0.9422 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/1.448, allocations: 186 kB / 0.9424 GB, free: 145.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00522/1.453, allocations: 2.416 MB / 0.9448 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/1.455, allocations: 1.644 MB / 0.9464 GB, free: 143.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001728/1.456, allocations: 0.6005 MB / 0.947 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/1.457, allocations: 53.17 kB / 0.947 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.533e-06/1.457, allocations: 0 / 0.947 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.02834/1.485, allocations: 19 MB / 0.9656 GB, free: 142.9 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)