Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [/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.1392/0.1413, allocations: 80.84 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003544/0.1449, allocations: 2.404 MB / 0.673 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.147, allocations: 1.512 MB / 0.6745 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.719e-05/0.1471, allocations: 4 kB / 0.6745 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.1477, allocations: 186.9 kB / 0.6746 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.148, allocations: 143.4 kB / 0.6748 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.1483, allocations: 179.5 kB / 0.6749 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.1486, allocations: 219.1 kB / 0.6752 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.1488, allocations: 113 kB / 0.6753 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.149, allocations: 91.61 kB / 0.6754 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.1492, allocations: 103.7 kB / 0.6754 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.1492, allocations: 12 kB / 0.6755 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.1494, allocations: 179.6 kB / 0.6756 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.1495, allocations: 71.8 kB / 0.6757 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.57e-05/0.1496, allocations: 75.59 kB / 0.6758 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1499, allocations: 279.1 kB / 0.676 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1499, allocations: 0 / 0.676 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1499, allocations: 4 kB / 0.676 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.15, allocations: 0 / 0.676 GB, free: 12.45 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006001/0.1506, allocations: 463.2 kB / 0.6765 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.1506, allocations: 11.97 kB / 0.6765 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005092/0.1511, allocations: 64.67 kB / 0.6766 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1514, allocations: 232 kB / 0.6768 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1514, allocations: 12.66 kB / 0.6768 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.1514, allocations: 16.36 kB / 0.6768 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.1518, allocations: 270.7 kB / 0.6771 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1518, allocations: 3.938 kB / 0.6771 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.1519, allocations: 8 kB / 0.6771 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.1519, allocations: 20.22 kB / 0.6771 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.1522, allocations: 205.4 kB / 0.6773 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.1536, allocations: 1.379 MB / 0.6786 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.154, allocations: 315.3 kB / 0.6789 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.9e-05/0.1541, allocations: 65.8 kB / 0.679 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.1541, allocations: 4.156 kB / 0.679 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1541, allocations: 42.5 kB / 0.679 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1541, allocations: 0 / 0.679 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004913/0.1546, allocations: 245 kB / 0.6793 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1547, allocations: 85.05 kB / 0.6794 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1548, allocations: 199.4 kB / 0.6796 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1549, allocations: 29.7 kB / 0.6796 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.1549, allocations: 147.7 kB / 0.6797 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.155, allocations: 51.56 kB / 0.6798 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.155, allocations: 49.61 kB / 0.6798 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.1551, allocations: 322.8 kB / 0.6801 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1553, allocations: 76.81 kB / 0.6802 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1554, allocations: 159.6 kB / 0.6803 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.1557, allocations: 234.9 kB / 0.6806 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1557, allocations: 3.938 kB / 0.6806 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003456/0.156, allocations: 261.2 kB / 0.6808 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1561, allocations: 8.781 kB / 0.6808 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1561, allocations: 4 kB / 0.6808 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1561, allocations: 4 kB / 0.6808 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.1563, allocations: 52.22 kB / 0.6809 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1563, allocations: 16.05 kB / 0.6809 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.1565, allocations: 15.98 kB / 0.6809 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1565, allocations: 8 kB / 0.6809 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001448/0.1566, allocations: 168 kB / 0.6811 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001271/0.1568, allocations: 151.9 kB / 0.6812 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002104/0.157, allocations: 219.7 kB / 0.6814 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.157, allocations: 0 / 0.6814 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003005/0.1573, allocations: 241.2 kB / 0.6817 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.1573, allocations: 11.94 kB / 0.6817 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1573, allocations: 7.938 kB / 0.6817 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.962e-06/0.1573, allocations: 7.984 kB / 0.6817 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1575, allocations: 40.39 kB / 0.6817 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1575, allocations: 19.86 kB / 0.6818 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1576, allocations: 12 kB / 0.6818 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1577, allocations: 8 kB / 0.6818 GB, free: 6.047 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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 9.918e-05/0.1578, allocations: 200.1 kB / 0.682 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.1578, allocations: 19.8 kB / 0.682 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.158, allocations: 139 kB / 0.6821 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1581, allocations: 3.938 kB / 0.6821 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1581, allocations: 0 / 0.6821 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1581, allocations: 48 / 0.6821 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008276/0.1589, allocations: 0.7393 MB / 0.6828 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1589, allocations: 3.938 kB / 0.6829 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.372e-05/0.159, allocations: 23.98 kB / 0.6829 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.159, allocations: 4 kB / 0.6829 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.159, allocations: 8 kB / 0.6829 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.159, allocations: 7.938 kB / 0.6829 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1591, allocations: 0 / 0.6829 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1593, allocations: 386.3 kB / 0.6833 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.1594, allocations: 101 kB / 0.6834 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.1594, allocations: 8 kB / 0.6834 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.1596, allocations: 11.98 kB / 0.6834 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.1596, allocations: 15.92 kB / 0.6834 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.1596, allocations: 7.938 kB / 0.6834 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001041/0.1598, allocations: 147.7 kB / 0.6835 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1598, allocations: 4 kB / 0.6835 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004456/0.1602, allocations: 68 kB / 0.6836 GB, free: 4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0001255/0.1603, allocations: 107.2 kB / 0.6837 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.1607, allocations: 276.8 kB / 0.684 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1607, allocations: 0 / 0.684 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.784e-05/0.1608, allocations: 63.83 kB / 0.684 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.1613, allocations: 34.69 kB / 0.6841 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.1619, allocations: 415.5 kB / 0.6845 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1622, allocations: 0.7479 MB / 0.6852 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001648/0.1623, allocations: 77.45 kB / 0.6853 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.1624, allocations: 15.44 kB / 0.6853 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1624, allocations: 3.938 kB / 0.6853 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of Templates: time 0.003887/0.1663, allocations: 1.784 MB / 0.687 GB, free: 428 kB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)