Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.1469/0.1489, allocations: 80.83 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005461/0.1544, allocations: 4.317 MB / 0.6748 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004235/0.1587, allocations: 3.269 MB / 0.678 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.1589, allocations: 11.94 kB / 0.678 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.1603, allocations: 0.513 MB / 0.6785 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007274/0.161, allocations: 393.9 kB / 0.6789 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.1615, allocations: 247.4 kB / 0.6792 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005894/0.1621, allocations: 0.5801 MB / 0.6797 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000608/0.1627, allocations: 0.5131 MB / 0.6802 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.1631, allocations: 287 kB / 0.6805 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.1635, allocations: 275 kB / 0.6808 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.1635, allocations: 36 kB / 0.6808 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.164, allocations: 287.5 kB / 0.6811 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.1641, allocations: 163.5 kB / 0.6812 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.1644, allocations: 222.9 kB / 0.6814 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007249/0.1651, allocations: 0.7673 MB / 0.6822 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1651, allocations: 0 / 0.6822 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1651, allocations: 4 kB / 0.6822 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.1651, allocations: 0 / 0.6822 GB, free: 6.121 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001182/0.1663, allocations: 0.7636 MB / 0.6829 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1663, allocations: 12.03 kB / 0.683 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.1689, allocations: 0.6594 MB / 0.6836 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006985/0.1696, allocations: 447.8 kB / 0.684 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.1696, allocations: 24.59 kB / 0.684 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.1697, allocations: 28 kB / 0.6841 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.1712, allocations: 0.7708 MB / 0.6848 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.1712, allocations: 0 / 0.6848 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.797e-05/0.1712, allocations: 12 kB / 0.6848 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.1714, allocations: 52.59 kB / 0.6849 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.1732, allocations: 0.8453 MB / 0.6857 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.1767, allocations: 2.402 MB / 0.6881 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.1782, allocations: 0.5019 MB / 0.6885 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.1789, allocations: 256.6 kB / 0.6888 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.09e-05/0.179, allocations: 81.11 kB / 0.6889 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.179, allocations: 30.56 kB / 0.6889 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=16): time 1.674e-06/0.179, allocations: 0 / 0.6889 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24): time 0.01034/0.1894, allocations: 2.944 MB / 0.6918 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.1894, allocations: 51.41 kB / 0.6918 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.1899, allocations: 409.6 kB / 0.6922 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.1899, allocations: 29.7 kB / 0.6922 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.1901, allocations: 231.9 kB / 0.6925 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/0.1902, allocations: 86.75 kB / 0.6925 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.1903, allocations: 73.67 kB / 0.6926 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1905, allocations: 338.8 kB / 0.6929 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008505/0.1913, allocations: 360.3 kB / 0.6933 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008776/0.1922, allocations: 420.4 kB / 0.6937 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.1939, allocations: 0.7435 MB / 0.6944 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1939, allocations: 3.938 kB / 0.6944 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004597/0.1985, allocations: 1.479 MB / 0.6959 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1985, allocations: 4 kB / 0.6959 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1986, allocations: 4 kB / 0.6959 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.2018, allocations: 0.7664 MB / 0.6966 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/0.2024, allocations: 127.8 kB / 0.6967 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006114/0.2085, allocations: 4.843 MB / 0.7015 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/0.2092, allocations: 107.9 kB / 0.7016 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.2093, allocations: 11.98 kB / 0.7016 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001058/0.2104, allocations: 0.5232 MB / 0.7021 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008624/0.2112, allocations: 416.5 kB / 0.7025 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001674/0.2129, allocations: 0.7296 MB / 0.7032 GB, free: 15.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.2129, allocations: 0 / 0.7032 GB, free: 15.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.003848/0.2168, allocations: 1.247 MB / 0.7044 GB, free: 14.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2168, allocations: 8 kB / 0.7044 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.2168, allocations: 0 / 0.7044 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/0.2189, allocations: 0.5002 MB / 0.7049 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/0.2195, allocations: 127.8 kB / 0.705 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/0.2228, allocations: 2.608 MB / 0.7076 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006705/0.2235, allocations: 103.8 kB / 0.7077 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.2235, allocations: 16 kB / 0.7077 GB, free: 11.05 MB / 0.545 GB 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.2237, allocations: 200.1 kB / 0.7079 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.157e-05/0.2238, allocations: 35.69 kB / 0.7079 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/0.228, allocations: 1.357 MB / 0.7092 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.228, allocations: 0 / 0.7092 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.228, allocations: 4 kB / 0.7093 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.228, allocations: 0 / 0.7093 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004911/0.2329, allocations: 2.014 MB / 0.7112 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.233, allocations: 4 kB / 0.7112 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.2333, allocations: 79.84 kB / 0.7113 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.2362, allocations: 0.7039 MB / 0.712 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.2362, allocations: 11.94 kB / 0.712 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005398/0.2416, allocations: 4.678 MB / 0.7166 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2416, allocations: 4.031 kB / 0.7166 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00394/0.2456, allocations: 1.361 MB / 0.7179 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.2458, allocations: 156.7 kB / 0.718 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.2459, allocations: 8 kB / 0.7181 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005404/0.2464, allocations: 83.84 kB / 0.7181 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.2465, allocations: 27.97 kB / 0.7182 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.2466, allocations: 8 kB / 0.7182 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003159/0.2469, allocations: 299.1 kB / 0.7185 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2469, allocations: 0 / 0.7185 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007636/0.2477, allocations: 204 kB / 0.7186 GB, free: 15.4 MB / 0.5606 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000169/0.2478, allocations: 107.1 kB / 0.7188 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003324/0.2512, allocations: 1.543 MB / 0.7203 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2512, allocations: 0 / 0.7203 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.2523, allocations: 0.6223 MB / 0.7209 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.253, allocations: 139.3 kB / 0.721 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.2549, allocations: 1.063 MB / 0.722 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.2553, allocations: 0.9249 MB / 0.7229 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004202/0.2558, allocations: 159.2 kB / 0.7231 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.2559, allocations: 31.42 kB / 0.7231 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.2559, allocations: 3.938 kB / 0.7231 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.01582/0.2717, allocations: 12.23 MB / 0.7351 GB, free: 14.5 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)