Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.Conversion.Examples.ACACConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") [/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.1688/0.1709, allocations: 80.84 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004219/0.1751, allocations: 2.771 MB / 0.6733 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003172/0.1783, allocations: 2.116 MB / 0.6754 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1785, allocations: 4 kB / 0.6754 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008/0.1793, allocations: 231 kB / 0.6756 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.1798, allocations: 207.1 kB / 0.6758 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006724/0.1804, allocations: 283.2 kB / 0.6761 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.1808, allocations: 299.2 kB / 0.6764 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.1811, allocations: 158 kB / 0.6765 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1813, allocations: 127.5 kB / 0.6767 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.1816, allocations: 151.5 kB / 0.6768 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.1816, allocations: 20 kB / 0.6768 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005759/0.1822, allocations: 375.3 kB / 0.6772 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1823, allocations: 91.78 kB / 0.6773 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1825, allocations: 111.5 kB / 0.6774 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005924/0.1831, allocations: 454.7 kB / 0.6778 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1831, allocations: 3.938 kB / 0.6778 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1831, allocations: 4 kB / 0.6778 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.1831, allocations: 0 / 0.6778 GB, free: 10.64 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001054/0.1842, allocations: 0.5497 MB / 0.6783 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1842, allocations: 12.02 kB / 0.6784 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007669/0.185, allocations: 104.5 kB / 0.6785 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1854, allocations: 256.5 kB / 0.6787 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.1854, allocations: 24.3 kB / 0.6787 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.1855, allocations: 16 kB / 0.6787 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006425/0.1861, allocations: 384.8 kB / 0.6791 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1861, allocations: 0 / 0.6791 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.453e-05/0.1862, allocations: 8 kB / 0.6791 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/0.1862, allocations: 31.69 kB / 0.6791 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.1868, allocations: 351.7 kB / 0.6795 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.1887, allocations: 1.448 MB / 0.6809 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006316/0.1893, allocations: 340.8 kB / 0.6812 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.1896, allocations: 177.6 kB / 0.6814 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.1898, allocations: 97.08 kB / 0.6815 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1898, allocations: 42.5 kB / 0.6815 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.1899, allocations: 0 / 0.6815 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26): time 0.001267/0.1911, allocations: 0.559 MB / 0.6821 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.1912, allocations: 85.3 kB / 0.6821 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1914, allocations: 178.6 kB / 0.6823 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.1915, allocations: 29.7 kB / 0.6823 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1916, allocations: 144.1 kB / 0.6825 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.1916, allocations: 94.59 kB / 0.6826 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1918, allocations: 65.69 kB / 0.6826 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1919, allocations: 326.8 kB / 0.6829 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.1922, allocations: 164.6 kB / 0.6831 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.1925, allocations: 221.3 kB / 0.6833 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.1931, allocations: 408.9 kB / 0.6837 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1931, allocations: 0 / 0.6837 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007163/0.1938, allocations: 433.3 kB / 0.6841 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1939, allocations: 8.031 kB / 0.6841 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.1939, allocations: 11.92 kB / 0.6841 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.1939, allocations: 4 kB / 0.6841 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.1944, allocations: 91.86 kB / 0.6842 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1944, allocations: 7.938 kB / 0.6842 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1947, allocations: 35.81 kB / 0.6843 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.1947, allocations: 15.98 kB / 0.6843 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003674/0.1951, allocations: 252 kB / 0.6845 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003353/0.1954, allocations: 227.9 kB / 0.6847 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005958/0.196, allocations: 386.7 kB / 0.6851 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.196, allocations: 0 / 0.6851 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0006957/0.1967, allocations: 416.8 kB / 0.6855 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1967, allocations: 12.25 kB / 0.6855 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1968, allocations: 4 kB / 0.6855 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.613e-06/0.1968, allocations: 4 kB / 0.6855 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.1972, allocations: 91.88 kB / 0.6856 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.1972, allocations: 15.92 kB / 0.6856 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.1974, allocations: 31.88 kB / 0.6857 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.1975, allocations: 12 kB / 0.6857 GB, free: 2.105 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.1976, allocations: 200.1 kB / 0.6859 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.958e-05/0.1977, allocations: 27.78 kB / 0.6859 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008469/0.1986, allocations: 415.9 kB / 0.6863 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1986, allocations: 4 kB / 0.6863 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1986, allocations: 0 / 0.6863 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1986, allocations: 0 / 0.6863 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.2, allocations: 1.05 MB / 0.6873 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2, allocations: 4 kB / 0.6873 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.2004, allocations: 83.86 kB / 0.6874 GB, free: 224 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.2004, allocations: 0 / 0.6874 GB, free: 224 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.2004, allocations: 8 kB / 0.6874 GB, free: 216 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.2005, allocations: 4 kB / 0.6874 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2005, allocations: 0 / 0.6874 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/0.2012, allocations: 0.5769 MB / 0.688 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2013, allocations: 128.8 kB / 0.6881 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.2014, allocations: 7.938 kB / 0.6881 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.2016, allocations: 27.95 kB / 0.6881 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.2017, allocations: 23.92 kB / 0.6882 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.2018, allocations: 4 kB / 0.6882 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001495/0.2019, allocations: 159.5 kB / 0.6883 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.81e-07/0.2019, allocations: 0 / 0.6883 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005877/0.2025, allocations: 104 kB / 0.6884 GB, free: 15.14 MB / 0.5294 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 (27): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002024/0.2027, allocations: 115.2 kB / 0.6885 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.2038, allocations: 0.5511 MB / 0.6891 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.2038, allocations: 4 kB / 0.6891 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.2041, allocations: 177.5 kB / 0.6892 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.2046, allocations: 39.97 kB / 0.6893 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.2059, allocations: 0.6627 MB / 0.6899 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.2062, allocations: 0.7678 MB / 0.6907 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003065/0.2065, allocations: 126.1 kB / 0.6908 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.86e-05/0.2066, allocations: 27.44 kB / 0.6908 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of SimCode: time 4.5e-07/0.2066, allocations: 0 / 0.6908 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of Templates: time 0.006344/0.213, allocations: 3.176 MB / 0.6939 GB, free: 9.457 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)