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.2018/0.2025, allocations: 82.22 MB / 0.5935 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.014/0.2166, allocations: 10.64 MB / 0.6039 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.2268, allocations: 5.333 MB / 0.6091 GB, free: 5.926 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.228, allocations: 31.88 kB / 0.6091 GB, free: 5.895 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.2294, allocations: 290 kB / 0.6094 GB, free: 5.609 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.2312, allocations: 0.5287 MB / 0.6099 GB, free: 5.078 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.2331, allocations: 0.49 MB / 0.6104 GB, free: 4.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003959/0.237, allocations: 2.852 MB / 0.6132 GB, free: 1.727 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006682/0.2437, allocations: 3.858 MB / 0.6169 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.2458, allocations: 0.8097 MB / 0.6177 GB, free: 13 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002366/0.2482, allocations: 1.09 MB / 0.6188 GB, free: 11.9 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004993/0.2487, allocations: 100 kB / 0.6189 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.2499, allocations: 259.7 kB / 0.6191 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.2512, allocations: 0.7209 MB / 0.6198 GB, free: 10.83 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.2526, allocations: 356.9 kB / 0.6202 GB, free: 10.47 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005304/0.258, allocations: 3.144 MB / 0.6233 GB, free: 7.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.258, allocations: 0 / 0.6233 GB, free: 7.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.258, allocations: 0 / 0.6233 GB, free: 7.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001309/0.2582, allocations: 0 / 0.6233 GB, free: 7.32 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.004584/0.2628, allocations: 1.714 MB / 0.6249 GB, free: 5.551 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2628, allocations: 16.03 kB / 0.6249 GB, free: 5.535 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/0.266, allocations: 0.7119 MB / 0.6256 GB, free: 4.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.2684, allocations: 1.164 MB / 0.6268 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.084e-05/0.2685, allocations: 119.1 kB / 0.6269 GB, free: 3.492 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.2688, allocations: 159.9 kB / 0.627 GB, free: 3.336 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004852/0.2736, allocations: 2.904 MB / 0.6299 GB, free: 376 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.2737, allocations: 7.938 kB / 0.6299 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.2739, allocations: 71.98 kB / 0.63 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003395/0.2742, allocations: 163 kB / 0.6301 GB, free: 132 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004013/0.2782, allocations: 2.475 MB / 0.6325 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.2891, allocations: 8.24 MB / 0.6406 GB, free: 5.129 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.2905, allocations: 0.924 MB / 0.6415 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006794/0.2912, allocations: 0.4979 MB / 0.642 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.2913, allocations: 93.47 kB / 0.642 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.2913, allocations: 34.94 kB / 0.6421 GB, free: 3.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=46): time 2.575e-06/0.2913, allocations: 0 / 0.6421 GB, free: 3.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=70): time 0.02517/0.3165, allocations: 8.003 MB / 0.6499 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.3166, allocations: 59.97 kB / 0.65 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.3183, allocations: 0.9181 MB / 0.6509 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.3184, allocations: 41.7 kB / 0.6509 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000666/0.3191, allocations: 0.762 MB / 0.6516 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.3195, allocations: 248.5 kB / 0.6519 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.183e-05/0.3196, allocations: 20 kB / 0.6519 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.3198, allocations: 398.8 kB / 0.6523 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.321, allocations: 0.7832 MB / 0.653 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.3226, allocations: 1.143 MB / 0.6542 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.3242, allocations: 0.9752 MB / 0.6551 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.3242, allocations: 4 kB / 0.6551 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009838/0.3341, allocations: 3.674 MB / 0.6587 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005583/0.3347, allocations: 411.2 kB / 0.6591 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.321e-05/0.3348, allocations: 12 kB / 0.6591 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008026/0.3428, allocations: 2.005 MB / 0.6611 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000988/0.3439, allocations: 231.6 kB / 0.6613 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/0.36, allocations: 9.87 MB / 0.6709 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.3616, allocations: 187.6 kB / 0.6711 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.3618, allocations: 44 kB / 0.6711 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3618, allocations: 4 kB / 0.6711 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007729/0.3696, allocations: 3.009 MB / 0.6741 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.631e-05/0.3696, allocations: 12 kB / 0.6741 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005075/0.3747, allocations: 1.296 MB / 0.6754 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.3759, allocations: 271.6 kB / 0.6756 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.3869, allocations: 6.01 MB / 0.6815 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.3884, allocations: 151.8 kB / 0.6816 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.3886, allocations: 44 kB / 0.6817 GB, free: 10.12 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.001792/0.3904, allocations: 0.892 MB / 0.6825 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.3907, allocations: 86.97 kB / 0.6826 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008983/0.3997, allocations: 3.222 MB / 0.6858 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.3997, allocations: 11.95 kB / 0.6858 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3998, allocations: 0 / 0.6858 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.3998, allocations: 7.984 kB / 0.6858 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.4124, allocations: 5.244 MB / 0.6909 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.4125, allocations: 4 kB / 0.6909 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.4129, allocations: 108.1 kB / 0.691 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3643/0.7773, allocations: 1.818 MB / 0.6928 GB, free: 89.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/0.7776, allocations: 11.88 kB / 0.6928 GB, free: 89.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/0.791, allocations: 9.283 MB / 0.7019 GB, free: 87.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.7911, allocations: 2.922 kB / 0.7019 GB, free: 87.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008478/0.7996, allocations: 3.095 MB / 0.7049 GB, free: 87.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008271/0.8005, allocations: 327.3 kB / 0.7052 GB, free: 86.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.8006, allocations: 14.69 kB / 0.7052 GB, free: 86.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008184/0.8014, allocations: 135.3 kB / 0.7054 GB, free: 86.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003824/0.8018, allocations: 64.25 kB / 0.7054 GB, free: 86.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.458e-05/0.8019, allocations: 22.38 kB / 0.7054 GB, free: 86.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009581/0.8029, allocations: 0.6545 MB / 0.7061 GB, free: 86.81 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8029, allocations: 0 / 0.7061 GB, free: 86.81 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002777/0.8056, allocations: 0.6469 MB / 0.7067 GB, free: 86.79 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.0003334/0.806, allocations: 132.8 kB / 0.7068 GB, free: 86.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008303/0.8143, allocations: 3.799 MB / 0.7105 GB, free: 85.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.8144, allocations: 0.9375 kB / 0.7105 GB, free: 85.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002413/0.8168, allocations: 1.261 MB / 0.7118 GB, free: 84.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.8183, allocations: 250.3 kB / 0.712 GB, free: 84.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006816/0.8251, allocations: 4.075 MB / 0.716 GB, free: 82.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.8267, allocations: 1.726 MB / 0.7177 GB, free: 81.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001538/0.8283, allocations: 0.5273 MB / 0.7182 GB, free: 81.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.8285, allocations: 58.5 kB / 0.7183 GB, free: 81.66 MB / 0.5294 GB Notification: Performance of SimCode: time 1.482e-06/0.8285, allocations: 3.938 kB / 0.7183 GB, free: 81.65 MB / 0.5294 GB Notification: Performance of Templates: time 0.04072/0.8692, allocations: 28.61 MB / 0.7462 GB, free: 59.3 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: