Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [/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.188/0.1904, allocations: 80.83 MB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01793/0.2083, allocations: 13.73 MB / 0.684 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.2247, allocations: 9.61 MB / 0.6934 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.2267, allocations: 63.62 kB / 0.6935 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004988/0.2317, allocations: 1.663 MB / 0.6951 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005904/0.2376, allocations: 1.579 MB / 0.6966 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.2399, allocations: 0.7445 MB / 0.6974 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004009/0.2439, allocations: 2.476 MB / 0.6998 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.246, allocations: 1.399 MB / 0.7012 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.2482, allocations: 1.035 MB / 0.7022 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.2501, allocations: 1.144 MB / 0.7033 GB, free: 460 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.2503, allocations: 164 kB / 0.7034 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.252, allocations: 0.7916 MB / 0.7042 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005483/0.2525, allocations: 0.6077 MB / 0.7048 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009192/0.2534, allocations: 0.9173 MB / 0.7057 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003672/0.2571, allocations: 2.716 MB / 0.7084 GB, free: 11.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2571, allocations: 0 / 0.7084 GB, free: 11.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2572, allocations: 0 / 0.7084 GB, free: 11.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.753e-05/0.2572, allocations: 0 / 0.7084 GB, free: 11.24 MB / 0.545 GB 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.003777/0.261, allocations: 2.179 MB / 0.7105 GB, free: 9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.261, allocations: 12.03 kB / 0.7105 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.2721, allocations: 2.086 MB / 0.7125 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.2747, allocations: 1.295 MB / 0.7138 GB, free: 5.547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.2748, allocations: 90.22 kB / 0.7139 GB, free: 5.457 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.2751, allocations: 115.9 kB / 0.714 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005521/0.2806, allocations: 2.646 MB / 0.7166 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/0.2806, allocations: 7.938 kB / 0.7166 GB, free: 2.539 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.2808, allocations: 51.98 kB / 0.7166 GB, free: 2.488 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006024/0.2814, allocations: 182 kB / 0.7168 GB, free: 2.309 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007424/0.2889, allocations: 2.775 MB / 0.7195 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/0.3027, allocations: 8.824 MB / 0.7281 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006886/0.3096, allocations: 2.525 MB / 0.7306 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003415/0.3131, allocations: 1.288 MB / 0.7319 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.53e-05/0.3132, allocations: 12.98 kB / 0.7319 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.3132, allocations: 43.56 kB / 0.7319 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=89): time 3.246e-06/0.3132, allocations: 4 kB / 0.7319 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131): time 0.04729/0.3605, allocations: 13.44 MB / 0.7451 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.3606, allocations: 68.66 kB / 0.7451 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.3626, allocations: 1.113 MB / 0.7462 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002029/0.3628, allocations: 57.64 kB / 0.7463 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006083/0.3634, allocations: 0.7131 MB / 0.747 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006502/0.3641, allocations: 467.9 kB / 0.7474 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006313/0.3647, allocations: 267.5 kB / 0.7477 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3649, allocations: 357.9 kB / 0.748 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003535/0.3685, allocations: 1.343 MB / 0.7493 GB, free: 480 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4533/0.8218, allocations: 1.602 MB / 0.7509 GB, free: 72.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009402/0.8313, allocations: 2.997 MB / 0.7538 GB, free: 71.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-05/0.8314, allocations: 1.312 kB / 0.7538 GB, free: 71.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01552/0.8469, allocations: 4.455 MB / 0.7582 GB, free: 70.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.26e-05/0.847, allocations: 8.875 kB / 0.7582 GB, free: 70.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.239e-05/0.847, allocations: 6.922 kB / 0.7582 GB, free: 70.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006689/0.8537, allocations: 1.436 MB / 0.7596 GB, free: 70.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/0.8565, allocations: 430.4 kB / 0.76 GB, free: 70.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02854/0.8851, allocations: 26.72 MB / 0.7861 GB, free: 48.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002989/0.8881, allocations: 309.7 kB / 0.7864 GB, free: 48.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003956/0.8886, allocations: 62.05 kB / 0.7864 GB, free: 48.11 MB / 0.5762 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001264/0.8898, allocations: 433.4 kB / 0.7868 GB, free: 47.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006723/0.8905, allocations: 166.4 kB / 0.787 GB, free: 47.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.9036, allocations: 4.453 MB / 0.7913 GB, free: 45.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.335e-05/0.9037, allocations: 12.31 kB / 0.7914 GB, free: 45.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001006/0.9038, allocations: 12.69 kB / 0.7914 GB, free: 45.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-05/0.9038, allocations: 9.094 kB / 0.7914 GB, free: 45.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/0.922, allocations: 6.772 MB / 0.798 GB, free: 41.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/0.9221, allocations: 5.906 kB / 0.798 GB, free: 41.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.9238, allocations: 383.8 kB / 0.7984 GB, free: 41.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004425/0.9283, allocations: 1.298 MB / 0.7996 GB, free: 40.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/0.9286, allocations: 38.09 kB / 0.7997 GB, free: 40.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02094/0.9495, allocations: 25.52 MB / 0.8246 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.9496, allocations: 4 kB / 0.8246 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/0.9604, allocations: 4.211 MB / 0.8287 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/0.9619, allocations: 466.2 kB / 0.8292 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005817/0.9625, allocations: 24 kB / 0.8292 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/0.9649, allocations: 315.5 kB / 0.8295 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006042/0.9656, allocations: 120.7 kB / 0.8296 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/0.9657, allocations: 55.97 kB / 0.8296 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001325/0.9671, allocations: 0.7487 MB / 0.8304 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9671, allocations: 0 / 0.8304 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003121/0.9702, allocations: 0.5625 MB / 0.8309 GB, free: 9.535 MB / 0.5762 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003858/0.9706, allocations: 142.2 kB / 0.8311 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01083/0.9815, allocations: 5.165 MB / 0.8361 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.9815, allocations: 4 kB / 0.8361 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00675/0.9883, allocations: 3.496 MB / 0.8395 GB, free: 412 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003657/0.992, allocations: 0.5658 MB / 0.8401 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/1.004, allocations: 4.08 MB / 0.8441 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002132/1.006, allocations: 1.473 MB / 0.8455 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002148/1.008, allocations: 429.6 kB / 0.8459 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006129/1.009, allocations: 119.4 kB / 0.846 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/1.009, allocations: 4 kB / 0.846 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of Templates: time 0.07762/1.086, allocations: 39.29 MB / 0.8844 GB, free: 2.766 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)