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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [/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.171/0.1739, allocations: 80.84 MB / 0.5899 GB, free: 6.957 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01528/0.1892, allocations: 13.64 MB / 0.6032 GB, free: 9.262 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01472/0.204, allocations: 9.537 MB / 0.6125 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.2061, allocations: 55.62 kB / 0.6126 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004822/0.211, allocations: 1.56 MB / 0.6141 GB, free: 14.08 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006748/0.2178, allocations: 1.442 MB / 0.6155 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.2206, allocations: 0.6896 MB / 0.6162 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004637/0.2252, allocations: 2.466 MB / 0.6186 GB, free: 9.477 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003588/0.2288, allocations: 1.578 MB / 0.6201 GB, free: 7.867 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002499/0.2314, allocations: 1.055 MB / 0.6212 GB, free: 6.809 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.2338, allocations: 1.187 MB / 0.6223 GB, free: 5.617 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000833/0.2347, allocations: 163.9 kB / 0.6225 GB, free: 5.457 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.237, allocations: 0.7838 MB / 0.6232 GB, free: 4.672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.2383, allocations: 0.5998 MB / 0.6238 GB, free: 4.07 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002563/0.2409, allocations: 0.9212 MB / 0.6247 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005199/0.2461, allocations: 2.73 MB / 0.6274 GB, free: 416 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2462, allocations: 4 kB / 0.6274 GB, free: 412 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2462, allocations: 0 / 0.6274 GB, free: 412 kB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001045/0.2463, allocations: 0 / 0.6274 GB, free: 412 kB / 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.005855/0.2522, allocations: 2.11 MB / 0.6295 GB, free: 14.24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.2522, allocations: 12.03 kB / 0.6295 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.2642, allocations: 2.081 MB / 0.6315 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004268/0.2685, allocations: 1.193 MB / 0.6327 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.611e-05/0.2686, allocations: 86.22 kB / 0.6327 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004263/0.2691, allocations: 119.9 kB / 0.6329 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006383/0.2755, allocations: 2.657 MB / 0.6355 GB, free: 7.879 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.722e-05/0.2756, allocations: 11.94 kB / 0.6355 GB, free: 7.867 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.2758, allocations: 51.92 kB / 0.6355 GB, free: 7.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006508/0.2764, allocations: 178.1 kB / 0.6357 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007697/0.2841, allocations: 2.775 MB / 0.6384 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/0.3012, allocations: 8.85 MB / 0.647 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007246/0.3085, allocations: 2.54 MB / 0.6495 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003344/0.3119, allocations: 1.28 MB / 0.6508 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.312, allocations: 13 kB / 0.6508 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.3121, allocations: 43.56 kB / 0.6508 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=89): time 2.815e-06/0.3121, allocations: 0 / 0.6508 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131): time 0.04636/0.3585, allocations: 13.41 MB / 0.6639 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.3586, allocations: 68.66 kB / 0.664 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.3605, allocations: 1.113 MB / 0.6651 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003736/0.3609, allocations: 45.7 kB / 0.6651 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006488/0.3616, allocations: 0.7 MB / 0.6658 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000725/0.3623, allocations: 461.4 kB / 0.6662 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006651/0.363, allocations: 255.4 kB / 0.6665 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3632, allocations: 369.8 kB / 0.6668 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003418/0.3666, allocations: 1.339 MB / 0.6681 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003895/0.3705, allocations: 1.6 MB / 0.6697 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00757/0.3782, allocations: 2.998 MB / 0.6726 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.3782, allocations: 0 / 0.6726 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01206/0.3903, allocations: 4.45 MB / 0.677 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.3903, allocations: 8 kB / 0.677 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.3904, allocations: 8 kB / 0.677 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005218/0.3956, allocations: 1.434 MB / 0.6784 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.3978, allocations: 447.2 kB / 0.6788 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3892/0.787, allocations: 26.69 MB / 0.7049 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/0.7896, allocations: 305.9 kB / 0.7052 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.7898, allocations: 63.41 kB / 0.7052 GB, free: 103.6 MB / 0.545 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008098/0.7906, allocations: 437.8 kB / 0.7057 GB, free: 103.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.791, allocations: 159.7 kB / 0.7058 GB, free: 103.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/0.8014, allocations: 4.461 MB / 0.7102 GB, free: 103.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.8014, allocations: 15.16 kB / 0.7102 GB, free: 103.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-05/0.8015, allocations: 16.19 kB / 0.7102 GB, free: 103.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.25e-05/0.8015, allocations: 6.281 kB / 0.7102 GB, free: 103.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/0.8158, allocations: 6.765 MB / 0.7168 GB, free: 102.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.8159, allocations: 2.875 kB / 0.7168 GB, free: 102.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.8174, allocations: 376.8 kB / 0.7172 GB, free: 102.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004408/0.8219, allocations: 1.319 MB / 0.7185 GB, free: 102.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/0.8221, allocations: 36.91 kB / 0.7185 GB, free: 102.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02048/0.8426, allocations: 25.52 MB / 0.7434 GB, free: 81.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.8426, allocations: 3.219 kB / 0.7434 GB, free: 81.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009727/0.8524, allocations: 4.21 MB / 0.7475 GB, free: 79.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.8537, allocations: 460.6 kB / 0.748 GB, free: 79.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003979/0.8541, allocations: 27.89 kB / 0.748 GB, free: 79.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00268/0.8568, allocations: 304.8 kB / 0.7483 GB, free: 79.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000586/0.8574, allocations: 123.9 kB / 0.7484 GB, free: 78.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/0.8576, allocations: 54.88 kB / 0.7485 GB, free: 78.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001226/0.8588, allocations: 0.7554 MB / 0.7492 GB, free: 78.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8588, allocations: 0 / 0.7492 GB, free: 78.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002871/0.8617, allocations: 0.5594 MB / 0.7497 GB, free: 78.48 MB / 0.545 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003952/0.8621, allocations: 140.6 kB / 0.7499 GB, free: 78.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01343/0.8755, allocations: 5.538 MB / 0.7553 GB, free: 74.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/0.8756, allocations: 0 / 0.7553 GB, free: 74.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008404/0.884, allocations: 3.49 MB / 0.7587 GB, free: 72.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003652/0.8877, allocations: 0.5472 MB / 0.7592 GB, free: 72.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.899, allocations: 4.695 MB / 0.7638 GB, free: 67.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.9002, allocations: 1.47 MB / 0.7652 GB, free: 65.94 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002805/0.903, allocations: 425.5 kB / 0.7657 GB, free: 65.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006147/0.9037, allocations: 115.4 kB / 0.7658 GB, free: 65.42 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/0.9037, allocations: 4 kB / 0.7658 GB, free: 65.41 MB / 0.545 GB Notification: Performance of Templates: time 0.05674/0.9604, allocations: 39.16 MB / 0.804 GB, free: 26.76 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)