Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [/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.1445/0.1466, allocations: 80.84 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004617/0.1513, allocations: 3.218 MB / 0.6738 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003241/0.1545, allocations: 1.952 MB / 0.6757 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.1548, allocations: 7.938 kB / 0.6757 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009844/0.1558, allocations: 294.8 kB / 0.676 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00057/0.1564, allocations: 243 kB / 0.6762 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007159/0.1572, allocations: 282.5 kB / 0.6765 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005112/0.1577, allocations: 406.6 kB / 0.6769 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.158, allocations: 208.2 kB / 0.6771 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.1583, allocations: 159.4 kB / 0.6772 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004262/0.1587, allocations: 199.3 kB / 0.6774 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.1588, allocations: 24 kB / 0.6774 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/0.1593, allocations: 231.5 kB / 0.6776 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.1594, allocations: 119.7 kB / 0.6778 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.1596, allocations: 143.3 kB / 0.6779 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005356/0.1602, allocations: 466.6 kB / 0.6783 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1602, allocations: 7.938 kB / 0.6783 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.494e-06/0.1602, allocations: 0 / 0.6783 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.1602, allocations: 3.938 kB / 0.6783 GB, free: 10.08 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001048/0.1612, allocations: 0.577 MB / 0.6789 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1613, allocations: 8.031 kB / 0.6789 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007315/0.162, allocations: 100.5 kB / 0.679 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1624, allocations: 277.4 kB / 0.6793 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1624, allocations: 16.92 kB / 0.6793 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.1625, allocations: 36.64 kB / 0.6793 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.1631, allocations: 448.3 kB / 0.6798 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1632, allocations: 7.922 kB / 0.6798 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.1632, allocations: 12 kB / 0.6798 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.1633, allocations: 36.41 kB / 0.6798 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.1638, allocations: 349.4 kB / 0.6801 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.1659, allocations: 1.827 MB / 0.6819 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.1663, allocations: 266.4 kB / 0.6822 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.1665, allocations: 164.8 kB / 0.6823 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1665, allocations: 4 kB / 0.6823 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.1666, allocations: 34.56 kB / 0.6824 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.1666, allocations: 0 / 0.6824 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.001659/0.1682, allocations: 1.063 MB / 0.6834 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.1683, allocations: 55.41 kB / 0.6835 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.1685, allocations: 252.8 kB / 0.6837 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1685, allocations: 29.7 kB / 0.6837 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1687, allocations: 191.9 kB / 0.6839 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.1687, allocations: 82.81 kB / 0.684 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.1688, allocations: 69.69 kB / 0.6841 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.169, allocations: 338.8 kB / 0.6844 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.1692, allocations: 155.9 kB / 0.6845 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.1695, allocations: 233.6 kB / 0.6848 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.17, allocations: 402.9 kB / 0.6851 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.17, allocations: 0 / 0.6851 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001017/0.171, allocations: 0.6003 MB / 0.6857 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.171, allocations: 8.781 kB / 0.6857 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.171, allocations: 0 / 0.6857 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/0.1717, allocations: 188.7 kB / 0.6859 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.172, allocations: 59.89 kB / 0.686 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.1747, allocations: 2.496 MB / 0.6884 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.175, allocations: 19.98 kB / 0.6884 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.175, allocations: 15.94 kB / 0.6884 GB, free: 15.14 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.1752, allocations: 177.7 kB / 0.6886 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.1752, allocations: 23.66 kB / 0.6886 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.1758, allocations: 359.5 kB / 0.689 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1758, allocations: 4 kB / 0.689 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1758, allocations: 8.172 kB / 0.689 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1758, allocations: 3.938 kB / 0.689 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.1767, allocations: 0.8141 MB / 0.6898 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1767, allocations: 0 / 0.6898 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.1771, allocations: 79.88 kB / 0.6899 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1771, allocations: 0 / 0.6899 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.1772, allocations: 8 kB / 0.6899 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1772, allocations: 0 / 0.6899 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1772, allocations: 8.062 kB / 0.6899 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.1779, allocations: 0.6115 MB / 0.6905 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1781, allocations: 128.8 kB / 0.6906 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.1781, allocations: 11.98 kB / 0.6906 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.1783, allocations: 7.984 kB / 0.6906 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.1784, allocations: 19.98 kB / 0.6906 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.1784, allocations: 11.94 kB / 0.6907 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001621/0.1786, allocations: 180.5 kB / 0.6908 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1786, allocations: 4 kB / 0.6908 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003858/0.179, allocations: 80 kB / 0.6909 GB, free: 12.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.0001499/0.1791, allocations: 107.2 kB / 0.691 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008314/0.18, allocations: 0.5451 MB / 0.6915 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.18, allocations: 0 / 0.6915 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.1802, allocations: 151.8 kB / 0.6917 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.1806, allocations: 63.28 kB / 0.6917 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.182, allocations: 0.8404 MB / 0.6926 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1823, allocations: 0.7951 MB / 0.6933 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.1825, allocations: 82.91 kB / 0.6934 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.391e-05/0.1826, allocations: 19.44 kB / 0.6934 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.1826, allocations: 0 / 0.6934 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of Templates: time 0.007234/0.1898, allocations: 4.063 MB / 0.6974 GB, free: 5.789 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)