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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") [/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.1845/0.1852, allocations: 82.22 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01166/0.1969, allocations: 10.3 MB / 0.6034 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0081/0.2051, allocations: 5.241 MB / 0.6086 GB, free: 6.406 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000934/0.206, allocations: 31.81 kB / 0.6086 GB, free: 6.375 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009017/0.207, allocations: 314.3 kB / 0.6089 GB, free: 6.066 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.2084, allocations: 0.5568 MB / 0.6094 GB, free: 5.508 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.21, allocations: 0.5886 MB / 0.61 GB, free: 4.918 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.2115, allocations: 1.158 MB / 0.6111 GB, free: 3.754 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004875/0.2164, allocations: 3.857 MB / 0.6149 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009758/0.2174, allocations: 0.6542 MB / 0.6155 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009891/0.2184, allocations: 0.7281 MB / 0.6163 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.2186, allocations: 100 kB / 0.6164 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006834/0.2193, allocations: 259.7 kB / 0.6166 GB, free: 14.1 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006118/0.2199, allocations: 0.6627 MB / 0.6172 GB, free: 13.44 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003149/0.2202, allocations: 348.9 kB / 0.6176 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.2228, allocations: 3.144 MB / 0.6206 GB, free: 9.938 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2228, allocations: 0 / 0.6206 GB, free: 9.938 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2228, allocations: 0 / 0.6206 GB, free: 9.938 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.821e-05/0.2228, allocations: 0 / 0.6206 GB, free: 9.938 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003232/0.2261, allocations: 1.726 MB / 0.6223 GB, free: 8.156 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.2261, allocations: 12.03 kB / 0.6223 GB, free: 8.145 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/0.2292, allocations: 0.7275 MB / 0.6231 GB, free: 7.414 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.2317, allocations: 1.168 MB / 0.6242 GB, free: 6.199 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.2318, allocations: 119.2 kB / 0.6243 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.2321, allocations: 151.9 kB / 0.6245 GB, free: 5.934 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004405/0.2365, allocations: 2.893 MB / 0.6273 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.2365, allocations: 3.938 kB / 0.6273 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.2367, allocations: 67.98 kB / 0.6273 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003388/0.2371, allocations: 171 kB / 0.6275 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003627/0.2407, allocations: 2.471 MB / 0.6299 GB, free: 268 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01247/0.2532, allocations: 8.244 MB / 0.638 GB, free: 7.738 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.2545, allocations: 0.9188 MB / 0.6389 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.2546, allocations: 93.47 kB / 0.639 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.2547, allocations: 38.94 kB / 0.639 GB, free: 6.621 MB / 494.1 MB Notification: Performance of pre-optimization done (n=46): time 4.589e-06/0.2547, allocations: 0 / 0.639 GB, free: 6.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=70): time 0.0251/0.2798, allocations: 7.997 MB / 0.6468 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.2799, allocations: 63.95 kB / 0.6469 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.2813, allocations: 0.9258 MB / 0.6478 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.2814, allocations: 33.7 kB / 0.6478 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/0.282, allocations: 0.762 MB / 0.6486 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.2822, allocations: 248.5 kB / 0.6488 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.2823, allocations: 24 kB / 0.6488 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.2825, allocations: 394.8 kB / 0.6492 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.2836, allocations: 0.7794 MB / 0.6499 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.285, allocations: 1.135 MB / 0.6511 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.2865, allocations: 0.9791 MB / 0.652 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.2865, allocations: 0 / 0.652 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009362/0.2958, allocations: 3.678 MB / 0.6556 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001889/0.2978, allocations: 4.269 MB / 0.6598 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/0.2978, allocations: 12 kB / 0.6598 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007712/0.3055, allocations: 2.006 MB / 0.6617 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009283/0.3065, allocations: 223.6 kB / 0.662 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01556/0.3221, allocations: 10.26 MB / 0.672 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.3235, allocations: 183.6 kB / 0.6722 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.3238, allocations: 47.98 kB / 0.6722 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3238, allocations: 4 kB / 0.6722 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007638/0.3314, allocations: 3.013 MB / 0.6751 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.344e-05/0.3315, allocations: 12 kB / 0.6752 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004914/0.3364, allocations: 1.289 MB / 0.6764 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.3375, allocations: 283.5 kB / 0.6767 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.3475, allocations: 6.221 MB / 0.6828 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.3488, allocations: 147.9 kB / 0.6829 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.349, allocations: 51.98 kB / 0.6829 GB, free: 8.582 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001551/0.3505, allocations: 0.8947 MB / 0.6838 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.3508, allocations: 94.91 kB / 0.6839 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008383/0.3592, allocations: 3.222 MB / 0.6871 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.3592, allocations: 8 kB / 0.6871 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.3592, allocations: 0 / 0.6871 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.3592, allocations: 3.984 kB / 0.6871 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.353/0.7122, allocations: 5.237 MB / 0.6922 GB, free: 89.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/0.7123, allocations: 1.531 kB / 0.6922 GB, free: 89.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.7128, allocations: 109.2 kB / 0.6923 GB, free: 89.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006476/0.7193, allocations: 1.82 MB / 0.6941 GB, free: 89.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.474e-05/0.7194, allocations: 15.94 kB / 0.6941 GB, free: 89.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.7326, allocations: 9.67 MB / 0.7035 GB, free: 86.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.7327, allocations: 6.312 kB / 0.7035 GB, free: 86.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007856/0.7405, allocations: 3.187 MB / 0.7066 GB, free: 86.19 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008496/0.7414, allocations: 327.9 kB / 0.707 GB, free: 86.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.7416, allocations: 16.66 kB / 0.707 GB, free: 86.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008412/0.7424, allocations: 133 kB / 0.7071 GB, free: 86.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/0.7427, allocations: 72.16 kB / 0.7072 GB, free: 86.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/0.7428, allocations: 23.17 kB / 0.7072 GB, free: 86.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009718/0.7438, allocations: 0.6535 MB / 0.7078 GB, free: 85.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7438, allocations: 0 / 0.7078 GB, free: 85.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002943/0.7468, allocations: 0.6452 MB / 0.7085 GB, free: 85.78 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): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002149/0.747, allocations: 129.1 kB / 0.7086 GB, free: 85.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007812/0.7548, allocations: 3.79 MB / 0.7123 GB, free: 84.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.7548, allocations: 1.219 kB / 0.7123 GB, free: 84.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.7569, allocations: 1.26 MB / 0.7135 GB, free: 83.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.7581, allocations: 252.9 kB / 0.7138 GB, free: 83.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006709/0.7648, allocations: 4.082 MB / 0.7177 GB, free: 81.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.7667, allocations: 1.755 MB / 0.7195 GB, free: 80.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001695/0.7684, allocations: 0.5375 MB / 0.72 GB, free: 80.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.7686, allocations: 58.67 kB / 0.72 GB, free: 80.6 MB / 0.5294 GB Notification: Performance of SimCode: time 3.356e-06/0.7686, allocations: 0 / 0.72 GB, free: 80.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.0339/0.8025, allocations: 28.58 MB / 0.748 GB, free: 57.11 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) Environment - environmentSimulation: