Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [/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.1479/0.1488, allocations: 82.22 MB / 0.5934 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003701/0.1526, allocations: 3.134 MB / 0.5964 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.1554, allocations: 1.811 MB / 0.5982 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.1557, allocations: 15.88 kB / 0.5982 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.1559, allocations: 47.61 kB / 0.5983 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007217/0.1566, allocations: 263.2 kB / 0.5985 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.1571, allocations: 186.7 kB / 0.5987 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006647/0.1578, allocations: 388.8 kB / 0.5991 GB, free: 132 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007287/0.1585, allocations: 326.5 kB / 0.5994 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004004/0.1589, allocations: 195.2 kB / 0.5996 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004043/0.1593, allocations: 203.2 kB / 0.5998 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.1594, allocations: 20 kB / 0.5998 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.1597, allocations: 99.81 kB / 0.5999 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1598, allocations: 87.73 kB / 0.6 GB, free: 15.19 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1599, allocations: 97.45 kB / 0.6 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.1604, allocations: 399.2 kB / 0.6004 GB, free: 14.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1604, allocations: 0 / 0.6004 GB, free: 14.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1604, allocations: 0 / 0.6004 GB, free: 14.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.1604, allocations: 0 / 0.6004 GB, free: 14.7 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00116/0.1616, allocations: 0.6613 MB / 0.6011 GB, free: 13.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.1616, allocations: 8.031 kB / 0.6011 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007833/0.1624, allocations: 119.3 kB / 0.6012 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/0.163, allocations: 370.5 kB / 0.6016 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.163, allocations: 20.66 kB / 0.6016 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.1631, allocations: 31.98 kB / 0.6016 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008315/0.1639, allocations: 0.5374 MB / 0.6021 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.164, allocations: 7.938 kB / 0.6021 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.164, allocations: 12 kB / 0.6021 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.086e-05/0.1641, allocations: 44.53 kB / 0.6022 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.1647, allocations: 401.7 kB / 0.6026 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.1674, allocations: 3.021 MB / 0.6055 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.1681, allocations: 343.5 kB / 0.6058 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.1681, allocations: 11.98 kB / 0.6059 GB, free: 8.801 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1682, allocations: 34.56 kB / 0.6059 GB, free: 8.758 MB / 462.1 MB Notification: Performance of pre-optimization done (n=26): time 1.884e-06/0.1682, allocations: 0 / 0.6059 GB, free: 8.758 MB / 462.1 MB Notification: Performance of matching and sorting (n=27): time 0.002062/0.1703, allocations: 1.091 MB / 0.607 GB, free: 7.602 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1703, allocations: 55.64 kB / 0.607 GB, free: 7.535 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.1707, allocations: 333.6 kB / 0.6073 GB, free: 7.199 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.1707, allocations: 33.69 kB / 0.6074 GB, free: 7.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.1709, allocations: 239.6 kB / 0.6076 GB, free: 6.922 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.886e-05/0.1709, allocations: 98.58 kB / 0.6077 GB, free: 6.824 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.171, allocations: 8 kB / 0.6077 GB, free: 6.816 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1711, allocations: 350.8 kB / 0.608 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.1713, allocations: 156.8 kB / 0.6082 GB, free: 6.312 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.1717, allocations: 295.1 kB / 0.6085 GB, free: 5.965 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.172, allocations: 204.8 kB / 0.6087 GB, free: 5.766 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.172, allocations: 3.938 kB / 0.6087 GB, free: 5.762 MB / 462.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009135/0.1729, allocations: 0.5661 MB / 0.6092 GB, free: 5.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.173, allocations: 12.03 kB / 0.6092 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.173, allocations: 4 kB / 0.6092 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.1733, allocations: 94.39 kB / 0.6093 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.1737, allocations: 95.81 kB / 0.6094 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.1737, allocations: 7.938 kB / 0.6094 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.174, allocations: 39.97 kB / 0.6095 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.174, allocations: 12 kB / 0.6095 GB, free: 4.91 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.1742, allocations: 177.7 kB / 0.6096 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.1743, allocations: 39.53 kB / 0.6097 GB, free: 4.688 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008316/0.1751, allocations: 476 kB / 0.6101 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1751, allocations: 0 / 0.6101 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1751, allocations: 4 kB / 0.6101 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1751, allocations: 3.984 kB / 0.6101 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.1765, allocations: 0.9794 MB / 0.6111 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1765, allocations: 4 kB / 0.6111 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.1768, allocations: 52.02 kB / 0.6111 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/0.177, allocations: 90.44 kB / 0.6112 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.177, allocations: 4 kB / 0.6112 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.177, allocations: 4 kB / 0.6112 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.177, allocations: 0 / 0.6112 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008107/0.1779, allocations: 0.5874 MB / 0.6118 GB, free: 2.344 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.178, allocations: 140.6 kB / 0.6119 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.1781, allocations: 7.984 kB / 0.6119 GB, free: 2.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.1783, allocations: 23.97 kB / 0.612 GB, free: 2.156 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.1784, allocations: 23.97 kB / 0.612 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1784, allocations: 8 kB / 0.612 GB, free: 2.125 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002186/0.1786, allocations: 235.2 kB / 0.6122 GB, free: 1.898 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1786, allocations: 3.938 kB / 0.6122 GB, free: 1.895 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003875/0.179, allocations: 84 kB / 0.6123 GB, free: 1.812 MB / 462.1 MB 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001151/0.1792, allocations: 99.25 kB / 0.6124 GB, free: 1.707 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008582/0.18, allocations: 0.6472 MB / 0.613 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.18, allocations: 128 / 0.613 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.1805, allocations: 449.6 kB / 0.6135 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.1811, allocations: 118.9 kB / 0.6136 GB, free: 388 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1822, allocations: 0.8613 MB / 0.6144 GB, free: 15.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.1825, allocations: 0.8395 MB / 0.6152 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002453/0.1828, allocations: 87.33 kB / 0.6153 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.1829, allocations: 27.44 kB / 0.6154 GB, free: 14.5 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1829, allocations: 3.938 kB / 0.6154 GB, free: 14.49 MB / 478.1 MB Notification: Performance of Templates: time 0.007851/0.1907, allocations: 4.292 MB / 0.6195 GB, free: 10.29 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) Environment - environmentSimulation: