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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [/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.2033/0.2055, allocations: 80.83 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03812/0.2437, allocations: 31.88 MB / 0.7018 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02039/0.2642, allocations: 10.85 MB / 0.7124 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003609/0.2679, allocations: 147.2 kB / 0.7125 GB, free: 7.004 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.009699/0.2776, allocations: 3.705 MB / 0.7161 GB, free: 3.293 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007175/0.2848, allocations: 1.94 MB / 0.718 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00666/0.2915, allocations: 2.099 MB / 0.7201 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01084/0.3023, allocations: 7.127 MB / 0.727 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01194/0.3143, allocations: 9.365 MB / 0.7362 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006222/0.3205, allocations: 3.174 MB / 0.7393 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007393/0.3279, allocations: 3.497 MB / 0.7427 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001367/0.3293, allocations: 0.6328 MB / 0.7433 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004545/0.3339, allocations: 1.763 MB / 0.745 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003495/0.3374, allocations: 2.472 MB / 0.7475 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004848/0.3423, allocations: 2.797 MB / 0.7502 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.4914/0.8337, allocations: 9.898 MB / 0.7599 GB, free: 26.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.8338, allocations: 0 / 0.7599 GB, free: 26.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8338, allocations: 0 / 0.7599 GB, free: 26.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005637/0.8344, allocations: 1.25 kB / 0.7599 GB, free: 26.5 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1226 * Number of variables: 1226 Notification: Performance of Generate backend data structure: time 0.03945/0.8739, allocations: 4.914 MB / 0.7647 GB, free: 24.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.673e-05/0.874, allocations: 10.59 kB / 0.7647 GB, free: 24.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/0.8874, allocations: 0.9286 MB / 0.7656 GB, free: 24.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/0.9005, allocations: 3.018 MB / 0.7685 GB, free: 23.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006626/0.9013, allocations: 344.8 kB / 0.7688 GB, free: 23.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003903/0.9052, allocations: 451.9 kB / 0.7693 GB, free: 23.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03902/0.9442, allocations: 7.572 MB / 0.7767 GB, free: 22.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008289/0.9451, allocations: 33.09 kB / 0.7767 GB, free: 22.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0043/0.9495, allocations: 200 kB / 0.7769 GB, free: 22.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000991/0.9505, allocations: 310 kB / 0.7772 GB, free: 22.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0182/0.9688, allocations: 5.644 MB / 0.7827 GB, free: 22.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04164/1.01, allocations: 24.2 MB / 0.8063 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/1.013, allocations: 2.159 MB / 0.8084 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/1.015, allocations: 1.265 MB / 0.8097 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.661e-05/1.015, allocations: 17.72 kB / 0.8097 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/1.015, allocations: 53.14 kB / 0.8097 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 3.096e-06/1.015, allocations: 0 / 0.8097 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.01399/1.029, allocations: 7.078 MB / 0.8167 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/1.029, allocations: 64.5 kB / 0.8167 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/1.031, allocations: 1.488 MB / 0.8182 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/1.031, allocations: 49.67 kB / 0.8182 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/1.033, allocations: 1.962 MB / 0.8201 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004842/1.033, allocations: 488.2 kB / 0.8206 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005524/1.034, allocations: 350.8 kB / 0.8209 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.034, allocations: 305.1 kB / 0.8212 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/1.035, allocations: 0.9235 MB / 0.8221 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/1.037, allocations: 1.592 MB / 0.8237 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/1.04, allocations: 2.751 MB / 0.8264 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-05/1.04, allocations: 8.812 kB / 0.8264 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00641/1.046, allocations: 3.539 MB / 0.8298 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/1.046, allocations: 12 kB / 0.8298 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.802e-05/1.046, allocations: 24 kB / 0.8299 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002639/1.049, allocations: 0.9056 MB / 0.8307 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.05, allocations: 348.3 kB / 0.8311 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/1.073, allocations: 23.1 MB / 0.8536 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.075, allocations: 104 kB / 0.8537 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003894/1.076, allocations: 87.94 kB / 0.8538 GB, free: 9.953 MB / 0.6231 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004183/1.08, allocations: 1.609 MB / 0.8554 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006169/1.081, allocations: 201.6 kB / 0.8556 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006078/1.087, allocations: 2.994 MB / 0.8585 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.087, allocations: 12 kB / 0.8585 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.062e-05/1.087, allocations: 16 kB / 0.8585 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/1.087, allocations: 7.969 kB / 0.8585 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/1.105, allocations: 7.055 MB / 0.8654 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/1.105, allocations: 4 kB / 0.8654 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009257/1.106, allocations: 182.4 kB / 0.8656 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002516/1.108, allocations: 0.8173 MB / 0.8664 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/1.108, allocations: 28 kB / 0.8664 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02102/1.129, allocations: 21.93 MB / 0.8879 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.089e-05/1.129, allocations: 7.375 kB / 0.8879 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006172/1.136, allocations: 3.036 MB / 0.8908 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/1.137, allocations: 466 kB / 0.8913 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000653/1.138, allocations: 35.89 kB / 0.8913 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.139, allocations: 71.58 kB / 0.8914 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004094/1.14, allocations: 123.6 kB / 0.8915 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.736e-05/1.14, allocations: 36 kB / 0.8915 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001801/1.142, allocations: 0.9756 MB / 0.8925 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.01e-07/1.142, allocations: 0 / 0.8925 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003781/1.145, allocations: 0.7579 MB / 0.8932 GB, free: 15.81 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000321/1.146, allocations: 144.2 kB / 0.8934 GB, free: 15.67 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005999/1.152, allocations: 4.047 MB / 0.8973 GB, free: 11.56 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.152, allocations: 0 / 0.8973 GB, free: 11.56 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003791/1.155, allocations: 2.736 MB / 0.9 GB, free: 8.695 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/1.159, allocations: 0.7343 MB / 0.9007 GB, free: 7.992 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/1.176, allocations: 7.195 MB / 0.9077 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005143/1.181, allocations: 3.1 MB / 0.9107 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001663/1.183, allocations: 461.9 kB / 0.9112 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/1.183, allocations: 119.4 kB / 0.9113 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of SimCode: time 1.002e-06/1.183, allocations: 0 / 0.9113 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of Templates: time 0.07124/1.255, allocations: 36.5 MB / 0.9469 GB, free: 9.133 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)