Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.2056/0.2077, allocations: 80.84 MB / 0.6706 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004731/0.2125, allocations: 2.599 MB / 0.6732 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003227/0.2157, allocations: 1.516 MB / 0.6747 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.2159, allocations: 0 / 0.6747 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008854/0.2168, allocations: 175.3 kB / 0.6748 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.2173, allocations: 147.4 kB / 0.675 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.2177, allocations: 179.5 kB / 0.6751 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.2181, allocations: 215.1 kB / 0.6753 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.2184, allocations: 125 kB / 0.6755 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.2186, allocations: 87.67 kB / 0.6755 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.2189, allocations: 103.6 kB / 0.6756 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.219, allocations: 12 kB / 0.6757 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003667/0.2193, allocations: 187.6 kB / 0.6758 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.2195, allocations: 63.81 kB / 0.6759 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.2196, allocations: 79.55 kB / 0.676 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.22, allocations: 279 kB / 0.6762 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.2201, allocations: 4 kB / 0.6762 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2201, allocations: 0 / 0.6762 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.2201, allocations: 0 / 0.6762 GB, free: 12.41 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.0009229/0.221, allocations: 478.7 kB / 0.6767 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.2211, allocations: 12.03 kB / 0.6767 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005691/0.2216, allocations: 64.77 kB / 0.6768 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.222, allocations: 220.1 kB / 0.677 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.222, allocations: 16.64 kB / 0.677 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.2221, allocations: 20.36 kB / 0.677 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.2225, allocations: 278.6 kB / 0.6773 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.2225, allocations: 0 / 0.6773 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.2226, allocations: 15.98 kB / 0.6773 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-05/0.2226, allocations: 16.22 kB / 0.6773 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.2229, allocations: 205.4 kB / 0.6775 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.2246, allocations: 1.371 MB / 0.6788 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.225, allocations: 323.3 kB / 0.6792 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/0.2251, allocations: 61.67 kB / 0.6792 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.2251, allocations: 4.141 kB / 0.6792 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.2252, allocations: 38.56 kB / 0.6792 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.2252, allocations: 0 / 0.6792 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0005828/0.2258, allocations: 249.3 kB / 0.6795 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.2258, allocations: 85.05 kB / 0.6796 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.2261, allocations: 199.4 kB / 0.6798 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.2261, allocations: 29.7 kB / 0.6798 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.83e-05/0.2262, allocations: 152 kB / 0.6799 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.2262, allocations: 43.67 kB / 0.68 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.2263, allocations: 53.66 kB / 0.68 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2264, allocations: 331 kB / 0.6803 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.2265, allocations: 72.81 kB / 0.6804 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.2267, allocations: 159.6 kB / 0.6806 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.227, allocations: 238.9 kB / 0.6808 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.227, allocations: 4 kB / 0.6808 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003938/0.2274, allocations: 261.2 kB / 0.681 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2274, allocations: 4 kB / 0.681 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.2274, allocations: 4 kB / 0.6811 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2275, allocations: 4 kB / 0.6811 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.2277, allocations: 59.84 kB / 0.6811 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.2277, allocations: 8.062 kB / 0.6811 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.2279, allocations: 15.89 kB / 0.6811 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.2279, allocations: 20.31 kB / 0.6812 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001644/0.2281, allocations: 164.1 kB / 0.6813 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001425/0.2282, allocations: 147.9 kB / 0.6815 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002452/0.2285, allocations: 219.8 kB / 0.6817 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.2285, allocations: 0 / 0.6817 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003493/0.2288, allocations: 237.3 kB / 0.6819 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.2288, allocations: 8 kB / 0.6819 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.2289, allocations: 0 / 0.6819 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.177e-06/0.2289, allocations: 4 kB / 0.6819 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.229, allocations: 55.91 kB / 0.682 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.229, allocations: 11.88 kB / 0.682 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.2292, allocations: 15.88 kB / 0.682 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.2292, allocations: 12 kB / 0.682 GB, free: 5.984 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 0.0001163/0.2293, allocations: 192.6 kB / 0.6822 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.2294, allocations: 19.78 kB / 0.6822 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.2296, allocations: 143 kB / 0.6823 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2297, allocations: 7.938 kB / 0.6823 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2297, allocations: 48 / 0.6823 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2297, allocations: 3.984 kB / 0.6823 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009517/0.2306, allocations: 0.7276 MB / 0.6831 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.2306, allocations: 8 kB / 0.6831 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.2308, allocations: 28.27 kB / 0.6831 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.2308, allocations: 4 kB / 0.6831 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2308, allocations: 4 kB / 0.6831 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2308, allocations: 4 kB / 0.6831 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.2308, allocations: 7.938 kB / 0.6831 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.2312, allocations: 382.3 kB / 0.6835 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.2313, allocations: 105 kB / 0.6836 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.2314, allocations: 4 kB / 0.6836 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.2315, allocations: 15.98 kB / 0.6836 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.2316, allocations: 15.92 kB / 0.6836 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.2316, allocations: 7.938 kB / 0.6836 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001395/0.2317, allocations: 147.7 kB / 0.6838 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2317, allocations: 0 / 0.6838 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004917/0.2322, allocations: 68 kB / 0.6838 GB, free: 3.941 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.0001677/0.2324, allocations: 119.1 kB / 0.6839 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004167/0.2328, allocations: 268.9 kB / 0.6842 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2329, allocations: 0 / 0.6842 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-05/0.233, allocations: 64.27 kB / 0.6842 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.2334, allocations: 40.44 kB / 0.6843 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.2342, allocations: 418.8 kB / 0.6847 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.2346, allocations: 0.7363 MB / 0.6854 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.2348, allocations: 81.45 kB / 0.6855 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.2348, allocations: 15.44 kB / 0.6855 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2348, allocations: 0 / 0.6855 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of Templates: time 0.004788/0.2396, allocations: 1.785 MB / 0.6872 GB, free: 372 kB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)