Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") [/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.1796/0.1804, allocations: 82.21 MB / 0.5935 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.005245/0.1857, allocations: 4.45 MB / 0.5978 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004504/0.1903, allocations: 3.119 MB / 0.6009 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.1906, allocations: 11.94 kB / 0.6009 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005627/0.1912, allocations: 147.4 kB / 0.601 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009225/0.1921, allocations: 314.5 kB / 0.6013 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.1928, allocations: 187.6 kB / 0.6015 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008829/0.1936, allocations: 0.7008 MB / 0.6022 GB, free: 13 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.1949, allocations: 0.7274 MB / 0.6029 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.1953, allocations: 227.2 kB / 0.6031 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.1958, allocations: 267.1 kB / 0.6034 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.1958, allocations: 16 kB / 0.6034 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.1962, allocations: 179.8 kB / 0.6036 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.1964, allocations: 135.6 kB / 0.6037 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.79e-05/0.1965, allocations: 105.5 kB / 0.6038 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.1971, allocations: 0.6352 MB / 0.6044 GB, free: 10.69 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1971, allocations: 0 / 0.6044 GB, free: 10.69 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1972, allocations: 4 kB / 0.6044 GB, free: 10.69 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1972, allocations: 0 / 0.6044 GB, free: 10.69 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00129/0.1985, allocations: 0.709 MB / 0.6051 GB, free: 9.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1985, allocations: 8.031 kB / 0.6051 GB, free: 9.922 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.2011, allocations: 0.678 MB / 0.6058 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007341/0.2019, allocations: 450.6 kB / 0.6062 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.2019, allocations: 28.66 kB / 0.6062 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.202, allocations: 31.94 kB / 0.6063 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.2036, allocations: 0.8177 MB / 0.6071 GB, free: 7.855 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.2036, allocations: 0 / 0.6071 GB, free: 7.855 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.2037, allocations: 15.98 kB / 0.6071 GB, free: 7.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/0.2039, allocations: 56.59 kB / 0.6071 GB, free: 7.785 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.2059, allocations: 0.935 MB / 0.608 GB, free: 6.852 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.2096, allocations: 2.415 MB / 0.6104 GB, free: 4.336 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.2111, allocations: 0.5571 MB / 0.6109 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/0.2118, allocations: 309 kB / 0.6112 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.2119, allocations: 89.28 kB / 0.6113 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2119, allocations: 38.75 kB / 0.6114 GB, free: 3.312 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/0.2119, allocations: 0 / 0.6114 GB, free: 3.312 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.01196/0.2239, allocations: 3.571 MB / 0.6148 GB, free: 15.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.224, allocations: 59.39 kB / 0.6149 GB, free: 15.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.2245, allocations: 396.4 kB / 0.6153 GB, free: 15.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.2245, allocations: 29.7 kB / 0.6153 GB, free: 15.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.2247, allocations: 231.9 kB / 0.6155 GB, free: 14.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.2248, allocations: 110.4 kB / 0.6156 GB, free: 14.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.2248, allocations: 8 kB / 0.6156 GB, free: 14.83 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.225, allocations: 346.8 kB / 0.616 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008855/0.2259, allocations: 391.7 kB / 0.6163 GB, free: 14.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.2269, allocations: 480.1 kB / 0.6168 GB, free: 13.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008928/0.2278, allocations: 419.7 kB / 0.6172 GB, free: 13.19 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2278, allocations: 0 / 0.6172 GB, free: 13.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005155/0.233, allocations: 1.69 MB / 0.6189 GB, free: 11.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.2331, allocations: 151.9 kB / 0.619 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2331, allocations: 4 kB / 0.619 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003983/0.2371, allocations: 0.9191 MB / 0.6199 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.2378, allocations: 135.8 kB / 0.62 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008244/0.2461, allocations: 6.215 MB / 0.6261 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008091/0.2469, allocations: 111.9 kB / 0.6262 GB, free: 3.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.247, allocations: 15.98 kB / 0.6262 GB, free: 3.504 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.247, allocations: 4 kB / 0.6262 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004554/0.2515, allocations: 1.609 MB / 0.6278 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2516, allocations: 11.88 kB / 0.6278 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/0.2544, allocations: 0.6824 MB / 0.6285 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.255, allocations: 139.8 kB / 0.6286 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006124/0.2611, allocations: 5.337 MB / 0.6338 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/0.262, allocations: 107.9 kB / 0.6339 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/0.2621, allocations: 19.98 kB / 0.6339 GB, free: 11.14 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005094/0.2626, allocations: 320.9 kB / 0.6342 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.2627, allocations: 43.56 kB / 0.6343 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00487/0.2676, allocations: 1.575 MB / 0.6358 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.2676, allocations: 4 kB / 0.6358 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.2676, allocations: 7.953 kB / 0.6358 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.2677, allocations: 7.984 kB / 0.6358 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005737/0.2734, allocations: 2.252 MB / 0.638 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2734, allocations: 0 / 0.638 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.2738, allocations: 87.92 kB / 0.6381 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003761/0.2776, allocations: 0.8646 MB / 0.639 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.2777, allocations: 15.94 kB / 0.639 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007582/0.2853, allocations: 6.055 MB / 0.6449 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.2853, allocations: 4.031 kB / 0.6449 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/0.2899, allocations: 1.577 MB / 0.6464 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003227/0.2903, allocations: 180.5 kB / 0.6466 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.823e-05/0.2904, allocations: 15.98 kB / 0.6466 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.291, allocations: 87.83 kB / 0.6467 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.2911, allocations: 35.95 kB / 0.6467 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.2912, allocations: 11.98 kB / 0.6468 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004363/0.2916, allocations: 303.1 kB / 0.647 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2916, allocations: 0 / 0.647 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001098/0.2927, allocations: 228 kB / 0.6473 GB, free: 12.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002053/0.293, allocations: 111.1 kB / 0.6474 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004589/0.2976, allocations: 2.209 MB / 0.6495 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2976, allocations: 0 / 0.6495 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.2991, allocations: 0.8167 MB / 0.6503 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007094/0.2999, allocations: 117.4 kB / 0.6504 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.3023, allocations: 1.361 MB / 0.6518 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.3029, allocations: 0.9258 MB / 0.6527 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005927/0.3035, allocations: 175.1 kB / 0.6528 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3036, allocations: 35.42 kB / 0.6529 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of SimCode: time 1.573e-06/0.3036, allocations: 4 kB / 0.6529 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.02166/0.3253, allocations: 13.32 MB / 0.6659 GB, free: 9.734 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: