Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [/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.1814/0.1821, allocations: 82.21 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01052/0.1927, allocations: 8.63 MB / 0.6018 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005711/0.1984, allocations: 3.032 MB / 0.6048 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009807/0.1994, allocations: 31.81 kB / 0.6048 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006906/0.2002, allocations: 178.9 kB / 0.605 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.2019, allocations: 490.5 kB / 0.6054 GB, free: 9.598 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.2033, allocations: 438.4 kB / 0.6059 GB, free: 9.172 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.2057, allocations: 1.262 MB / 0.6071 GB, free: 7.906 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005433/0.2111, allocations: 2.678 MB / 0.6097 GB, free: 5.195 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.2126, allocations: 0.7164 MB / 0.6104 GB, free: 4.477 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.2147, allocations: 0.8725 MB / 0.6113 GB, free: 3.602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007337/0.2155, allocations: 104 kB / 0.6114 GB, free: 3.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.2165, allocations: 215.7 kB / 0.6116 GB, free: 3.289 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.2179, allocations: 0.7485 MB / 0.6123 GB, free: 2.539 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008884/0.2188, allocations: 348.8 kB / 0.6126 GB, free: 2.191 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003152/0.2219, allocations: 2.727 MB / 0.6153 GB, free: 15.46 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2219, allocations: 0 / 0.6153 GB, free: 15.46 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.222, allocations: 0 / 0.6153 GB, free: 15.46 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000104/0.2221, allocations: 0 / 0.6153 GB, free: 15.46 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: 416 * Number of variables: 416 Notification: Performance of Generate backend data structure: time 0.003137/0.2252, allocations: 1.604 MB / 0.6169 GB, free: 13.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2253, allocations: 12.03 kB / 0.6169 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005684/0.231, allocations: 0.9498 MB / 0.6178 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.2332, allocations: 1.086 MB / 0.6189 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.229e-05/0.2333, allocations: 110.9 kB / 0.619 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002586/0.2336, allocations: 144 kB / 0.6191 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004615/0.2382, allocations: 2.986 MB / 0.622 GB, free: 8.363 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.2383, allocations: 4 kB / 0.622 GB, free: 8.359 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.2385, allocations: 63.97 kB / 0.6221 GB, free: 8.297 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/0.2387, allocations: 175 kB / 0.6222 GB, free: 8.125 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00376/0.2424, allocations: 2.596 MB / 0.6248 GB, free: 5.523 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01536/0.2578, allocations: 11.04 MB / 0.6356 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.2598, allocations: 1.329 MB / 0.6369 GB, free: 8.684 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.069e-05/0.2599, allocations: 12.61 kB / 0.6369 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.26, allocations: 43.2 kB / 0.6369 GB, free: 8.621 MB / 494.1 MB Notification: Performance of pre-optimization done (n=82): time 4.699e-06/0.26, allocations: 4 kB / 0.6369 GB, free: 8.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=139): time 0.06869/0.3287, allocations: 19.75 MB / 0.6562 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.3288, allocations: 72.67 kB / 0.6563 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.3301, allocations: 0.9105 MB / 0.6572 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.3303, allocations: 45.7 kB / 0.6572 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004738/0.3308, allocations: 0.7283 MB / 0.6579 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.3312, allocations: 481 kB / 0.6584 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.3313, allocations: 32 kB / 0.6584 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3315, allocations: 418.7 kB / 0.6588 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.3333, allocations: 1.394 MB / 0.6602 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.3354, allocations: 1.698 MB / 0.6618 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.3374, allocations: 1.626 MB / 0.6634 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3374, allocations: 4 kB / 0.6634 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01133/0.3488, allocations: 5.824 MB / 0.6691 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.3488, allocations: 9.719 kB / 0.6691 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.3488, allocations: 8 kB / 0.6691 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008703/0.3576, allocations: 2.806 MB / 0.6719 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/0.3584, allocations: 195.7 kB / 0.672 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4157/0.7742, allocations: 25.44 MB / 0.6969 GB, free: 88.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.7759, allocations: 102.8 kB / 0.697 GB, free: 88.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.776, allocations: 57.91 kB / 0.697 GB, free: 88.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(10,88.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001171/0.7772, allocations: 0.7381 MB / 0.6978 GB, free: 88.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.7774, allocations: 111.6 kB / 0.6979 GB, free: 88.29 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.7889, allocations: 5.589 MB / 0.7033 GB, free: 88.08 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.7889, allocations: 14.81 kB / 0.7033 GB, free: 88.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.534e-05/0.789, allocations: 21.3 kB / 0.7034 GB, free: 88.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/0.789, allocations: 6.75 kB / 0.7034 GB, free: 88.08 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.8063, allocations: 8.983 MB / 0.7121 GB, free: 85.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.8063, allocations: 3.094 kB / 0.7121 GB, free: 85.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.8068, allocations: 120 kB / 0.7123 GB, free: 85.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009486/0.8163, allocations: 2.627 MB / 0.7148 GB, free: 84.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004162/0.8168, allocations: 24.69 kB / 0.7149 GB, free: 84.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02795/0.8448, allocations: 22.82 MB / 0.7371 GB, free: 68.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.8448, allocations: 7.938 kB / 0.7371 GB, free: 68.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009346/0.8542, allocations: 5.484 MB / 0.7425 GB, free: 63.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.8552, allocations: 495.5 kB / 0.743 GB, free: 62.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/0.8555, allocations: 35.95 kB / 0.743 GB, free: 62.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009633/0.8565, allocations: 83.88 kB / 0.7431 GB, free: 62.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004552/0.857, allocations: 118.4 kB / 0.7432 GB, free: 62.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.8571, allocations: 43.95 kB / 0.7432 GB, free: 62.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007079/0.8578, allocations: 0.6356 MB / 0.7439 GB, free: 61.63 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8578, allocations: 0 / 0.7439 GB, free: 61.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002308/0.8601, allocations: 0.7109 MB / 0.7446 GB, free: 60.92 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002841/0.8604, allocations: 138.4 kB / 0.7447 GB, free: 60.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006504/0.8669, allocations: 4.459 MB / 0.749 GB, free: 56.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.8669, allocations: 0 / 0.749 GB, free: 56.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004415/0.8714, allocations: 2.783 MB / 0.7518 GB, free: 53.45 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.8725, allocations: 180.2 kB / 0.7519 GB, free: 53.28 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/0.8791, allocations: 4.865 MB / 0.7567 GB, free: 48.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/0.8806, allocations: 1.744 MB / 0.7584 GB, free: 46.62 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000899/0.8816, allocations: 341.5 kB / 0.7587 GB, free: 46.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.8818, allocations: 55.44 kB / 0.7588 GB, free: 46.23 MB / 0.5294 GB Notification: Performance of SimCode: time 2.384e-06/0.8818, allocations: 0 / 0.7588 GB, free: 46.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.04682/0.9286, allocations: 36.43 MB / 0.7943 GB, free: 9.969 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) Environment - environmentSimulation: