Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6924/0.6924, allocations: 132.3 MB / 144.9 MB, free: 10.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001029/0.001029, allocations: 180.6 kB / 176.9 MB, free: 2.152 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.175/1.175, allocations: 170.5 MB / 379.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001562/0.001562, allocations: 118.3 kB / 450 MB, free: 5.855 MB / 346.7 MB [/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.371/0.3711, allocations: 73.39 MB / 0.6736 GB, free: 47.66 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.536, allocations: 155.8 MB / 0.8257 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.5363, allocations: 94.66 kB / 0.8258 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4431/0.9794, allocations: 65.5 MB / 0.8898 GB, free: 130.2 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.01e-07/0.9794, allocations: 1.594 kB / 0.8898 GB, free: 130.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.781e-05/0.9795, allocations: 36.3 kB / 0.8898 GB, free: 130.2 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003047/0.9826, allocations: 1.667 MB / 0.8914 GB, free: 129.4 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.9826, allocations: 10 kB / 0.8915 GB, free: 129.4 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.9858, allocations: 0.6542 MB / 0.8921 GB, free: 129.3 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.9883, allocations: 1.234 MB / 0.8933 GB, free: 129 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.9885, allocations: 126.6 kB / 0.8934 GB, free: 129 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003109/0.9888, allocations: 156.2 kB / 0.8936 GB, free: 129 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004662/0.9935, allocations: 2.579 MB / 0.8961 GB, free: 128.8 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/0.9935, allocations: 4.562 kB / 0.8961 GB, free: 128.8 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.9937, allocations: 67.91 kB / 0.8962 GB, free: 128.8 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.9938, allocations: 88.55 kB / 0.8962 GB, free: 128.8 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003225/0.9971, allocations: 2.139 MB / 0.8983 GB, free: 128.8 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009912/1.007, allocations: 8.347 MB / 0.9065 GB, free: 126.3 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/1.008, allocations: 0.7395 MB / 0.9072 GB, free: 126.3 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/1.009, allocations: 0.5228 MB / 0.9077 GB, free: 126.3 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/1.009, allocations: 96.45 kB / 0.9078 GB, free: 126.2 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/1.009, allocations: 42.34 kB / 0.9078 GB, free: 126.1 MB / 0.573 GB Notification: Performance of pre-optimization done (n=46): time 2.515e-06/1.009, allocations: 0 / 0.9078 GB, free: 126.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=72): time 0.01801/1.027, allocations: 7.159 MB / 0.9148 GB, free: 124.7 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/1.027, allocations: 85.98 kB / 0.9149 GB, free: 124.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/1.028, allocations: 0.848 MB / 0.9157 GB, free: 124.3 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/1.028, allocations: 38.95 kB / 0.9158 GB, free: 124.3 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000558/1.029, allocations: 0.7598 MB / 0.9165 GB, free: 123.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/1.029, allocations: 252.3 kB / 0.9168 GB, free: 123.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/1.029, allocations: 21.78 kB / 0.9168 GB, free: 123.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.029, allocations: 399.8 kB / 0.9172 GB, free: 123.1 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009382/1.03, allocations: 0.7727 MB / 0.9179 GB, free: 122.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/1.031, allocations: 1.117 MB / 0.919 GB, free: 122.1 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/1.033, allocations: 0.974 MB / 0.92 GB, free: 121.8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.033, allocations: 3.5 kB / 0.92 GB, free: 121.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006835/1.039, allocations: 3.401 MB / 0.9233 GB, free: 120.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006783/1.04, allocations: 4.271 MB / 0.9275 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.04, allocations: 17.23 kB / 0.9275 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005305/1.045, allocations: 1.749 MB / 0.9292 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/1.046, allocations: 227.7 kB / 0.9294 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00827/1.055, allocations: 7.288 MB / 0.9365 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.056, allocations: 189.1 kB / 0.9367 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/1.056, allocations: 48.23 kB / 0.9367 GB, free: 112 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/1.056, allocations: 4.156 kB / 0.9367 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005312/1.061, allocations: 2.745 MB / 0.9394 GB, free: 111.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/1.061, allocations: 10.31 kB / 0.9394 GB, free: 111.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003142/1.065, allocations: 1.033 MB / 0.9404 GB, free: 111 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009655/1.066, allocations: 291.5 kB / 0.9407 GB, free: 111 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00762/1.073, allocations: 6.071 MB / 0.9467 GB, free: 107.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.074, allocations: 160.6 kB / 0.9468 GB, free: 107.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/1.074, allocations: 45.47 kB / 0.9468 GB, free: 107.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002804/1.075, allocations: 162.9 kB / 0.947 GB, free: 107.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/1.075, allocations: 89.19 kB / 0.9471 GB, free: 107.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006338/1.081, allocations: 3.017 MB / 0.95 GB, free: 106.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/1.081, allocations: 6.625 kB / 0.95 GB, free: 106.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.081, allocations: 3.219 kB / 0.95 GB, free: 106.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.081, allocations: 5 kB / 0.95 GB, free: 106.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009045/1.09, allocations: 5.506 MB / 0.9554 GB, free: 104.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.09, allocations: 0 / 0.9554 GB, free: 104.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/1.091, allocations: 108.3 kB / 0.9555 GB, free: 104.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004727/1.095, allocations: 1.638 MB / 0.9571 GB, free: 104.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.801e-05/1.095, allocations: 12.75 kB / 0.9571 GB, free: 104.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/1.106, allocations: 9.465 MB / 0.9664 GB, free: 99.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.106, allocations: 7.938 kB / 0.9664 GB, free: 99.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005533/1.112, allocations: 2.959 MB / 0.9693 GB, free: 98.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007386/1.112, allocations: 350.8 kB / 0.9696 GB, free: 97.88 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/1.112, allocations: 11.75 kB / 0.9696 GB, free: 97.87 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007445/1.113, allocations: 141.6 kB / 0.9698 GB, free: 97.86 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/1.113, allocations: 60.23 kB / 0.9698 GB, free: 97.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/1.114, allocations: 18 kB / 0.9698 GB, free: 97.84 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000766/1.114, allocations: 0.6719 MB / 0.9705 GB, free: 97.56 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.114, allocations: 0.5625 kB / 0.9705 GB, free: 97.56 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002203/1.117, allocations: 0.6812 MB / 0.9712 GB, free: 97.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003476/1.117, allocations: 180.9 kB / 0.9713 GB, free: 97.38 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005715/1.123, allocations: 3.627 MB / 0.9749 GB, free: 96.02 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.123, allocations: 0 / 0.9749 GB, free: 96.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/1.125, allocations: 1.371 MB / 0.9762 GB, free: 95.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009204/1.126, allocations: 236.1 kB / 0.9764 GB, free: 95.34 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/1.13, allocations: 2.91 MB / 0.9793 GB, free: 94.28 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/1.131, allocations: 1.748 MB / 0.981 GB, free: 93.34 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001401/1.132, allocations: 0.68 MB / 0.9817 GB, free: 93.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/1.132, allocations: 55.17 kB / 0.9817 GB, free: 93.29 MB / 0.573 GB Notification: Performance of SimCode: time 5.11e-07/1.132, allocations: 0 / 0.9817 GB, free: 93.29 MB / 0.573 GB Notification: Performance of Templates: time 0.03246/1.165, allocations: 28.68 MB / 1.01 GB, free: 71.57 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)