Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [/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.195/0.1969, allocations: 80.83 MB / 0.5897 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0157/0.2126, allocations: 14.37 MB / 0.6037 GB, free: 8.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.2263, allocations: 10.6 MB / 0.6141 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.2279, allocations: 55.62 kB / 0.6141 GB, free: 13.97 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003917/0.2318, allocations: 1.576 MB / 0.6157 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.2374, allocations: 1.624 MB / 0.6173 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.2396, allocations: 0.6852 MB / 0.6179 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004434/0.2441, allocations: 3.363 MB / 0.6212 GB, free: 6.715 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/0.2464, allocations: 1.348 MB / 0.6225 GB, free: 5.336 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.2489, allocations: 1.383 MB / 0.6239 GB, free: 3.949 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.2509, allocations: 1.175 MB / 0.625 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.2512, allocations: 96 kB / 0.6251 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.2532, allocations: 0.885 MB / 0.626 GB, free: 1.789 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005374/0.2537, allocations: 0.5334 MB / 0.6265 GB, free: 1.254 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009514/0.2547, allocations: 0.8625 MB / 0.6273 GB, free: 396 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002933/0.2576, allocations: 2.686 MB / 0.63 GB, free: 13.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2577, allocations: 0 / 0.63 GB, free: 13.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2577, allocations: 0 / 0.63 GB, free: 13.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.012e-05/0.2577, allocations: 0 / 0.63 GB, free: 13.69 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.004122/0.2618, allocations: 2.15 MB / 0.6321 GB, free: 11.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2619, allocations: 8.031 kB / 0.6321 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.2728, allocations: 2.101 MB / 0.6341 GB, free: 9.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.2756, allocations: 1.206 MB / 0.6353 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.105e-05/0.2757, allocations: 86.17 kB / 0.6354 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.276, allocations: 108 kB / 0.6355 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005576/0.2815, allocations: 2.652 MB / 0.6381 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/0.2816, allocations: 19.78 kB / 0.6381 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.2818, allocations: 47.98 kB / 0.6381 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005761/0.2824, allocations: 194 kB / 0.6383 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006926/0.2893, allocations: 2.771 MB / 0.641 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/0.304, allocations: 8.848 MB / 0.6497 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006012/0.3101, allocations: 2.34 MB / 0.652 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003133/0.3132, allocations: 1.273 MB / 0.6532 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.3134, allocations: 9 kB / 0.6532 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.706e-05/0.3135, allocations: 55.5 kB / 0.6533 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=89): time 3.246e-06/0.3135, allocations: 0 / 0.6533 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=153): time 0.05883/0.3723, allocations: 16.43 MB / 0.6693 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.3724, allocations: 68.72 kB / 0.6694 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.3743, allocations: 1.176 MB / 0.6705 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002854/0.3746, allocations: 53.7 kB / 0.6706 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006287/0.3753, allocations: 0.732 MB / 0.6713 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006609/0.3759, allocations: 0.5082 MB / 0.6718 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007103/0.3767, allocations: 291.4 kB / 0.6721 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3768, allocations: 305.1 kB / 0.6724 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00346/0.3802, allocations: 1.507 MB / 0.6738 GB, free: 52 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003638/0.3839, allocations: 1.78 MB / 0.6756 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007447/0.3914, allocations: 3.381 MB / 0.6789 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.3914, allocations: 0 / 0.6789 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01378/0.4052, allocations: 5.284 MB / 0.684 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.4053, allocations: 11.94 kB / 0.684 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.4053, allocations: 8 kB / 0.684 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007076/0.4124, allocations: 1.897 MB / 0.6859 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.4144, allocations: 415.3 kB / 0.6863 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4273/0.8417, allocations: 22.23 MB / 0.708 GB, free: 103.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/0.8453, allocations: 309.6 kB / 0.7083 GB, free: 103.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.8456, allocations: 66.91 kB / 0.7084 GB, free: 103.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (6,14,80.6%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001054/0.8467, allocations: 467.5 kB / 0.7088 GB, free: 103.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.847, allocations: 177.5 kB / 0.709 GB, free: 103.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.8605, allocations: 5.316 MB / 0.7142 GB, free: 103.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/0.8606, allocations: 17.72 kB / 0.7142 GB, free: 103.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.444e-05/0.8606, allocations: 17.03 kB / 0.7142 GB, free: 103.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/0.8607, allocations: 10.92 kB / 0.7142 GB, free: 103.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02004/0.8807, allocations: 7.426 MB / 0.7215 GB, free: 102.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.111e-05/0.8808, allocations: 3.219 kB / 0.7215 GB, free: 102.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002366/0.8832, allocations: 349.9 kB / 0.7218 GB, free: 102.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008158/0.8914, allocations: 1.702 MB / 0.7235 GB, free: 101.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002808/0.8917, allocations: 42.03 kB / 0.7235 GB, free: 101.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03277/0.9245, allocations: 21.35 MB / 0.7444 GB, free: 86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.9245, allocations: 7.906 kB / 0.7444 GB, free: 86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.9357, allocations: 4.9 MB / 0.7491 GB, free: 83.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.9368, allocations: 488.3 kB / 0.7496 GB, free: 82.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/0.9371, allocations: 34.61 kB / 0.7496 GB, free: 82.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.9391, allocations: 314 kB / 0.7499 GB, free: 82.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006774/0.9397, allocations: 154.4 kB / 0.7501 GB, free: 82.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/0.9399, allocations: 53.19 kB / 0.7501 GB, free: 82.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001001/0.9409, allocations: 0.7905 MB / 0.7509 GB, free: 82.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9409, allocations: 0 / 0.7509 GB, free: 82.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002275/0.9432, allocations: 0.6426 MB / 0.7515 GB, free: 82.05 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003033/0.9435, allocations: 145.1 kB / 0.7517 GB, free: 81.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01012/0.9536, allocations: 5.196 MB / 0.7568 GB, free: 77.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/0.9537, allocations: 0 / 0.7568 GB, free: 77.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006379/0.9601, allocations: 3.369 MB / 0.76 GB, free: 74.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/0.9631, allocations: 0.5071 MB / 0.7605 GB, free: 73.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009285/0.9724, allocations: 5.069 MB / 0.7655 GB, free: 68.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.9737, allocations: 1.563 MB / 0.767 GB, free: 66.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001861/0.9755, allocations: 390.5 kB / 0.7674 GB, free: 66.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/0.9759, allocations: 111.4 kB / 0.7675 GB, free: 66.43 MB / 0.545 GB Notification: Performance of SimCode: time 1.563e-06/0.9759, allocations: 0 / 0.7675 GB, free: 66.43 MB / 0.545 GB Notification: Performance of Templates: time 0.06146/1.037, allocations: 43.33 MB / 0.8098 GB, free: 23.6 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)