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.1942/0.1949, allocations: 82.22 MB / 0.5935 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01713/0.2121, allocations: 14.97 MB / 0.6081 GB, free: 6.918 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.2232, allocations: 6.21 MB / 0.6142 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/0.2258, allocations: 39.88 kB / 0.6142 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.227, allocations: 305.7 kB / 0.6145 GB, free: 360 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.2293, allocations: 0.6964 MB / 0.6152 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.2321, allocations: 0.8029 MB / 0.616 GB, free: 14.85 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00515/0.2373, allocations: 4.357 MB / 0.6202 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007948/0.2453, allocations: 5.245 MB / 0.6253 GB, free: 5.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.2477, allocations: 1.133 MB / 0.6264 GB, free: 4.043 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00317/0.2509, allocations: 1.706 MB / 0.6281 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003095/0.2512, allocations: 160 kB / 0.6283 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.2524, allocations: 391.6 kB / 0.6286 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.2536, allocations: 1.185 MB / 0.6298 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006177/0.2542, allocations: 496.5 kB / 0.6303 GB, free: 116 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00423/0.2585, allocations: 4.597 MB / 0.6348 GB, free: 11.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2585, allocations: 0 / 0.6348 GB, free: 11.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.2585, allocations: 0 / 0.6348 GB, free: 11.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.617e-05/0.2586, allocations: 0 / 0.6348 GB, free: 11.5 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.004166/0.2628, allocations: 2.211 MB / 0.6369 GB, free: 9.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2628, allocations: 8.031 kB / 0.6369 GB, free: 9.227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.2661, allocations: 0.7735 MB / 0.6377 GB, free: 8.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.2683, allocations: 1.391 MB / 0.639 GB, free: 7.016 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.2685, allocations: 185.1 kB / 0.6392 GB, free: 6.832 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003959/0.2689, allocations: 248 kB / 0.6395 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007232/0.2761, allocations: 4.547 MB / 0.6439 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.719e-05/0.2762, allocations: 7.938 kB / 0.6439 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002916/0.2765, allocations: 112 kB / 0.644 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002208/0.2767, allocations: 172.3 kB / 0.6442 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006032/0.2828, allocations: 3.8 MB / 0.6479 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01908/0.3018, allocations: 15.86 MB / 0.6634 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.3043, allocations: 2.256 MB / 0.6656 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009676/0.3053, allocations: 0.7282 MB / 0.6663 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.3053, allocations: 7.984 kB / 0.6663 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.3054, allocations: 54.5 kB / 0.6663 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.605e-06/0.3054, allocations: 0 / 0.6663 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.005746/0.3111, allocations: 4.188 MB / 0.6704 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.3113, allocations: 244.5 kB / 0.6707 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.3128, allocations: 1.104 MB / 0.6717 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.3129, allocations: 37.7 kB / 0.6718 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007865/0.3136, allocations: 1.184 MB / 0.6729 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.3139, allocations: 248.6 kB / 0.6732 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.948e-05/0.314, allocations: 28 kB / 0.6732 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002519/0.3142, allocations: 418.7 kB / 0.6736 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.3153, allocations: 0.6987 MB / 0.6743 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.3169, allocations: 1.403 MB / 0.6757 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.3182, allocations: 1 MB / 0.6766 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.3182, allocations: 8 kB / 0.6766 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003165/0.3214, allocations: 2.184 MB / 0.6788 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006308/0.322, allocations: 0.7898 MB / 0.6795 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.3221, allocations: 24 kB / 0.6796 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.007e-05/0.3221, allocations: 47.89 kB / 0.6796 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.3236, allocations: 431.2 kB / 0.68 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.265e-05/0.3236, allocations: 47.8 kB / 0.6801 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.3247, allocations: 191.4 kB / 0.6802 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.3249, allocations: 87.97 kB / 0.6803 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.3249, allocations: 6.031 kB / 0.6803 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002447/0.3273, allocations: 1.855 MB / 0.6821 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.3274, allocations: 24 kB / 0.6822 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.181e-05/0.3274, allocations: 40 kB / 0.6822 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.3285, allocations: 391.2 kB / 0.6826 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.6e-05/0.3286, allocations: 47.86 kB / 0.6826 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000779/0.3294, allocations: 127.5 kB / 0.6828 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.906e-05/0.3295, allocations: 79.98 kB / 0.6828 GB, free: 8.238 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001709/0.3312, allocations: 1.14 MB / 0.6839 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.3315, allocations: 102.8 kB / 0.684 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.3332, allocations: 1.1 MB / 0.6851 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.3332, allocations: 15.98 kB / 0.6851 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.3332, allocations: 0 / 0.6851 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3332, allocations: 4 kB / 0.6851 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4203/0.7535, allocations: 10.23 MB / 0.6951 GB, free: 86.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/0.7536, allocations: 15.59 kB / 0.6951 GB, free: 86.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.7542, allocations: 184 kB / 0.6953 GB, free: 86.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.277e-05/0.7542, allocations: 21.31 kB / 0.6953 GB, free: 86.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/0.7543, allocations: 32.97 kB / 0.6954 GB, free: 86.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-05/0.7543, allocations: 35.42 kB / 0.6954 GB, free: 86.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-05/0.7543, allocations: 27.44 kB / 0.6954 GB, free: 86.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.7563, allocations: 2.167 MB / 0.6975 GB, free: 85.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000529/0.7568, allocations: 340.5 kB / 0.6979 GB, free: 85.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.757, allocations: 33.66 kB / 0.6979 GB, free: 85.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008594/0.7578, allocations: 93.59 kB / 0.698 GB, free: 85.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.758, allocations: 104.4 kB / 0.6981 GB, free: 85.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.758, allocations: 39.42 kB / 0.6981 GB, free: 85.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001072/0.7591, allocations: 0.7582 MB / 0.6989 GB, free: 85.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7591, allocations: 1.281 kB / 0.6989 GB, free: 85.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002864/0.762, allocations: 0.6983 MB / 0.6996 GB, free: 85.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002179/0.7622, allocations: 151 kB / 0.6997 GB, free: 84.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003652/0.7659, allocations: 2.484 MB / 0.7021 GB, free: 84.76 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.7659, allocations: 2.656 kB / 0.7021 GB, free: 84.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007507/0.7667, allocations: 0.5805 MB / 0.7027 GB, free: 84.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.7685, allocations: 244.9 kB / 0.7029 GB, free: 84.71 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00818/0.7767, allocations: 5.325 MB / 0.7081 GB, free: 81.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/0.7793, allocations: 2.021 MB / 0.7101 GB, free: 80.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002787/0.7821, allocations: 0.8938 MB / 0.711 GB, free: 80.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.7824, allocations: 88.75 kB / 0.7111 GB, free: 80.86 MB / 0.5294 GB Notification: Performance of SimCode: time 1.322e-06/0.7824, allocations: 0 / 0.7111 GB, free: 80.86 MB / 0.5294 GB Notification: Performance of Templates: time 0.02286/0.8053, allocations: 13.3 MB / 0.724 GB, free: 76.3 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: