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.2042/0.205, allocations: 82.22 MB / 0.5941 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006839/0.2119, allocations: 4.659 MB / 0.5987 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005425/0.2174, allocations: 3.305 MB / 0.6019 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.2179, allocations: 15.94 kB / 0.6019 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007552/0.2186, allocations: 159.4 kB / 0.6021 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.2198, allocations: 354.4 kB / 0.6024 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.2206, allocations: 243.5 kB / 0.6026 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.2217, allocations: 0.8491 MB / 0.6035 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.2231, allocations: 0.8368 MB / 0.6043 GB, free: 11.08 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.2235, allocations: 219.2 kB / 0.6045 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.2239, allocations: 275 kB / 0.6048 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.224, allocations: 16 kB / 0.6048 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006238/0.2246, allocations: 323.4 kB / 0.6051 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.2248, allocations: 135.6 kB / 0.6052 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.225, allocations: 224.6 kB / 0.6054 GB, free: 9.906 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008022/0.2258, allocations: 0.7904 MB / 0.6062 GB, free: 9.113 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2258, allocations: 0 / 0.6062 GB, free: 9.113 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2259, allocations: 0 / 0.6062 GB, free: 9.113 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2259, allocations: 0 / 0.6062 GB, free: 9.113 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.001332/0.2272, allocations: 0.7131 MB / 0.6069 GB, free: 8.352 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.2273, allocations: 12.03 kB / 0.6069 GB, free: 8.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002808/0.2301, allocations: 0.675 MB / 0.6076 GB, free: 7.664 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007979/0.2309, allocations: 447.9 kB / 0.608 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.231, allocations: 24.59 kB / 0.608 GB, free: 7.164 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.2311, allocations: 35.94 kB / 0.608 GB, free: 7.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.2329, allocations: 0.8255 MB / 0.6089 GB, free: 6.273 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.2329, allocations: 7.938 kB / 0.6089 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.946e-05/0.233, allocations: 12 kB / 0.6089 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/0.2332, allocations: 52.59 kB / 0.6089 GB, free: 6.203 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.2353, allocations: 0.9312 MB / 0.6098 GB, free: 5.273 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.2393, allocations: 2.414 MB / 0.6122 GB, free: 2.758 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.241, allocations: 0.5605 MB / 0.6127 GB, free: 2.188 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007476/0.2418, allocations: 312.6 kB / 0.613 GB, free: 1.879 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.2419, allocations: 89.09 kB / 0.6131 GB, free: 1.773 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.242, allocations: 34.56 kB / 0.6132 GB, free: 1.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 2.976e-06/0.242, allocations: 4 kB / 0.6132 GB, free: 1.727 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.01266/0.2546, allocations: 3.57 MB / 0.6166 GB, free: 14.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.2547, allocations: 55.41 kB / 0.6167 GB, free: 14.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/0.2552, allocations: 404.3 kB / 0.6171 GB, free: 13.63 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.2553, allocations: 29.7 kB / 0.6171 GB, free: 13.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.2555, allocations: 231.9 kB / 0.6173 GB, free: 13.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.2556, allocations: 110.5 kB / 0.6174 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/0.2557, allocations: 37.64 kB / 0.6175 GB, free: 13.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2558, allocations: 350.8 kB / 0.6178 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/0.2568, allocations: 391.7 kB / 0.6182 GB, free: 12.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009705/0.2578, allocations: 476.1 kB / 0.6186 GB, free: 11.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.2597, allocations: 0.8479 MB / 0.6195 GB, free: 11.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2597, allocations: 0 / 0.6195 GB, free: 11.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005392/0.2651, allocations: 1.689 MB / 0.6211 GB, free: 9.398 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.2652, allocations: 151.8 kB / 0.6213 GB, free: 9.219 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2653, allocations: 4 kB / 0.6213 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004158/0.2694, allocations: 0.9309 MB / 0.6222 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/0.2701, allocations: 127.8 kB / 0.6223 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008373/0.2785, allocations: 6.223 MB / 0.6284 GB, free: 1.531 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/0.2795, allocations: 111.8 kB / 0.6285 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.2795, allocations: 23.97 kB / 0.6285 GB, free: 1.398 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.2795, allocations: 4 kB / 0.6285 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005054/0.2846, allocations: 1.613 MB / 0.6301 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.2846, allocations: 3.984 kB / 0.6301 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003038/0.2877, allocations: 0.6822 MB / 0.6307 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/0.2884, allocations: 135.8 kB / 0.6309 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005905/0.2943, allocations: 5.337 MB / 0.6361 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007917/0.2951, allocations: 107.9 kB / 0.6362 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.2951, allocations: 16 kB / 0.6362 GB, free: 9.039 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004451/0.2956, allocations: 329.9 kB / 0.6365 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.2957, allocations: 39.66 kB / 0.6366 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005179/0.3009, allocations: 1.583 MB / 0.6381 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3009, allocations: 4 kB / 0.6381 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3009, allocations: 7.984 kB / 0.6381 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3009, allocations: 4 kB / 0.6381 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005951/0.3069, allocations: 2.263 MB / 0.6403 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3069, allocations: 0 / 0.6403 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.3074, allocations: 87.89 kB / 0.6404 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003697/0.3111, allocations: 0.8685 MB / 0.6413 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.3111, allocations: 11.92 kB / 0.6413 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007466/0.3186, allocations: 6.067 MB / 0.6472 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3187, allocations: 0 / 0.6472 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004801/0.3235, allocations: 1.588 MB / 0.6488 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.3238, allocations: 176.7 kB / 0.6489 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.3239, allocations: 11.94 kB / 0.6489 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005827/0.3245, allocations: 91.86 kB / 0.649 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.3246, allocations: 27.97 kB / 0.649 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.3247, allocations: 15.98 kB / 0.6491 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003501/0.325, allocations: 299.1 kB / 0.6493 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.325, allocations: 4 kB / 0.6493 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009231/0.326, allocations: 228 kB / 0.6496 GB, free: 10.79 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000182/0.3262, allocations: 115.2 kB / 0.6497 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004431/0.3306, allocations: 2.209 MB / 0.6518 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.3306, allocations: 0 / 0.6518 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.3322, allocations: 0.8167 MB / 0.6526 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008927/0.3331, allocations: 124.5 kB / 0.6527 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.3355, allocations: 1.388 MB / 0.6541 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.3361, allocations: 0.9336 MB / 0.655 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005742/0.3367, allocations: 171.3 kB / 0.6552 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.3368, allocations: 35.42 kB / 0.6552 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of SimCode: time 1.503e-06/0.3368, allocations: 0 / 0.6552 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of Templates: time 0.02199/0.3588, allocations: 13.59 MB / 0.6685 GB, free: 7.316 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: