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.1456/0.1463, allocations: 82.21 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01538/0.1617, allocations: 14.68 MB / 0.6077 GB, free: 7.293 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.1724, allocations: 6.149 MB / 0.6137 GB, free: 1.129 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.1739, allocations: 39.88 kB / 0.6138 GB, free: 1.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.1751, allocations: 333.9 kB / 0.6141 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.1777, allocations: 0.6386 MB / 0.6147 GB, free: 124 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.1807, allocations: 0.9027 MB / 0.6156 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.1832, allocations: 1.657 MB / 0.6172 GB, free: 13.56 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008475/0.1917, allocations: 5.237 MB / 0.6223 GB, free: 8.266 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/0.1937, allocations: 0.919 MB / 0.6232 GB, free: 7.344 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002487/0.1962, allocations: 1.125 MB / 0.6243 GB, free: 6.215 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007093/0.1969, allocations: 160 kB / 0.6245 GB, free: 6.059 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.1984, allocations: 379.6 kB / 0.6248 GB, free: 5.688 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001674/0.2001, allocations: 1.088 MB / 0.6259 GB, free: 4.598 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008726/0.201, allocations: 0.4888 MB / 0.6264 GB, free: 4.102 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005334/0.2063, allocations: 4.578 MB / 0.6308 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2063, allocations: 0 / 0.6308 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.2063, allocations: 0 / 0.6308 GB, free: 15.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.352e-05/0.2064, allocations: 4 kB / 0.6308 GB, free: 15.51 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.004605/0.211, allocations: 2.211 MB / 0.633 GB, free: 13.24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.2111, allocations: 8.031 kB / 0.633 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003878/0.215, allocations: 0.8087 MB / 0.6338 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.218, allocations: 1.391 MB / 0.6351 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.2182, allocations: 189.1 kB / 0.6353 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004569/0.2187, allocations: 251.9 kB / 0.6356 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007964/0.2266, allocations: 4.524 MB / 0.64 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-05/0.2267, allocations: 11.94 kB / 0.64 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/0.227, allocations: 104 kB / 0.6401 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001913/0.2272, allocations: 176.3 kB / 0.6403 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005987/0.2332, allocations: 3.8 MB / 0.644 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02181/0.2551, allocations: 15.86 MB / 0.6595 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.2577, allocations: 2.252 MB / 0.6617 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.2577, allocations: 19.97 kB / 0.6617 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.2578, allocations: 50.5 kB / 0.6617 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.805e-06/0.2578, allocations: 0 / 0.6617 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.005423/0.2632, allocations: 4.217 MB / 0.6659 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.2634, allocations: 243.4 kB / 0.6661 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.2647, allocations: 1.108 MB / 0.6672 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.2648, allocations: 37.7 kB / 0.6672 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007339/0.2655, allocations: 1.172 MB / 0.6683 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.2657, allocations: 264.5 kB / 0.6686 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/0.2658, allocations: 28 kB / 0.6686 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.266, allocations: 406.7 kB / 0.669 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009409/0.267, allocations: 0.7182 MB / 0.6697 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.2684, allocations: 1.403 MB / 0.6711 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.2697, allocations: 1.008 MB / 0.6721 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.2697, allocations: 4 kB / 0.6721 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003072/0.2728, allocations: 2.211 MB / 0.6742 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.004096/0.2769, allocations: 9.386 MB / 0.6834 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.337e-05/0.277, allocations: 27.98 kB / 0.6834 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-05/0.2771, allocations: 40 kB / 0.6835 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.2786, allocations: 427.2 kB / 0.6839 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.255e-05/0.2787, allocations: 55.78 kB / 0.6839 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.2799, allocations: 187.4 kB / 0.6841 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.28, allocations: 87.97 kB / 0.6842 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2801, allocations: 6.031 kB / 0.6842 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002478/0.2825, allocations: 1.878 MB / 0.686 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.2826, allocations: 27.95 kB / 0.6861 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.2826, allocations: 36 kB / 0.6861 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.2837, allocations: 387.3 kB / 0.6865 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.623e-05/0.2838, allocations: 47.84 kB / 0.6865 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008579/0.2847, allocations: 132.1 kB / 0.6866 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.2848, allocations: 83.98 kB / 0.6867 GB, free: 3.875 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.001761/0.2865, allocations: 1.132 MB / 0.6878 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.2868, allocations: 98.78 kB / 0.6879 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.2884, allocations: 1.135 MB / 0.689 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.2884, allocations: 11.94 kB / 0.689 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.2884, allocations: 4 kB / 0.689 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.2884, allocations: 3.984 kB / 0.689 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3485/0.6369, allocations: 10.31 MB / 0.6991 GB, free: 87.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/0.637, allocations: 17.98 kB / 0.6991 GB, free: 87.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/0.6377, allocations: 188.9 kB / 0.6993 GB, free: 87.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-05/0.6377, allocations: 24.78 kB / 0.6993 GB, free: 87.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/0.6378, allocations: 31.94 kB / 0.6994 GB, free: 87.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.34e-05/0.6378, allocations: 32.92 kB / 0.6994 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/0.6378, allocations: 20.41 kB / 0.6994 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.6403, allocations: 3.016 MB / 0.7024 GB, free: 84.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006555/0.641, allocations: 334.7 kB / 0.7027 GB, free: 84.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.6411, allocations: 36.64 kB / 0.7027 GB, free: 84.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009582/0.6421, allocations: 96.91 kB / 0.7028 GB, free: 84.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.6423, allocations: 101.2 kB / 0.7029 GB, free: 84.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.6423, allocations: 39.66 kB / 0.7029 GB, free: 84.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001148/0.6435, allocations: 0.7596 MB / 0.7037 GB, free: 84.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6435, allocations: 0 / 0.7037 GB, free: 84.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003133/0.6466, allocations: 0.6987 MB / 0.7044 GB, free: 84.42 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.0003022/0.6469, allocations: 151.6 kB / 0.7045 GB, free: 84.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004782/0.6517, allocations: 2.52 MB / 0.707 GB, free: 83.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/0.6518, allocations: 2.406 kB / 0.707 GB, free: 83.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008882/0.6527, allocations: 0.585 MB / 0.7075 GB, free: 83.29 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.6542, allocations: 234.6 kB / 0.7078 GB, free: 83.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007992/0.6622, allocations: 5.325 MB / 0.713 GB, free: 80.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/0.6643, allocations: 2.059 MB / 0.715 GB, free: 79.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002335/0.6667, allocations: 0.8854 MB / 0.7158 GB, free: 79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.667, allocations: 85.34 kB / 0.7159 GB, free: 78.99 MB / 0.5294 GB Notification: Performance of SimCode: time 1.663e-06/0.667, allocations: 0 / 0.7159 GB, free: 78.99 MB / 0.5294 GB Notification: Performance of Templates: time 0.02157/0.6886, allocations: 13.36 MB / 0.729 GB, free: 71.8 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: