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.1741/0.176, allocations: 80.84 MB / 0.5899 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01615/0.1923, allocations: 14.37 MB / 0.6039 GB, free: 8.57 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02087/0.2132, allocations: 10.47 MB / 0.6141 GB, free: 14.06 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.2158, allocations: 51.62 kB / 0.6142 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006582/0.2225, allocations: 1.588 MB / 0.6157 GB, free: 12.42 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009857/0.2323, allocations: 1.654 MB / 0.6174 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.2364, allocations: 0.6921 MB / 0.618 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007125/0.2436, allocations: 2.711 MB / 0.6207 GB, free: 7.363 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004128/0.2477, allocations: 1.571 MB / 0.6222 GB, free: 5.762 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004217/0.252, allocations: 1.511 MB / 0.6237 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003342/0.2553, allocations: 1.214 MB / 0.6249 GB, free: 3.027 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007194/0.2561, allocations: 156 kB / 0.625 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.2589, allocations: 0.7838 MB / 0.6258 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.26, allocations: 0.5881 MB / 0.6264 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002254/0.2623, allocations: 0.9327 MB / 0.6273 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006676/0.269, allocations: 2.733 MB / 0.63 GB, free: 13.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.2691, allocations: 0 / 0.63 GB, free: 13.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.2691, allocations: 0 / 0.63 GB, free: 13.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.967e-05/0.2692, allocations: 0 / 0.63 GB, free: 13.82 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.006842/0.276, allocations: 2.154 MB / 0.6321 GB, free: 11.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.2761, allocations: 8.031 kB / 0.6321 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02229/0.2984, allocations: 2.097 MB / 0.6341 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004992/0.3035, allocations: 1.206 MB / 0.6353 GB, free: 8.238 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.3037, allocations: 94.16 kB / 0.6354 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005462/0.3042, allocations: 112 kB / 0.6355 GB, free: 8.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.3146, allocations: 2.641 MB / 0.6381 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.752e-05/0.3147, allocations: 7.906 kB / 0.6381 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002965/0.315, allocations: 55.97 kB / 0.6381 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00123/0.3162, allocations: 194 kB / 0.6383 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.328, allocations: 2.779 MB / 0.641 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.3419, allocations: 8.852 MB / 0.6497 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006339/0.3483, allocations: 2.336 MB / 0.6519 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003195/0.3515, allocations: 1.277 MB / 0.6532 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.522e-05/0.3517, allocations: 9 kB / 0.6532 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.3517, allocations: 47.55 kB / 0.6533 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=89): time 3.206e-06/0.3517, allocations: 4 kB / 0.6533 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=153): time 0.05669/0.4084, allocations: 16.44 MB / 0.6693 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.4085, allocations: 64.72 kB / 0.6694 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.4102, allocations: 1.172 MB / 0.6705 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.4104, allocations: 49.7 kB / 0.6706 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005526/0.4109, allocations: 0.732 MB / 0.6713 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005005/0.4114, allocations: 0.516 MB / 0.6718 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005478/0.412, allocations: 287.4 kB / 0.6721 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4121, allocations: 301.1 kB / 0.6723 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003396/0.4155, allocations: 1.518 MB / 0.6738 GB, free: 172 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003472/0.419, allocations: 1.776 MB / 0.6756 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007132/0.4261, allocations: 3.377 MB / 0.6789 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.4262, allocations: 4 kB / 0.6789 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01343/0.4396, allocations: 5.272 MB / 0.684 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.4397, allocations: 11.94 kB / 0.684 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.4397, allocations: 8.875 kB / 0.684 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007045/0.4468, allocations: 1.919 MB / 0.6859 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/0.4488, allocations: 419.2 kB / 0.6863 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3662/0.815, allocations: 24.2 MB / 0.7099 GB, free: 102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/0.8178, allocations: 307.1 kB / 0.7102 GB, free: 102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.818, allocations: 67.62 kB / 0.7103 GB, free: 102 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.000822/0.8188, allocations: 462 kB / 0.7107 GB, free: 101.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.8191, allocations: 175.1 kB / 0.7109 GB, free: 101.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.8318, allocations: 5.322 MB / 0.7161 GB, free: 101.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.8318, allocations: 19.48 kB / 0.7161 GB, free: 101.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.293e-05/0.8319, allocations: 23.84 kB / 0.7161 GB, free: 101.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.358e-05/0.8319, allocations: 7.5 kB / 0.7161 GB, free: 101.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/0.8475, allocations: 7.413 MB / 0.7234 GB, free: 100.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/0.8475, allocations: 6.531 kB / 0.7234 GB, free: 100.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/0.8494, allocations: 350 kB / 0.7237 GB, free: 100.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006381/0.8558, allocations: 1.719 MB / 0.7254 GB, free: 100 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/0.856, allocations: 42.38 kB / 0.7254 GB, free: 100 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02334/0.8793, allocations: 23.33 MB / 0.7482 GB, free: 82.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8794, allocations: 7.875 kB / 0.7482 GB, free: 82.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/0.8898, allocations: 4.89 MB / 0.753 GB, free: 79.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/0.8905, allocations: 493.6 kB / 0.7535 GB, free: 79.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.8908, allocations: 27.72 kB / 0.7535 GB, free: 79.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/0.8927, allocations: 322.2 kB / 0.7538 GB, free: 79.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004771/0.8932, allocations: 151.6 kB / 0.754 GB, free: 79.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/0.8933, allocations: 56.28 kB / 0.754 GB, free: 79.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007906/0.8941, allocations: 0.79 MB / 0.7548 GB, free: 78.74 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8941, allocations: 0 / 0.7548 GB, free: 78.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001639/0.8958, allocations: 0.6463 MB / 0.7554 GB, free: 78.66 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.0002464/0.896, allocations: 134.6 kB / 0.7555 GB, free: 78.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009878/0.9059, allocations: 5.498 MB / 0.7609 GB, free: 73.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.906, allocations: 0 / 0.7609 GB, free: 73.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006276/0.9122, allocations: 3.361 MB / 0.7642 GB, free: 69.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/0.9148, allocations: 0.5597 MB / 0.7647 GB, free: 69.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007929/0.9228, allocations: 5.063 MB / 0.7697 GB, free: 64.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008569/0.9236, allocations: 1.564 MB / 0.7712 GB, free: 62.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001598/0.9253, allocations: 395.6 kB / 0.7716 GB, free: 62.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003413/0.9256, allocations: 105.8 kB / 0.7717 GB, free: 61.93 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.9256, allocations: 0 / 0.7717 GB, free: 61.93 MB / 0.545 GB Notification: Performance of Templates: time 0.04954/0.9752, allocations: 45.08 MB / 0.8157 GB, free: 17.38 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)