Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.138/0.1399, allocations: 80.84 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004377/0.1443, allocations: 2.709 MB / 0.6733 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00316/0.1475, allocations: 2.112 MB / 0.6753 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.1476, allocations: 4 kB / 0.6753 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.1484, allocations: 223.1 kB / 0.6756 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.1489, allocations: 211.1 kB / 0.6758 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.1494, allocations: 283.2 kB / 0.676 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.1498, allocations: 299.2 kB / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.1501, allocations: 158 kB / 0.6765 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.1503, allocations: 127.5 kB / 0.6766 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.1507, allocations: 163.4 kB / 0.6767 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.1507, allocations: 24 kB / 0.6768 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005272/0.1512, allocations: 379.3 kB / 0.6771 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1514, allocations: 91.77 kB / 0.6772 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1515, allocations: 107.5 kB / 0.6773 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.1521, allocations: 462.7 kB / 0.6778 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1521, allocations: 0 / 0.6778 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1521, allocations: 4 kB / 0.6778 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.1521, allocations: 0 / 0.6778 GB, free: 10.67 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.00102/0.1531, allocations: 0.5536 MB / 0.6783 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1532, allocations: 8.031 kB / 0.6783 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007516/0.1539, allocations: 100.5 kB / 0.6784 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.1543, allocations: 260.5 kB / 0.6787 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.1543, allocations: 16.31 kB / 0.6787 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.1544, allocations: 19.98 kB / 0.6787 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000625/0.155, allocations: 380.8 kB / 0.6791 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.155, allocations: 3.938 kB / 0.6791 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.1551, allocations: 11.98 kB / 0.6791 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/0.1551, allocations: 27.77 kB / 0.6791 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.1558, allocations: 359.7 kB / 0.6794 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.1576, allocations: 1.567 MB / 0.681 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.1583, allocations: 351 kB / 0.6813 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.1586, allocations: 185.6 kB / 0.6815 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.1588, allocations: 85.09 kB / 0.6816 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.1588, allocations: 42.5 kB / 0.6816 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.1588, allocations: 0 / 0.6816 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.00711/0.166, allocations: 1.914 MB / 0.6835 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.166, allocations: 81.11 kB / 0.6835 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1662, allocations: 186.6 kB / 0.6837 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.1663, allocations: 29.7 kB / 0.6838 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.711e-05/0.1664, allocations: 148.4 kB / 0.6839 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.241e-05/0.1665, allocations: 118.3 kB / 0.684 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.1666, allocations: 77.59 kB / 0.6841 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1668, allocations: 338.8 kB / 0.6844 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.1672, allocations: 256.7 kB / 0.6846 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.1677, allocations: 337.5 kB / 0.685 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/0.1686, allocations: 0.5956 MB / 0.6856 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1687, allocations: 0 / 0.6856 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00108/0.1697, allocations: 0.6426 MB / 0.6862 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1698, allocations: 4 kB / 0.6862 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1698, allocations: 7.938 kB / 0.6862 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1698, allocations: 7.938 kB / 0.6862 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.1707, allocations: 152 kB / 0.6863 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.1707, allocations: 11.97 kB / 0.6864 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.1711, allocations: 47.98 kB / 0.6864 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.1711, allocations: 19.97 kB / 0.6864 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005154/0.1716, allocations: 363.9 kB / 0.6868 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004502/0.1721, allocations: 321.9 kB / 0.6871 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008775/0.173, allocations: 0.5863 MB / 0.6876 GB, free: 64 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.173, allocations: 3.938 kB / 0.6876 GB, free: 60 kB / 0.5137 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001044/0.174, allocations: 0.6144 MB / 0.6882 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.1741, allocations: 4 kB / 0.6883 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1741, allocations: 4 kB / 0.6883 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/0.1741, allocations: 4 kB / 0.6883 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007695/0.1749, allocations: 143.8 kB / 0.6884 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1749, allocations: 7.938 kB / 0.6884 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.1752, allocations: 47.92 kB / 0.6885 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.1753, allocations: 16 kB / 0.6885 GB, free: 15.21 MB / 0.5294 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 (44): * Single equations (assignments): 44 * 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.0001419/0.1754, allocations: 204.2 kB / 0.6887 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.637e-05/0.1755, allocations: 23.72 kB / 0.6887 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.1767, allocations: 0.653 MB / 0.6893 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1767, allocations: 4 kB / 0.6893 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1767, allocations: 0 / 0.6893 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1768, allocations: 11.92 kB / 0.6893 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.1788, allocations: 1.371 MB / 0.6907 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.1788, allocations: 8 kB / 0.6907 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.1793, allocations: 120.1 kB / 0.6908 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1794, allocations: 4 kB / 0.6908 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.1794, allocations: 11.94 kB / 0.6908 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1794, allocations: 7.984 kB / 0.6908 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.1794, allocations: 3.938 kB / 0.6908 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.1803, allocations: 0.7153 MB / 0.6915 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.1805, allocations: 140.8 kB / 0.6917 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.1805, allocations: 11.94 kB / 0.6917 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.1808, allocations: 43.89 kB / 0.6917 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.1809, allocations: 27.95 kB / 0.6917 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.181, allocations: 11.94 kB / 0.6917 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001101/0.1811, allocations: 148.3 kB / 0.6919 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1811, allocations: 4 kB / 0.6919 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005642/0.1816, allocations: 140 kB / 0.692 GB, free: 11.39 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (37): * Single equations (assignments): 37 * 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.0001939/0.1818, allocations: 132.5 kB / 0.6922 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.1833, allocations: 0.856 MB / 0.693 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1833, allocations: 0 / 0.693 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004213/0.1837, allocations: 261.1 kB / 0.6932 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.1842, allocations: 47.97 kB / 0.6933 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.1856, allocations: 0.7796 MB / 0.694 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.186, allocations: 0.7838 MB / 0.6948 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004373/0.1864, allocations: 174.8 kB / 0.695 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.1866, allocations: 31.44 kB / 0.695 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1866, allocations: 0 / 0.695 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of Templates: time 0.007713/0.1943, allocations: 4.924 MB / 0.6998 GB, free: 3.355 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)