Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") [/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.1839/0.1846, allocations: 82.23 MB / 0.5934 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01135/0.196, allocations: 10.22 MB / 0.6034 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007981/0.204, allocations: 5.041 MB / 0.6083 GB, free: 6.672 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.2051, allocations: 31.88 kB / 0.6083 GB, free: 6.641 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009874/0.2061, allocations: 322.2 kB / 0.6086 GB, free: 6.324 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.2079, allocations: 0.5295 MB / 0.6092 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.2098, allocations: 0.5575 MB / 0.6097 GB, free: 5.234 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001713/0.2115, allocations: 1.102 MB / 0.6108 GB, free: 4.133 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004907/0.2164, allocations: 3.61 MB / 0.6143 GB, free: 472 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.2176, allocations: 0.6113 MB / 0.6149 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009446/0.2185, allocations: 0.6541 MB / 0.6155 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.2187, allocations: 88 kB / 0.6156 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006503/0.2194, allocations: 251.7 kB / 0.6159 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006139/0.22, allocations: 0.6393 MB / 0.6165 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.2203, allocations: 336.9 kB / 0.6168 GB, free: 13.88 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002527/0.2229, allocations: 2.907 MB / 0.6196 GB, free: 10.97 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2229, allocations: 0 / 0.6196 GB, free: 10.97 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2229, allocations: 0 / 0.6196 GB, free: 10.97 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.564e-05/0.2229, allocations: 4 kB / 0.6196 GB, free: 10.96 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.003087/0.226, allocations: 1.593 MB / 0.6212 GB, free: 9.316 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2261, allocations: 12.03 kB / 0.6212 GB, free: 9.305 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.2283, allocations: 469.5 kB / 0.6217 GB, free: 8.844 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.2304, allocations: 1.073 MB / 0.6227 GB, free: 7.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.197e-05/0.2305, allocations: 119 kB / 0.6228 GB, free: 7.613 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/0.2307, allocations: 156 kB / 0.623 GB, free: 7.461 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004351/0.2351, allocations: 2.687 MB / 0.6256 GB, free: 4.707 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.14e-05/0.2352, allocations: 15.84 kB / 0.6256 GB, free: 4.691 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.2353, allocations: 59.98 kB / 0.6257 GB, free: 4.633 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003098/0.2356, allocations: 142.9 kB / 0.6258 GB, free: 4.492 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003426/0.2391, allocations: 2.26 MB / 0.628 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.2503, allocations: 8.161 MB / 0.636 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009218/0.2512, allocations: 0.5862 MB / 0.6366 GB, free: 9.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.2514, allocations: 89.09 kB / 0.6366 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.2514, allocations: 34.56 kB / 0.6367 GB, free: 8.992 MB / 494.1 MB Notification: Performance of pre-optimization done (n=36): time 2.094e-06/0.2514, allocations: 0 / 0.6367 GB, free: 8.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=52): time 0.01807/0.2695, allocations: 5.648 MB / 0.6422 GB, free: 3.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.2696, allocations: 59.78 kB / 0.6422 GB, free: 3.211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.2708, allocations: 0.8789 MB / 0.6431 GB, free: 2.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.535e-05/0.2709, allocations: 29.7 kB / 0.6431 GB, free: 2.285 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/0.2714, allocations: 0.7461 MB / 0.6439 GB, free: 1.527 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.2716, allocations: 181.4 kB / 0.644 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.2717, allocations: 20 kB / 0.644 GB, free: 1.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.2718, allocations: 386.8 kB / 0.6444 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009141/0.2728, allocations: 0.6226 MB / 0.645 GB, free: 324 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.2739, allocations: 0.9865 MB / 0.646 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.2751, allocations: 0.8024 MB / 0.6468 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/0.2751, allocations: 4 kB / 0.6468 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00811/0.2832, allocations: 3.104 MB / 0.6498 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001863/0.2851, allocations: 4.525 MB / 0.6542 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/0.2852, allocations: 12 kB / 0.6542 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00726/0.2924, allocations: 1.704 MB / 0.6559 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009812/0.2934, allocations: 223.6 kB / 0.6561 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/0.3071, allocations: 9.929 MB / 0.6658 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.3085, allocations: 159.7 kB / 0.666 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.3086, allocations: 44 kB / 0.666 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.3087, allocations: 4 kB / 0.666 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006889/0.3156, allocations: 2.544 MB / 0.6685 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.946e-05/0.3156, allocations: 19.97 kB / 0.6685 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004797/0.3204, allocations: 1.129 MB / 0.6696 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/0.3214, allocations: 239.6 kB / 0.6698 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007294/0.3288, allocations: 5.422 MB / 0.6751 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.33, allocations: 127.8 kB / 0.6753 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.3302, allocations: 47.94 kB / 0.6753 GB, free: 15.94 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001443/0.3316, allocations: 0.8439 MB / 0.6761 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.3319, allocations: 75.06 kB / 0.6762 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00763/0.3395, allocations: 2.559 MB / 0.6787 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.3395, allocations: 4 kB / 0.6787 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.3395, allocations: 4 kB / 0.6787 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3395, allocations: 3.984 kB / 0.6787 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.3504, allocations: 4.391 MB / 0.683 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.3504, allocations: 4 kB / 0.683 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.3509, allocations: 107.8 kB / 0.6831 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006328/0.3572, allocations: 1.56 MB / 0.6846 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.427e-05/0.3573, allocations: 12 kB / 0.6846 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3558/0.7131, allocations: 9.551 MB / 0.694 GB, free: 87.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.7132, allocations: 4.844 kB / 0.694 GB, free: 87.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006829/0.72, allocations: 2.647 MB / 0.6966 GB, free: 87.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006011/0.7207, allocations: 272.9 kB / 0.6968 GB, free: 87.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.7208, allocations: 10.12 kB / 0.6968 GB, free: 87.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007656/0.7216, allocations: 121.9 kB / 0.6969 GB, free: 87.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.7218, allocations: 50.28 kB / 0.697 GB, free: 87.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.7219, allocations: 17.41 kB / 0.697 GB, free: 87.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008409/0.7227, allocations: 0.6262 MB / 0.6976 GB, free: 87.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7227, allocations: 6.469 kB / 0.6976 GB, free: 87.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001917/0.7246, allocations: 0.5574 MB / 0.6982 GB, free: 87.05 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002122/0.7249, allocations: 113.7 kB / 0.6983 GB, free: 86.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004749/0.7296, allocations: 3.041 MB / 0.7013 GB, free: 86.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.7296, allocations: 0 / 0.7013 GB, free: 86.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00177/0.7314, allocations: 1.167 MB / 0.7024 GB, free: 85.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.7325, allocations: 210.5 kB / 0.7026 GB, free: 85.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005333/0.7379, allocations: 3.554 MB / 0.7061 GB, free: 84.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/0.7394, allocations: 1.646 MB / 0.7077 GB, free: 83.67 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001533/0.741, allocations: 0.4999 MB / 0.7082 GB, free: 83.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.7412, allocations: 55.7 kB / 0.7082 GB, free: 83.65 MB / 0.5294 GB Notification: Performance of SimCode: time 1.223e-06/0.7412, allocations: 0 / 0.7082 GB, free: 83.65 MB / 0.5294 GB Notification: Performance of Templates: time 0.03302/0.7742, allocations: 22.45 MB / 0.7301 GB, free: 72.85 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: