Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [/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.1402/0.1421, allocations: 80.85 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006759/0.1489, allocations: 5.918 MB / 0.6764 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004314/0.1533, allocations: 3.375 MB / 0.6797 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.1535, allocations: 35.75 kB / 0.6798 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.1555, allocations: 0.9137 MB / 0.6806 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008074/0.1563, allocations: 0.5014 MB / 0.6811 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008092/0.1571, allocations: 481.9 kB / 0.6816 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000854/0.158, allocations: 1.053 MB / 0.6826 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007173/0.1587, allocations: 0.631 MB / 0.6832 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.1591, allocations: 426.4 kB / 0.6836 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.1596, allocations: 486.2 kB / 0.6841 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.1597, allocations: 52 kB / 0.6842 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005792/0.1603, allocations: 487 kB / 0.6846 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.1605, allocations: 279.2 kB / 0.6849 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002878/0.1608, allocations: 374 kB / 0.6852 GB, free: 3 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009556/0.1618, allocations: 1.141 MB / 0.6864 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1618, allocations: 0 / 0.6864 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1618, allocations: 0 / 0.6864 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.1618, allocations: 0 / 0.6864 GB, free: 1.855 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001328/0.1632, allocations: 1.025 MB / 0.6874 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.1632, allocations: 8.031 kB / 0.6874 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.1646, allocations: 219.6 kB / 0.6876 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.1654, allocations: 0.5729 MB / 0.6881 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.1654, allocations: 45.59 kB / 0.6882 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.1655, allocations: 64.22 kB / 0.6882 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.1667, allocations: 1.01 MB / 0.6892 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.1667, allocations: 11.92 kB / 0.6892 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.1668, allocations: 27.98 kB / 0.6893 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.369e-05/0.1669, allocations: 61.28 kB / 0.6893 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008864/0.1678, allocations: 0.6801 MB / 0.69 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003832/0.1716, allocations: 4.671 MB / 0.6945 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000738/0.1724, allocations: 0.6024 MB / 0.6951 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007234/0.1731, allocations: 436.5 kB / 0.6956 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.1731, allocations: 8 kB / 0.6956 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1732, allocations: 34.56 kB / 0.6956 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=41): time 1.803e-06/0.1732, allocations: 4 kB / 0.6956 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.003716/0.1769, allocations: 2.003 MB / 0.6976 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.1769, allocations: 59.34 kB / 0.6976 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.1773, allocations: 458.7 kB / 0.698 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.1774, allocations: 33.7 kB / 0.6981 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.1776, allocations: 375.2 kB / 0.6984 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.1777, allocations: 145.9 kB / 0.6986 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.1779, allocations: 114.2 kB / 0.6987 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.178, allocations: 370.7 kB / 0.699 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.1783, allocations: 245.2 kB / 0.6993 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.1788, allocations: 456.9 kB / 0.6997 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008051/0.1796, allocations: 0.7481 MB / 0.7004 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.1796, allocations: 11.94 kB / 0.7005 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001585/0.1812, allocations: 1.043 MB / 0.7015 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1812, allocations: 12.81 kB / 0.7015 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.1812, allocations: 8 kB / 0.7015 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008975/0.1821, allocations: 319.1 kB / 0.7018 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.1824, allocations: 99.81 kB / 0.7019 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/0.1886, allocations: 7.458 MB / 0.7092 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.1889, allocations: 36.02 kB / 0.7092 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.189, allocations: 24 kB / 0.7092 GB, free: 9.062 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002557/0.1892, allocations: 249.5 kB / 0.7095 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.1893, allocations: 55.62 kB / 0.7095 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.1908, allocations: 0.9002 MB / 0.7104 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1908, allocations: 4 kB / 0.7104 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1909, allocations: 7.938 kB / 0.7104 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1909, allocations: 0 / 0.7104 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.1932, allocations: 1.673 MB / 0.712 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1932, allocations: 3.938 kB / 0.712 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.1933, allocations: 47.89 kB / 0.7121 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008238/0.1942, allocations: 315.5 kB / 0.7124 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.1942, allocations: 8 kB / 0.7124 GB, free: 5.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006348/0.2006, allocations: 7.447 MB / 0.7197 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2006, allocations: 0 / 0.7197 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.2021, allocations: 0.9917 MB / 0.7206 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.2023, allocations: 172.3 kB / 0.7208 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.2024, allocations: 12 kB / 0.7208 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.2026, allocations: 20.25 kB / 0.7208 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/0.2027, allocations: 43.89 kB / 0.7209 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.2028, allocations: 15.98 kB / 0.7209 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002984/0.2031, allocations: 310.8 kB / 0.7212 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2031, allocations: 0 / 0.7212 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006356/0.2037, allocations: 188 kB / 0.7214 GB, free: 11.87 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001247/0.2039, allocations: 119.1 kB / 0.7215 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.2055, allocations: 1.203 MB / 0.7227 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2055, allocations: 0 / 0.7227 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.2066, allocations: 0.8552 MB / 0.7235 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000933/0.2076, allocations: 212.6 kB / 0.7237 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.2093, allocations: 1.219 MB / 0.7249 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.2099, allocations: 0.9843 MB / 0.7258 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002251/0.2101, allocations: 105.2 kB / 0.7259 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.02e-05/0.2102, allocations: 39.44 kB / 0.726 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.2102, allocations: 0 / 0.726 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of Templates: time 0.01376/0.2239, allocations: 9.93 MB / 0.7357 GB, free: 13.12 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)