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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [/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.2008/0.2029, allocations: 80.84 MB / 0.6706 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03907/0.242, allocations: 32.61 MB / 0.7025 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.2676, allocations: 15.23 MB / 0.7174 GB, free: 1.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005043/0.2727, allocations: 159.2 kB / 0.7175 GB, free: 1.816 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.2838, allocations: 3.642 MB / 0.7211 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01444/0.2983, allocations: 3.035 MB / 0.724 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009025/0.3073, allocations: 2.314 MB / 0.7263 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0152/0.3225, allocations: 8.574 MB / 0.7347 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02332/0.3459, allocations: 9.531 MB / 0.744 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01052/0.3565, allocations: 3.95 MB / 0.7478 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5382/0.8947, allocations: 4.022 MB / 0.7518 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003894/0.8987, allocations: 0.705 MB / 0.7525 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00657/0.9052, allocations: 1.709 MB / 0.7541 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006642/0.9119, allocations: 2.741 MB / 0.7568 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01489/0.9268, allocations: 3.281 MB / 0.76 GB, free: 21.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02852/0.9554, allocations: 10.98 MB / 0.7707 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.295e-05/0.9555, allocations: 0 / 0.7707 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.26e-06/0.9555, allocations: 0 / 0.7707 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005808/0.9561, allocations: 4.438 kB / 0.7707 GB, free: 20.17 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1309 * Number of variables: 1309 Notification: Performance of Generate backend data structure: time 0.02888/0.985, allocations: 5.906 MB / 0.7765 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.985, allocations: 9.375 kB / 0.7765 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00973/0.9948, allocations: 1.107 MB / 0.7776 GB, free: 17.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/1.007, allocations: 3.501 MB / 0.781 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005613/1.007, allocations: 367.2 kB / 0.7814 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003962/1.011, allocations: 485.4 kB / 0.7818 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/1.034, allocations: 7.917 MB / 0.7896 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001851/1.034, allocations: 23.77 kB / 0.7896 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006722/1.035, allocations: 219.1 kB / 0.7898 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001081/1.036, allocations: 431.2 kB / 0.7902 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/1.048, allocations: 6.021 MB / 0.7961 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03635/1.084, allocations: 24.52 MB / 0.82 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/1.087, allocations: 2.033 MB / 0.822 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002975/1.09, allocations: 1.875 MB / 0.8238 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/1.09, allocations: 25.27 kB / 0.8239 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.958e-05/1.09, allocations: 58.41 kB / 0.8239 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=171): time 5.3e-06/1.09, allocations: 0 / 0.8239 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of matching and sorting (n=276): time 0.142/1.232, allocations: 38.9 MB / 0.8619 GB, free: 408 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/1.233, allocations: 77.58 kB / 0.862 GB, free: 316 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005815/1.238, allocations: 2.282 MB / 0.8642 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006215/1.239, allocations: 73.7 kB / 0.8643 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001884/1.241, allocations: 2.24 MB / 0.8665 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001391/1.242, allocations: 0.9306 MB / 0.8674 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001835/1.244, allocations: 0.5061 MB / 0.8679 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.244, allocations: 301.1 kB / 0.8682 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003389/1.248, allocations: 1.977 MB / 0.8701 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003956/1.252, allocations: 2.612 MB / 0.8726 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007506/1.259, allocations: 4.935 MB / 0.8775 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-05/1.259, allocations: 8 kB / 0.8775 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01572/1.275, allocations: 7.77 MB / 0.8851 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/1.275, allocations: 12.62 kB / 0.8851 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-05/1.275, allocations: 20.88 kB / 0.8851 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009988/1.285, allocations: 3.209 MB / 0.8882 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/1.287, allocations: 407.7 kB / 0.8886 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04841/1.336, allocations: 33.89 MB / 0.9217 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004092/1.34, allocations: 167.8 kB / 0.9219 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007871/1.341, allocations: 108 kB / 0.922 GB, free: 1.789 MB / 0.6856 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005191/1.346, allocations: 1.794 MB / 0.9237 GB, free: 8 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/1.347, allocations: 328.3 kB / 0.924 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/1.363, allocations: 7.376 MB / 0.9312 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/1.363, allocations: 31.94 kB / 0.9313 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001083/1.363, allocations: 31.98 kB / 0.9313 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.945e-05/1.363, allocations: 11.95 kB / 0.9313 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03246/1.396, allocations: 12.96 MB / 0.944 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.813e-05/1.396, allocations: 4 kB / 0.944 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.397, allocations: 229.7 kB / 0.9442 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009304/1.406, allocations: 2.856 MB / 0.947 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005251/1.407, allocations: 48 kB / 0.947 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05332/1.46, allocations: 32.69 MB / 0.9789 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.002e-05/1.46, allocations: 8 kB / 0.979 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01628/1.477, allocations: 6.897 MB / 0.9857 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003068/1.48, allocations: 0.786 MB / 0.9865 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001733/1.482, allocations: 60.36 kB / 0.9865 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003399/1.485, allocations: 167.8 kB / 0.9867 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001285/1.486, allocations: 260.1 kB / 0.9869 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003836/1.487, allocations: 71.94 kB / 0.987 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004312/1.491, allocations: 1.529 MB / 0.9885 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.3e-07/1.491, allocations: 0 / 0.9885 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.008244/1.499, allocations: 1.34 MB / 0.9898 GB, free: 11.51 MB / 0.7637 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007041/1.5, allocations: 177.5 kB / 0.99 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01328/1.513, allocations: 6.927 MB / 0.9967 GB, free: 4.391 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/1.513, allocations: 4 kB / 0.9967 GB, free: 4.387 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.009066/1.522, allocations: 4.422 MB / 1.001 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008261/1.531, allocations: 1.14 MB / 1.002 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02827/1.559, allocations: 10.13 MB / 1.012 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008001/1.567, allocations: 3.634 MB / 1.016 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003001/1.57, allocations: 0.5634 MB / 1.016 GB, free: 412 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007809/1.571, allocations: 163.4 kB / 1.016 GB, free: 252 kB / 0.7794 GB Notification: Performance of SimCode: time 7.71e-07/1.571, allocations: 3.281 kB / 1.016 GB, free: 252 kB / 0.7794 GB Notification: Performance of Templates: time 0.5931/2.164, allocations: 76.43 MB / 1.091 GB, free: 292.3 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)