Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.1964/0.1972, allocations: 82.22 MB / 0.5941 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04091/0.2381, allocations: 39.07 MB / 0.6323 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02657/0.2648, allocations: 15.39 MB / 0.6473 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00499/0.2698, allocations: 167 kB / 0.6475 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003667/0.2735, allocations: 0.8489 MB / 0.6483 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009526/0.2831, allocations: 2.703 MB / 0.6509 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009904/0.2931, allocations: 2.683 MB / 0.6536 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02528/0.3184, allocations: 15.7 MB / 0.6689 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02746/0.3459, allocations: 15.76 MB / 0.6843 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008204/0.3541, allocations: 3.454 MB / 0.6876 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.3644, allocations: 4.769 MB / 0.6923 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002807/0.3673, allocations: 392 kB / 0.6927 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3925/0.7599, allocations: 1.806 MB / 0.6944 GB, free: 29.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004981/0.7649, allocations: 2.9 MB / 0.6973 GB, free: 29.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00833/0.7733, allocations: 3.397 MB / 0.7006 GB, free: 28.97 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01701/0.7903, allocations: 13.34 MB / 0.7136 GB, free: 27.78 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7903, allocations: 1.156 kB / 0.7136 GB, free: 27.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.195e-06/0.7903, allocations: 0 / 0.7136 GB, free: 27.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004372/0.7908, allocations: 0 / 0.7136 GB, free: 27.78 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1632 * Number of variables: 1632 Notification: Performance of Generate backend data structure: time 0.0228/0.8136, allocations: 6.08 MB / 0.7196 GB, free: 25.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.8136, allocations: 9.562 kB / 0.7196 GB, free: 25.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/0.8277, allocations: 1.482 MB / 0.721 GB, free: 24.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.8389, allocations: 4.177 MB / 0.7251 GB, free: 24.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003791/0.8393, allocations: 447.4 kB / 0.7255 GB, free: 24.03 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003127/0.8424, allocations: 0.5853 MB / 0.7261 GB, free: 24.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03093/0.8734, allocations: 10.58 MB / 0.7364 GB, free: 21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006124/0.874, allocations: 34.67 kB / 0.7365 GB, free: 20.99 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003429/0.8775, allocations: 253.6 kB / 0.7367 GB, free: 20.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003222/0.8807, allocations: 0.7727 MB / 0.7374 GB, free: 20.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02164/0.9024, allocations: 8.489 MB / 0.7457 GB, free: 19.36 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06139/0.9638, allocations: 34.06 MB / 0.779 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006964/0.9708, allocations: 4.311 MB / 0.7832 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006106/0.9769, allocations: 3.685 MB / 0.7868 GB, free: 4.219 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003941/0.9774, allocations: 42.7 kB / 0.7868 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.436e-05/0.9775, allocations: 74.41 kB / 0.7869 GB, free: 4.094 MB / 0.545 GB Notification: Performance of pre-optimization done (n=353): time 7.104e-06/0.9775, allocations: 0 / 0.7869 GB, free: 4.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=578): time 0.5584/1.536, allocations: 128.1 MB / 0.9121 GB, free: 3.539 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/1.536, allocations: 111.9 kB / 0.9122 GB, free: 3.414 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005831/1.542, allocations: 2.681 MB / 0.9148 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001765/1.544, allocations: 121.7 kB / 0.9149 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002346/1.546, allocations: 2.637 MB / 0.9175 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.003428/1.55, allocations: 1.931 MB / 0.9194 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001822/1.551, allocations: 446 kB / 0.9198 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.552, allocations: 301.1 kB / 0.9201 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008119/1.56, allocations: 4.095 MB / 0.9241 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009343/1.569, allocations: 5.025 MB / 0.929 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01858/1.588, allocations: 9.883 MB / 0.9386 GB, free: 7.707 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.521e-05/1.588, allocations: 4 kB / 0.9386 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.05102/1.639, allocations: 17.02 MB / 0.9552 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.28e-05/1.639, allocations: 12 kB / 0.9553 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.928e-05/1.639, allocations: 27.94 kB / 0.9553 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.482/2.121, allocations: 9.264 MB / 0.9643 GB, free: 259.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/2.124, allocations: 0.5177 MB / 0.9648 GB, free: 259.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09817/2.222, allocations: 71.05 MB / 1.034 GB, free: 218.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007122/2.229, allocations: 285.4 kB / 1.034 GB, free: 218.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001535/2.231, allocations: 192 kB / 1.035 GB, free: 218.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,88.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,51.0%), (24,62,41.7%), (6,40,77.8%), (6,72,88.9%), (12,66,59.7%), (7,39,77.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006462/2.237, allocations: 2.414 MB / 1.037 GB, free: 216.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001535/2.239, allocations: 468.9 kB / 1.037 GB, free: 215.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03773/2.276, allocations: 16.85 MB / 1.054 GB, free: 200.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.972e-05/2.277, allocations: 52 kB / 1.054 GB, free: 200.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002788/2.277, allocations: 77.44 kB / 1.054 GB, free: 200.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001309/2.277, allocations: 29.02 kB / 1.054 GB, free: 200.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05696/2.334, allocations: 25.73 MB / 1.079 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.661e-05/2.334, allocations: 4 kB / 1.079 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/2.336, allocations: 323.5 kB / 1.08 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02861/2.365, allocations: 8.249 MB / 1.088 GB, free: 165.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001548/2.366, allocations: 108 kB / 1.088 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08597/2.452, allocations: 67.58 MB / 1.154 GB, free: 96.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/2.452, allocations: 15.92 kB / 1.154 GB, free: 96.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04889/2.501, allocations: 21.61 MB / 1.175 GB, free: 74.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004609/2.506, allocations: 1.362 MB / 1.176 GB, free: 73.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002482/2.508, allocations: 108 kB / 1.176 GB, free: 73.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005502/2.514, allocations: 287.6 kB / 1.177 GB, free: 72.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002834/2.517, allocations: 0.5296 MB / 1.177 GB, free: 72.21 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001744/2.519, allocations: 140 kB / 1.177 GB, free: 72.08 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004765/2.523, allocations: 1.78 MB / 1.179 GB, free: 70.31 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.12e-07/2.523, allocations: 2.625 kB / 1.179 GB, free: 70.31 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01431/2.538, allocations: 2.375 MB / 1.181 GB, free: 67.93 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,83.3%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,77.8%), (7,71,71.4%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001794/2.54, allocations: 248.4 kB / 1.181 GB, free: 67.69 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.03033/2.57, allocations: 14.83 MB / 1.196 GB, free: 52.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/2.57, allocations: 4 kB / 1.196 GB, free: 52.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01931/2.589, allocations: 9.395 MB / 1.205 GB, free: 43.13 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01427/2.604, allocations: 1.285 MB / 1.206 GB, free: 41.86 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03046/2.634, allocations: 19.26 MB / 1.225 GB, free: 22.51 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007558/2.642, allocations: 4.891 MB / 1.23 GB, free: 17.59 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003448/2.645, allocations: 0.7565 MB / 1.231 GB, free: 16.83 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000756/2.646, allocations: 195.4 kB / 1.231 GB, free: 16.64 MB / 0.7169 GB Notification: Performance of SimCode: time 1.282e-06/2.646, allocations: 0 / 1.231 GB, free: 16.64 MB / 0.7169 GB Notification: Performance of Templates: time 0.5877/3.234, allocations: 138.4 MB / 1.366 GB, free: 149.8 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) Environment - environmentSimulation: