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.1786/0.1804, allocations: 80.84 MB / 0.5897 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04112/0.2216, allocations: 34.24 MB / 0.6231 GB, free: 4.758 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02227/0.244, allocations: 10.51 MB / 0.6334 GB, free: 10.22 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006427/0.2505, allocations: 135.2 kB / 0.6335 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.2616, allocations: 3.541 MB / 0.637 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006324/0.2679, allocations: 2.011 MB / 0.639 GB, free: 4.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005202/0.2732, allocations: 1.774 MB / 0.6407 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01219/0.2854, allocations: 11.07 MB / 0.6515 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01716/0.3026, allocations: 10.68 MB / 0.6619 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005573/0.3082, allocations: 2.845 MB / 0.6647 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006543/0.3148, allocations: 3.843 MB / 0.6685 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001708/0.3165, allocations: 468 kB / 0.6689 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004321/0.3209, allocations: 1.443 MB / 0.6703 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00316/0.324, allocations: 2.331 MB / 0.6726 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004675/0.3287, allocations: 2.784 MB / 0.6753 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.3396, allocations: 10.06 MB / 0.6851 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3396, allocations: 4 kB / 0.6851 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3397, allocations: 0 / 0.6851 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002629/0.3399, allocations: 0 / 0.6851 GB, free: 5.016 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.3371/0.677, allocations: 5.357 MB / 0.6904 GB, free: 89.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.6771, allocations: 9 kB / 0.6904 GB, free: 89.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006663/0.6838, allocations: 0.9406 MB / 0.6913 GB, free: 89.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00675/0.6906, allocations: 2.991 MB / 0.6942 GB, free: 89.03 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.6909, allocations: 354.4 kB / 0.6946 GB, free: 89.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001505/0.6924, allocations: 462.9 kB / 0.695 GB, free: 89.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/0.712, allocations: 7.866 MB / 0.7027 GB, free: 87.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002604/0.7123, allocations: 24.98 kB / 0.7027 GB, free: 87.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001594/0.7139, allocations: 208.3 kB / 0.7029 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000803/0.7147, allocations: 366.9 kB / 0.7033 GB, free: 87.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/0.7307, allocations: 5.906 MB / 0.709 GB, free: 84.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03963/0.7704, allocations: 25.7 MB / 0.7341 GB, free: 64.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003363/0.7739, allocations: 2.147 MB / 0.7362 GB, free: 63.33 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001701/0.7756, allocations: 1.485 MB / 0.7377 GB, free: 61.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.7757, allocations: 17.31 kB / 0.7377 GB, free: 61.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.7758, allocations: 51.88 kB / 0.7377 GB, free: 61.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=157): time 3.707e-06/0.7758, allocations: 0 / 0.7377 GB, free: 61.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=160): time 0.01188/0.7877, allocations: 7.544 MB / 0.7451 GB, free: 53.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.7878, allocations: 68.72 kB / 0.7452 GB, free: 53.87 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/0.7903, allocations: 1.856 MB / 0.747 GB, free: 51.99 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.7904, allocations: 57.7 kB / 0.747 GB, free: 51.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008628/0.7913, allocations: 2.114 MB / 0.7491 GB, free: 49.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003779/0.7917, allocations: 0.5459 MB / 0.7496 GB, free: 49.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005428/0.7922, allocations: 407.7 kB / 0.75 GB, free: 48.85 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.495e-05/0.7923, allocations: 305.1 kB / 0.7503 GB, free: 48.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.7936, allocations: 1.07 MB / 0.7514 GB, free: 47.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.7952, allocations: 1.764 MB / 0.7531 GB, free: 45.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/0.7985, allocations: 3.064 MB / 0.7561 GB, free: 42.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/0.7985, allocations: 8 kB / 0.7561 GB, free: 42.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005722/0.8042, allocations: 3.92 MB / 0.7599 GB, free: 38.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.8043, allocations: 16 kB / 0.7599 GB, free: 38.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/0.8043, allocations: 20.84 kB / 0.7599 GB, free: 38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.8065, allocations: 0.9271 MB / 0.7608 GB, free: 37.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.8079, allocations: 431.3 kB / 0.7613 GB, free: 36.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.8218, allocations: 21.06 MB / 0.7818 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.8237, allocations: 123.9 kB / 0.7819 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.8239, allocations: 92 kB / 0.782 GB, free: 13.78 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.002255/0.8261, allocations: 1.645 MB / 0.7836 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004406/0.8266, allocations: 256.9 kB / 0.7839 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004354/0.8309, allocations: 3.271 MB / 0.7871 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.831, allocations: 16 kB / 0.7871 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.831, allocations: 12 kB / 0.7871 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.831, allocations: 11.91 kB / 0.7871 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.8413, allocations: 7.6 MB / 0.7945 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.8414, allocations: 4 kB / 0.7945 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008875/0.8423, allocations: 219.6 kB / 0.7947 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002236/0.8445, allocations: 0.9 MB / 0.7956 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.8447, allocations: 32 kB / 0.7957 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01846/0.8631, allocations: 21.01 MB / 0.8162 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.8632, allocations: 7.938 kB / 0.8162 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005602/0.8688, allocations: 3.391 MB / 0.8195 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/0.8701, allocations: 0.5327 MB / 0.82 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000347/0.8705, allocations: 39.89 kB / 0.82 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.8716, allocations: 91.89 kB / 0.8201 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004376/0.872, allocations: 144.9 kB / 0.8203 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.8721, allocations: 48 kB / 0.8203 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001822/0.8739, allocations: 1.217 MB / 0.8215 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.874, allocations: 0 / 0.8215 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002907/0.8769, allocations: 0.8789 MB / 0.8224 GB, free: 2.523 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.0002543/0.8771, allocations: 156 kB / 0.8225 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006411/0.8835, allocations: 4.422 MB / 0.8268 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.8836, allocations: 0 / 0.8268 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004207/0.8878, allocations: 2.995 MB / 0.8298 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003707/0.8915, allocations: 0.7686 MB / 0.8305 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.9067, allocations: 9.823 MB / 0.8401 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004321/0.9111, allocations: 3.215 MB / 0.8432 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002503/0.9136, allocations: 0.5448 MB / 0.8438 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/0.9141, allocations: 139.4 kB / 0.8439 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of SimCode: time 1.593e-06/0.9141, allocations: 0 / 0.8439 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.07347/0.9876, allocations: 41.25 MB / 0.8842 GB, free: 3.465 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (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)