Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.2034/0.2042, allocations: 82.22 MB / 0.5941 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01941/0.2236, allocations: 15.86 MB / 0.6096 GB, free: 5.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.2363, allocations: 6.532 MB / 0.616 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.2381, allocations: 43.88 kB / 0.616 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.2392, allocations: 309.7 kB / 0.6163 GB, free: 14.76 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.2417, allocations: 0.837 MB / 0.6171 GB, free: 13.92 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.2448, allocations: 1.075 MB / 0.6182 GB, free: 12.85 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007075/0.2519, allocations: 5.712 MB / 0.6238 GB, free: 7.129 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009994/0.262, allocations: 6.137 MB / 0.6298 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.2645, allocations: 1.109 MB / 0.6308 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003345/0.2678, allocations: 1.744 MB / 0.6325 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009326/0.2688, allocations: 160 kB / 0.6327 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.2714, allocations: 0.7409 MB / 0.6334 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001973/0.2734, allocations: 1.189 MB / 0.6346 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001703/0.2751, allocations: 1.211 MB / 0.6358 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005822/0.281, allocations: 5.202 MB / 0.6408 GB, free: 5.512 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.281, allocations: 0 / 0.6408 GB, free: 5.512 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.281, allocations: 0 / 0.6408 GB, free: 5.512 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001425/0.2812, allocations: 7.938 kB / 0.6409 GB, free: 5.504 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 683 * Number of variables: 683 Notification: Performance of Generate backend data structure: time 0.006719/0.2879, allocations: 2.188 MB / 0.643 GB, free: 3.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.288, allocations: 8.031 kB / 0.643 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00438/0.2924, allocations: 0.7823 MB / 0.6438 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004228/0.2966, allocations: 1.403 MB / 0.6451 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/0.297, allocations: 189.5 kB / 0.6453 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001488/0.2985, allocations: 244.4 kB / 0.6455 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.3103, allocations: 4.567 MB / 0.65 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.972e-05/0.3105, allocations: 11.92 kB / 0.65 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/0.3108, allocations: 116 kB / 0.6501 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002597/0.3111, allocations: 176.2 kB / 0.6503 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00788/0.319, allocations: 3.819 MB / 0.654 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02532/0.3444, allocations: 15.85 MB / 0.6695 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/0.3472, allocations: 2.271 MB / 0.6717 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.3484, allocations: 0.7158 MB / 0.6724 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.3484, allocations: 15.98 kB / 0.6724 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.3485, allocations: 46.5 kB / 0.6725 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 3.287e-06/0.3485, allocations: 0 / 0.6725 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.00713/0.3556, allocations: 4.204 MB / 0.6766 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.3558, allocations: 247.5 kB / 0.6768 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.3576, allocations: 1.104 MB / 0.6779 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.3577, allocations: 41.7 kB / 0.6779 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008276/0.3586, allocations: 1.172 MB / 0.6791 GB, free: 13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.3589, allocations: 256.6 kB / 0.6793 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.3591, allocations: 125.7 kB / 0.6795 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3593, allocations: 341.9 kB / 0.6798 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.3604, allocations: 0.7143 MB / 0.6805 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.3621, allocations: 1.411 MB / 0.6819 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/0.3652, allocations: 2.187 MB / 0.684 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.569e-05/0.3653, allocations: 8 kB / 0.684 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00419/0.3695, allocations: 2.195 MB / 0.6861 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009311/0.3705, allocations: 0.7945 MB / 0.6869 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.771e-05/0.3705, allocations: 24 kB / 0.6869 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.168e-05/0.3706, allocations: 36 kB / 0.687 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.3723, allocations: 435.2 kB / 0.6874 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.384e-05/0.3723, allocations: 47.8 kB / 0.6874 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.3739, allocations: 191.7 kB / 0.6876 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.3741, allocations: 83.98 kB / 0.6877 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3741, allocations: 7.938 kB / 0.6877 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002984/0.3771, allocations: 1.875 MB / 0.6895 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.36e-05/0.3772, allocations: 27.98 kB / 0.6896 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.022e-05/0.3772, allocations: 32 kB / 0.6896 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.3785, allocations: 395.2 kB / 0.69 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.492e-05/0.3786, allocations: 47.84 kB / 0.69 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.3798, allocations: 135.4 kB / 0.6901 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.38, allocations: 83.98 kB / 0.6902 GB, free: 0.5703 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.4555/0.8354, allocations: 1.128 MB / 0.6913 GB, free: 88.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005936/0.836, allocations: 100.4 kB / 0.6914 GB, free: 88.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.8384, allocations: 1.099 MB / 0.6925 GB, free: 88.28 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.8384, allocations: 9.688 kB / 0.6925 GB, free: 88.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.8385, allocations: 5.062 kB / 0.6925 GB, free: 88.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.8385, allocations: 6.5 kB / 0.6925 GB, free: 88.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/0.8538, allocations: 10.23 MB / 0.7025 GB, free: 86.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/0.8539, allocations: 18.38 kB / 0.7025 GB, free: 86.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/0.8546, allocations: 192 kB / 0.7027 GB, free: 86.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.17e-05/0.8546, allocations: 21.03 kB / 0.7027 GB, free: 86.65 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.8547, allocations: 34.91 kB / 0.7028 GB, free: 86.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.497e-05/0.8547, allocations: 27.02 kB / 0.7028 GB, free: 86.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.922e-05/0.8547, allocations: 25.84 kB / 0.7028 GB, free: 86.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.8572, allocations: 2.175 MB / 0.7049 GB, free: 85.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008818/0.8581, allocations: 342 kB / 0.7053 GB, free: 84.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/0.8585, allocations: 31.23 kB / 0.7053 GB, free: 84.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.8599, allocations: 96.12 kB / 0.7054 GB, free: 84.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.8601, allocations: 100.7 kB / 0.7055 GB, free: 84.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.8602, allocations: 38.45 kB / 0.7055 GB, free: 84.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001591/0.8618, allocations: 0.7706 MB / 0.7063 GB, free: 84.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8618, allocations: 0.625 kB / 0.7063 GB, free: 84.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00453/0.8664, allocations: 0.6934 MB / 0.7069 GB, free: 84.48 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0004039/0.8668, allocations: 157.8 kB / 0.7071 GB, free: 84.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005059/0.8719, allocations: 2.5 MB / 0.7095 GB, free: 83.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-05/0.8719, allocations: 3.25 kB / 0.7095 GB, free: 83.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.873, allocations: 0.5848 MB / 0.7101 GB, free: 83.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005752/0.8788, allocations: 247 kB / 0.7104 GB, free: 83.26 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.8892, allocations: 5.521 MB / 0.7157 GB, free: 79.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003301/0.8925, allocations: 2.016 MB / 0.7177 GB, free: 78.86 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002864/0.8954, allocations: 0.8954 MB / 0.7186 GB, free: 78.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/0.8959, allocations: 91.78 kB / 0.7187 GB, free: 78.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.713e-06/0.8959, allocations: 0 / 0.7187 GB, free: 78.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.02683/0.9228, allocations: 13.55 MB / 0.7319 GB, free: 69.87 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: