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.2136/0.2156, allocations: 80.84 MB / 0.5897 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02055/0.2362, allocations: 16.43 MB / 0.6057 GB, free: 6.594 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.2505, allocations: 6.614 MB / 0.6122 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002406/0.2531, allocations: 39.88 kB / 0.6122 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003792/0.2569, allocations: 1.194 MB / 0.6134 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003498/0.2604, allocations: 0.8487 MB / 0.6142 GB, free: 13.88 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004627/0.2651, allocations: 1.414 MB / 0.6156 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007099/0.2722, allocations: 5.708 MB / 0.6212 GB, free: 6.742 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008418/0.2806, allocations: 5.603 MB / 0.6267 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.2834, allocations: 1.347 MB / 0.628 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.2867, allocations: 2.057 MB / 0.63 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005587/0.2872, allocations: 260 kB / 0.6302 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.2893, allocations: 0.8385 MB / 0.631 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.291, allocations: 1.337 MB / 0.6324 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002023/0.293, allocations: 1.369 MB / 0.6337 GB, free: 9.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00623/0.2992, allocations: 5.395 MB / 0.639 GB, free: 4.434 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.2993, allocations: 0 / 0.639 GB, free: 4.434 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.155e-06/0.2993, allocations: 0 / 0.639 GB, free: 4.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001692/0.2995, allocations: 0 / 0.639 GB, free: 4.434 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.007495/0.307, allocations: 2.71 MB / 0.6416 GB, free: 1.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.269e-05/0.3071, allocations: 8.031 kB / 0.6416 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/0.3111, allocations: 0.751 MB / 0.6423 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/0.3143, allocations: 1.407 MB / 0.6437 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.3145, allocations: 193.5 kB / 0.6439 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005603/0.315, allocations: 248.4 kB / 0.6441 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009612/0.3246, allocations: 4.559 MB / 0.6486 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.828e-05/0.3248, allocations: 15.84 kB / 0.6486 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003273/0.3251, allocations: 116 kB / 0.6487 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002376/0.3254, allocations: 176.2 kB / 0.6489 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007253/0.3326, allocations: 3.818 MB / 0.6526 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02226/0.3549, allocations: 15.84 MB / 0.6681 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/0.3577, allocations: 2.264 MB / 0.6703 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.3589, allocations: 0.726 MB / 0.671 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.211e-05/0.359, allocations: 12 kB / 0.671 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.359, allocations: 46.5 kB / 0.6711 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 5.901e-06/0.359, allocations: 0 / 0.6711 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.006562/0.3656, allocations: 4.212 MB / 0.6752 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.3658, allocations: 239.3 kB / 0.6754 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.3678, allocations: 1.108 MB / 0.6765 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.249e-05/0.3679, allocations: 41.7 kB / 0.6765 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009755/0.3689, allocations: 1.176 MB / 0.6777 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.3692, allocations: 252.6 kB / 0.6779 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006581/0.3698, allocations: 331 kB / 0.6782 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.3701, allocations: 354.1 kB / 0.6786 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.3711, allocations: 0.7152 MB / 0.6793 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.3727, allocations: 1.411 MB / 0.6806 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/0.3753, allocations: 2.19 MB / 0.6828 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.3754, allocations: 8 kB / 0.6828 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003484/0.3789, allocations: 2.195 MB / 0.6849 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.3789, allocations: 19.94 kB / 0.6849 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/0.379, allocations: 24 kB / 0.685 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.902e-05/0.379, allocations: 35.94 kB / 0.685 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.3806, allocations: 431.2 kB / 0.6854 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.896e-05/0.3806, allocations: 43.86 kB / 0.6855 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.382, allocations: 199.6 kB / 0.6856 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.3822, allocations: 83.92 kB / 0.6857 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002722/0.3849, allocations: 1.554 MB / 0.6872 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001368/0.3863, allocations: 1.337 MB / 0.6886 GB, free: 15.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002413/0.3887, allocations: 2.003 MB / 0.6905 GB, free: 12.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.428e-05/0.3888, allocations: 12 kB / 0.6905 GB, free: 12.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003265/0.392, allocations: 1.991 MB / 0.6925 GB, free: 10.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.3921, allocations: 16 kB / 0.6925 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/0.3922, allocations: 24 kB / 0.6925 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.593e-05/0.3922, allocations: 36.78 kB / 0.6925 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.3935, allocations: 391.3 kB / 0.6929 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-05/0.3936, allocations: 59.73 kB / 0.693 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.3948, allocations: 151.4 kB / 0.6931 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.3949, allocations: 87.98 kB / 0.6932 GB, free: 10.15 MB / 0.545 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.000484/0.3954, allocations: 292.2 kB / 0.6935 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.3957, allocations: 102.8 kB / 0.6936 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.3973, allocations: 1.1 MB / 0.6946 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.3974, allocations: 11.94 kB / 0.6947 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.3974, allocations: 4 kB / 0.6947 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3974, allocations: 7.969 kB / 0.6947 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4822/0.8796, allocations: 10.24 MB / 0.7047 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.8797, allocations: 14.78 kB / 0.7047 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006842/0.8804, allocations: 189.1 kB / 0.7049 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.952e-05/0.8804, allocations: 23.38 kB / 0.7049 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-05/0.8805, allocations: 28.44 kB / 0.7049 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.972e-05/0.8805, allocations: 32.33 kB / 0.7049 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.549e-05/0.8805, allocations: 26.2 kB / 0.705 GB, free: 103 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.883, allocations: 2.173 MB / 0.7071 GB, free: 101.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/0.8835, allocations: 321.1 kB / 0.7074 GB, free: 101.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.8837, allocations: 38.3 kB / 0.7074 GB, free: 101.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/0.8847, allocations: 97.72 kB / 0.7075 GB, free: 101.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.8849, allocations: 96.05 kB / 0.7076 GB, free: 101.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.078e-05/0.885, allocations: 41.52 kB / 0.7077 GB, free: 101.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001294/0.8863, allocations: 0.7655 MB / 0.7084 GB, free: 101.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.755e-06/0.8863, allocations: 3.406 kB / 0.7084 GB, free: 101.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003876/0.8901, allocations: 0.6983 MB / 0.7091 GB, free: 101.6 MB / 0.545 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.0003089/0.8905, allocations: 149.5 kB / 0.7092 GB, free: 101.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004415/0.8949, allocations: 2.513 MB / 0.7117 GB, free: 101.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.8949, allocations: 1.062 kB / 0.7117 GB, free: 101.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009665/0.8959, allocations: 0.5822 MB / 0.7123 GB, free: 101.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.8984, allocations: 248.4 kB / 0.7125 GB, free: 101.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009978/0.9084, allocations: 5.507 MB / 0.7179 GB, free: 98.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003376/0.9118, allocations: 2.013 MB / 0.7198 GB, free: 97.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003462/0.9153, allocations: 0.8943 MB / 0.7207 GB, free: 97.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/0.9158, allocations: 86.89 kB / 0.7208 GB, free: 97.72 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.9158, allocations: 0 / 0.7208 GB, free: 97.72 MB / 0.545 GB Notification: Performance of Templates: time 0.03331/0.9491, allocations: 13.76 MB / 0.7342 GB, free: 93.75 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (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)