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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.5065/0.5089, allocations: 80.82 MB / 0.5904 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03032/0.5393, allocations: 30.13 MB / 0.6199 GB, free: 8.574 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02519/0.5645, allocations: 14 MB / 0.6335 GB, free: 10.55 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005302/0.57, allocations: 143.2 kB / 0.6337 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.5802, allocations: 3.187 MB / 0.6368 GB, free: 7.215 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.5921, allocations: 2.712 MB / 0.6394 GB, free: 4.488 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008414/0.6006, allocations: 1.995 MB / 0.6414 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01319/0.6138, allocations: 7.418 MB / 0.6486 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01476/0.6286, allocations: 8.256 MB / 0.6567 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008586/0.6372, allocations: 3.342 MB / 0.6599 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007088/0.6443, allocations: 3.387 MB / 0.6632 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002731/0.6471, allocations: 0.5859 MB / 0.6638 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006303/0.6535, allocations: 1.486 MB / 0.6653 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00562/0.6591, allocations: 2.3 MB / 0.6675 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01003/0.6692, allocations: 2.789 MB / 0.6702 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01642/0.6857, allocations: 9.231 MB / 0.6793 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.6857, allocations: 4 kB / 0.6793 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6857, allocations: 0 / 0.6793 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003482/0.6861, allocations: 0 / 0.6793 GB, free: 11.49 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1109 * Number of variables: 1109 Notification: Performance of Generate backend data structure: time 0.01698/0.7031, allocations: 5.065 MB / 0.6842 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.7031, allocations: 12.03 kB / 0.6842 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007712/0.7109, allocations: 0.9747 MB / 0.6852 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008299/0.7192, allocations: 2.868 MB / 0.688 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004103/0.7196, allocations: 308.7 kB / 0.6883 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002203/0.7219, allocations: 420 kB / 0.6887 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02023/0.7421, allocations: 6.722 MB / 0.6952 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003011/0.7425, allocations: 19.84 kB / 0.6952 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001856/0.7444, allocations: 180 kB / 0.6954 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001116/0.7455, allocations: 371.8 kB / 0.6958 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/0.7591, allocations: 5.067 MB / 0.7007 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03959/0.7987, allocations: 22.16 MB / 0.7224 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/0.8015, allocations: 1.391 MB / 0.7237 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/0.8036, allocations: 1.332 MB / 0.725 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.8037, allocations: 21.31 kB / 0.725 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.663e-05/0.8038, allocations: 51.75 kB / 0.7251 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=130): time 3.747e-06/0.8038, allocations: 0 / 0.7251 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=199): time 0.09348/0.8973, allocations: 23.08 MB / 0.7476 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.8974, allocations: 73.41 kB / 0.7477 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004338/0.9018, allocations: 2.058 MB / 0.7497 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003704/0.9022, allocations: 61.7 kB / 0.7498 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.4243/1.327, allocations: 1.97 MB / 0.7517 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001169/1.328, allocations: 0.683 MB / 0.7524 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/1.329, allocations: 411.2 kB / 0.7527 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.244e-05/1.329, allocations: 305.1 kB / 0.753 GB, free: 142 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002513/1.331, allocations: 1.438 MB / 0.7544 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00239/1.334, allocations: 2.01 MB / 0.7564 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005785/1.34, allocations: 3.717 MB / 0.76 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/1.34, allocations: 5.125 kB / 0.76 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01275/1.352, allocations: 5.666 MB / 0.7656 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/1.353, allocations: 11.78 kB / 0.7656 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/1.353, allocations: 19.78 kB / 0.7656 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006472/1.359, allocations: 2.095 MB / 0.7677 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/1.361, allocations: 372.7 kB / 0.768 GB, free: 135.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03148/1.392, allocations: 38.47 MB / 0.8056 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/1.395, allocations: 123.9 kB / 0.8057 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/1.395, allocations: 92 kB / 0.8058 GB, free: 100.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.003008/1.398, allocations: 1.517 MB / 0.8073 GB, free: 99.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007281/1.399, allocations: 284.6 kB / 0.8075 GB, free: 99.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008841/1.408, allocations: 5.215 MB / 0.8126 GB, free: 93.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.408, allocations: 20 kB / 0.8126 GB, free: 93.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.88e-05/1.408, allocations: 19.94 kB / 0.8127 GB, free: 93.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/1.408, allocations: 11.97 kB / 0.8127 GB, free: 93.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/1.423, allocations: 9.698 MB / 0.8221 GB, free: 83.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.423, allocations: 8 kB / 0.8222 GB, free: 83.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/1.424, allocations: 212.5 kB / 0.8224 GB, free: 83.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005126/1.429, allocations: 1.859 MB / 0.8242 GB, free: 81.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/1.429, allocations: 40 kB / 0.8242 GB, free: 81.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02842/1.458, allocations: 37.48 MB / 0.8608 GB, free: 41.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.458, allocations: 8 kB / 0.8608 GB, free: 41.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008105/1.466, allocations: 4.918 MB / 0.8656 GB, free: 36.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.467, allocations: 0.6262 MB / 0.8662 GB, free: 36.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004886/1.468, allocations: 51.89 kB / 0.8663 GB, free: 36.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.469, allocations: 123.8 kB / 0.8664 GB, free: 35.92 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006442/1.47, allocations: 189.7 kB / 0.8666 GB, free: 35.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/1.47, allocations: 60 kB / 0.8666 GB, free: 35.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001956/1.472, allocations: 1.378 MB / 0.868 GB, free: 34.29 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/1.472, allocations: 3 kB / 0.868 GB, free: 34.29 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003502/1.475, allocations: 1.016 MB / 0.869 GB, free: 33.27 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002953/1.476, allocations: 172.2 kB / 0.8691 GB, free: 33.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.486, allocations: 7.245 MB / 0.8762 GB, free: 25.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/1.486, allocations: 4 kB / 0.8762 GB, free: 25.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005603/1.492, allocations: 4.397 MB / 0.8805 GB, free: 21.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004265/1.496, allocations: 1.012 MB / 0.8815 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/1.509, allocations: 8.202 MB / 0.8895 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002584/1.511, allocations: 3.122 MB / 0.8926 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001876/1.513, allocations: 0.5315 MB / 0.8931 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/1.513, allocations: 151.4 kB / 0.8932 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/1.513, allocations: 0 / 0.8932 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of Templates: time 0.1049/1.618, allocations: 60.09 MB / 0.9519 GB, free: 12.7 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)