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.1845/0.1866, allocations: 80.85 MB / 0.6707 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03538/0.222, allocations: 32.6 MB / 0.7025 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02726/0.2493, allocations: 15.24 MB / 0.7174 GB, free: 1.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005009/0.2544, allocations: 151.2 kB / 0.7175 GB, free: 1.836 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.2654, allocations: 3.639 MB / 0.7211 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01105/0.2765, allocations: 2.929 MB / 0.7239 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008169/0.2847, allocations: 2.31 MB / 0.7262 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01384/0.2986, allocations: 8.559 MB / 0.7346 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01702/0.3157, allocations: 9.531 MB / 0.7439 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008611/0.3243, allocations: 3.95 MB / 0.7477 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4792/0.8036, allocations: 4.026 MB / 0.7516 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003726/0.8074, allocations: 0.7072 MB / 0.7523 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006867/0.8142, allocations: 1.707 MB / 0.754 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00638/0.8207, allocations: 2.739 MB / 0.7567 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0117/0.8324, allocations: 3.276 MB / 0.7599 GB, free: 21.13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01928/0.8517, allocations: 10.99 MB / 0.7706 GB, free: 20.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.8518, allocations: 0 / 0.7706 GB, free: 20.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.885e-06/0.8518, allocations: 1.25 kB / 0.7706 GB, free: 20.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005087/0.8523, allocations: 0 / 0.7706 GB, free: 20.16 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.02693/0.8792, allocations: 5.909 MB / 0.7764 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.8793, allocations: 8.625 kB / 0.7764 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008954/0.8883, allocations: 1.107 MB / 0.7775 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.8987, allocations: 3.497 MB / 0.7809 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004266/0.8991, allocations: 364 kB / 0.7812 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002632/0.9018, allocations: 490.2 kB / 0.7817 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/0.9218, allocations: 7.919 MB / 0.7894 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001942/0.9221, allocations: 25.05 kB / 0.7895 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000736/0.9228, allocations: 213.4 kB / 0.7897 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/0.9239, allocations: 434.3 kB / 0.7901 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.9376, allocations: 6.03 MB / 0.796 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05666/0.9943, allocations: 24.52 MB / 0.8199 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.9976, allocations: 2.021 MB / 0.8219 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002752/1, allocations: 1.886 MB / 0.8237 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/1.001, allocations: 16.88 kB / 0.8237 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/1.001, allocations: 54.62 kB / 0.8238 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=171): time 3.687e-06/1.001, allocations: 4 kB / 0.8238 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of matching and sorting (n=276): time 0.154/1.155, allocations: 38.9 MB / 0.8618 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/1.155, allocations: 77.58 kB / 0.8619 GB, free: 416 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004296/1.159, allocations: 2.283 MB / 0.8641 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004569/1.159, allocations: 73.7 kB / 0.8642 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001696/1.161, allocations: 2.24 MB / 0.8664 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/1.162, allocations: 0.927 MB / 0.8673 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/1.164, allocations: 0.5061 MB / 0.8678 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.164, allocations: 309.1 kB / 0.868 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002981/1.167, allocations: 1.977 MB / 0.87 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003356/1.17, allocations: 2.608 MB / 0.8725 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006386/1.177, allocations: 4.945 MB / 0.8774 GB, free: 68 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/1.177, allocations: 4 kB / 0.8774 GB, free: 64 kB / 0.6387 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01519/1.192, allocations: 7.765 MB / 0.8849 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/1.192, allocations: 12 kB / 0.885 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.601e-05/1.192, allocations: 20 kB / 0.885 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/1.202, allocations: 3.213 MB / 0.8881 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/1.204, allocations: 402.2 kB / 0.8885 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04727/1.252, allocations: 33.89 MB / 0.9216 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004085/1.256, allocations: 167.8 kB / 0.9218 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006301/1.257, allocations: 108 kB / 0.9219 GB, free: 1.883 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.004551/1.261, allocations: 1.798 MB / 0.9236 GB, free: 104 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/1.262, allocations: 324.3 kB / 0.9239 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/1.278, allocations: 7.376 MB / 0.9311 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/1.278, allocations: 31.94 kB / 0.9312 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002127/1.279, allocations: 28 kB / 0.9312 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.458e-05/1.279, allocations: 11.95 kB / 0.9312 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02958/1.308, allocations: 12.96 MB / 0.9438 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.308, allocations: 4 kB / 0.9438 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009239/1.309, allocations: 227.3 kB / 0.9441 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008166/1.317, allocations: 2.856 MB / 0.9469 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003303/1.318, allocations: 52 kB / 0.9469 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04491/1.363, allocations: 32.68 MB / 0.9788 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/1.363, allocations: 11.59 kB / 0.9788 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/1.377, allocations: 6.901 MB / 0.9856 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00321/1.381, allocations: 0.7899 MB / 0.9863 GB, free: 15 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001695/1.382, allocations: 52 kB / 0.9864 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/1.385, allocations: 171.8 kB / 0.9866 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/1.387, allocations: 248.8 kB / 0.9868 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003332/1.387, allocations: 79.94 kB / 0.9869 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003054/1.39, allocations: 1.518 MB / 0.9883 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of sort global known variables: time 6.91e-07/1.39, allocations: 4 kB / 0.9883 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005671/1.396, allocations: 1.344 MB / 0.9897 GB, free: 11.6 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.0005694/1.396, allocations: 173.2 kB / 0.9898 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01359/1.41, allocations: 6.936 MB / 0.9966 GB, free: 4.48 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.41, allocations: 8.125 kB / 0.9966 GB, free: 4.473 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.009398/1.419, allocations: 4.408 MB / 1.001 GB, free: 20 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007879/1.427, allocations: 1.15 MB / 1.002 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02617/1.453, allocations: 10.14 MB / 1.012 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006589/1.46, allocations: 3.634 MB / 1.015 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00238/1.462, allocations: 0.5673 MB / 1.016 GB, free: 500 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004424/1.463, allocations: 159.4 kB / 1.016 GB, free: 344 kB / 0.7794 GB Notification: Performance of SimCode: time 1.002e-06/1.463, allocations: 0 / 1.016 GB, free: 344 kB / 0.7794 GB Notification: Performance of Templates: time 0.614/2.077, allocations: 78.02 MB / 1.092 GB, free: 291.5 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)