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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [/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.1791/0.1798, allocations: 82.21 MB / 0.5941 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03545/0.2153, allocations: 33.41 MB / 0.6268 GB, free: 4.078 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02223/0.2376, allocations: 10.42 MB / 0.6369 GB, free: 9.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004855/0.2425, allocations: 123.3 kB / 0.637 GB, free: 9.504 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003331/0.2458, allocations: 0.7016 MB / 0.6377 GB, free: 8.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007535/0.2534, allocations: 2.003 MB / 0.6397 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00542/0.2588, allocations: 1.603 MB / 0.6413 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01449/0.2734, allocations: 11.06 MB / 0.6521 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02348/0.2969, allocations: 12.15 MB / 0.6639 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006647/0.3036, allocations: 2.388 MB / 0.6662 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007175/0.3108, allocations: 3.25 MB / 0.6694 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001844/0.3127, allocations: 283.9 kB / 0.6697 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004401/0.3171, allocations: 1.26 MB / 0.6709 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004236/0.3213, allocations: 2.046 MB / 0.6729 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.006125/0.3275, allocations: 2.458 MB / 0.6753 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.34, allocations: 9.738 MB / 0.6848 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3401, allocations: 0 / 0.6848 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3401, allocations: 4 kB / 0.6848 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002796/0.3404, allocations: 0 / 0.6848 GB, free: 8.344 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: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.009989/0.3504, allocations: 4.324 MB / 0.6891 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3504, allocations: 8.031 kB / 0.6891 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005154/0.3556, allocations: 0.9392 MB / 0.69 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4521/0.8077, allocations: 2.98 MB / 0.6929 GB, free: 88.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006718/0.8084, allocations: 351.8 kB / 0.6932 GB, free: 88.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002136/0.8106, allocations: 463.5 kB / 0.6937 GB, free: 88.83 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.8273, allocations: 7.87 MB / 0.7014 GB, free: 87.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001397/0.8275, allocations: 23.92 kB / 0.7014 GB, free: 87.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000609/0.8281, allocations: 208.5 kB / 0.7016 GB, free: 87.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005014/0.8287, allocations: 368.7 kB / 0.7019 GB, free: 87.56 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.8399, allocations: 5.904 MB / 0.7077 GB, free: 85.49 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03111/0.8711, allocations: 25.74 MB / 0.7328 GB, free: 66.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.8738, allocations: 2.159 MB / 0.7349 GB, free: 64.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.8752, allocations: 1.481 MB / 0.7364 GB, free: 64.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.997e-05/0.8753, allocations: 18.23 kB / 0.7364 GB, free: 64.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.8754, allocations: 51.66 kB / 0.7365 GB, free: 64.19 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=157): time 5.05e-06/0.8754, allocations: 3.938 kB / 0.7365 GB, free: 64.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=160): time 0.01166/0.887, allocations: 7.581 MB / 0.7439 GB, free: 57.89 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.8871, allocations: 68.72 kB / 0.7439 GB, free: 57.81 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/0.8894, allocations: 1.86 MB / 0.7457 GB, free: 55.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.8896, allocations: 53.7 kB / 0.7458 GB, free: 55.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009224/0.8905, allocations: 2.114 MB / 0.7479 GB, free: 53.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003913/0.8909, allocations: 0.5461 MB / 0.7484 GB, free: 53.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.8911, allocations: 178.1 kB / 0.7486 GB, free: 53.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.786e-05/0.8912, allocations: 301.1 kB / 0.7488 GB, free: 52.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.8926, allocations: 1.07 MB / 0.7499 GB, free: 51.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.8943, allocations: 1.772 MB / 0.7516 GB, free: 49.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/0.8975, allocations: 3.053 MB / 0.7546 GB, free: 46.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/0.8975, allocations: 8 kB / 0.7546 GB, free: 46.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005705/0.9032, allocations: 3.936 MB / 0.7585 GB, free: 42.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.9033, allocations: 16 kB / 0.7585 GB, free: 42.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/0.9033, allocations: 26.44 kB / 0.7585 GB, free: 42.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/0.9054, allocations: 0.9309 MB / 0.7594 GB, free: 41.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.9067, allocations: 423.3 kB / 0.7598 GB, free: 40.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.9207, allocations: 21.07 MB / 0.7804 GB, free: 18.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.9227, allocations: 123.8 kB / 0.7805 GB, free: 18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/0.9229, allocations: 99.94 kB / 0.7806 GB, free: 17.91 MB / 0.5294 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.002572/0.9255, allocations: 1.646 MB / 0.7822 GB, free: 16.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005069/0.926, allocations: 249.1 kB / 0.7824 GB, free: 16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004858/0.9309, allocations: 3.276 MB / 0.7856 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.9309, allocations: 16 kB / 0.7857 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.967e-05/0.9309, allocations: 12 kB / 0.7857 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.9309, allocations: 7.969 kB / 0.7857 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.9421, allocations: 7.596 MB / 0.7931 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.9421, allocations: 4 kB / 0.7931 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008105/0.9429, allocations: 215.7 kB / 0.7933 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/0.945, allocations: 0.8953 MB / 0.7942 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.9451, allocations: 32 kB / 0.7942 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01966/0.9648, allocations: 21.04 MB / 0.8148 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.076e-05/0.9648, allocations: 7.938 kB / 0.8148 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007076/0.9719, allocations: 3.381 MB / 0.8181 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/0.9737, allocations: 0.5408 MB / 0.8186 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009087/0.9746, allocations: 36 kB / 0.8186 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/0.9763, allocations: 91.88 kB / 0.8187 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005083/0.9768, allocations: 137 kB / 0.8189 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.977, allocations: 52 kB / 0.8189 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002659/0.9796, allocations: 1.221 MB / 0.8201 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9796, allocations: 0 / 0.8201 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003955/0.9836, allocations: 0.8789 MB / 0.821 GB, free: 6.637 MB / 0.5606 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003728/0.984, allocations: 164 kB / 0.8211 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007104/0.9911, allocations: 4.434 MB / 0.8254 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.9911, allocations: 4 kB / 0.8254 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004346/0.9955, allocations: 2.998 MB / 0.8284 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005716/1.001, allocations: 0.7696 MB / 0.8291 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/1.02, allocations: 9.824 MB / 0.8387 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005258/1.025, allocations: 3.227 MB / 0.8419 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002741/1.028, allocations: 0.5332 MB / 0.8424 GB, free: 296 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006225/1.029, allocations: 139.4 kB / 0.8425 GB, free: 156 kB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/1.029, allocations: 4 kB / 0.8425 GB, free: 152 kB / 0.5762 GB Notification: Performance of Templates: time 0.07944/1.108, allocations: 40.62 MB / 0.8822 GB, free: 8.168 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: