Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.428/0.4288, allocations: 82.2 MB / 0.5935 GB, free: 21.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01708/0.4459, allocations: 20.95 MB / 0.6139 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.457, allocations: 6.63 MB / 0.6204 GB, free: 9.898 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.4594, allocations: 80.03 kB / 0.6205 GB, free: 9.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.4614, allocations: 453.2 kB / 0.6209 GB, free: 9.375 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004311/0.4657, allocations: 1.63 MB / 0.6225 GB, free: 7.754 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.4685, allocations: 0.9114 MB / 0.6234 GB, free: 6.848 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008629/0.4771, allocations: 8.081 MB / 0.6313 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/0.4885, allocations: 7.095 MB / 0.6382 GB, free: 7.594 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004634/0.4932, allocations: 2.105 MB / 0.6403 GB, free: 5.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005303/0.4985, allocations: 3.174 MB / 0.6434 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00071/0.4993, allocations: 240 kB / 0.6436 GB, free: 2.062 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.5017, allocations: 0.5853 MB / 0.6442 GB, free: 1.477 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002823/0.5045, allocations: 2.054 MB / 0.6462 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.506, allocations: 0.816 MB / 0.647 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00798/0.514, allocations: 6.947 MB / 0.6538 GB, free: 7.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.514, allocations: 0 / 0.6538 GB, free: 7.629 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.514, allocations: 0 / 0.6538 GB, free: 7.629 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002305/0.5143, allocations: 0 / 0.6538 GB, free: 7.629 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1044 * Number of variables: 1044 Notification: Performance of Generate backend data structure: time 0.007891/0.5222, allocations: 3.589 MB / 0.6573 GB, free: 3.973 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.5222, allocations: 8.031 kB / 0.6573 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008668/0.5309, allocations: 1.66 MB / 0.6589 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005236/0.5362, allocations: 2.505 MB / 0.6613 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.5365, allocations: 283.2 kB / 0.6616 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/0.5379, allocations: 351.9 kB / 0.6619 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01459/0.5525, allocations: 7.423 MB / 0.6692 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.5527, allocations: 19.88 kB / 0.6692 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005743/0.5533, allocations: 155.9 kB / 0.6694 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000606/0.5539, allocations: 487.3 kB / 0.6698 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.5654, allocations: 5.662 MB / 0.6754 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03754/0.6029, allocations: 25.14 MB / 0.6999 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/0.6063, allocations: 2.299 MB / 0.7022 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003339/0.6097, allocations: 2.331 MB / 0.7044 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.6099, allocations: 25.3 kB / 0.7045 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.61, allocations: 51.8 kB / 0.7045 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.467e-06/0.61, allocations: 0 / 0.7045 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.6226/1.233, allocations: 72.87 MB / 0.7757 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/1.233, allocations: 81.36 kB / 0.7757 GB, free: 138 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/1.235, allocations: 1.664 MB / 0.7774 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004297/1.236, allocations: 65.7 kB / 0.7774 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/1.237, allocations: 1.731 MB / 0.7791 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009336/1.238, allocations: 0.8456 MB / 0.7799 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/1.238, allocations: 52 kB / 0.78 GB, free: 133.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.238, allocations: 419.2 kB / 0.7804 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003222/1.241, allocations: 2.894 MB / 0.7832 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003335/1.245, allocations: 3.503 MB / 0.7866 GB, free: 126.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003545/1.248, allocations: 3.285 MB / 0.7898 GB, free: 123.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/1.248, allocations: 4 kB / 0.7899 GB, free: 123.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02562/1.274, allocations: 14.61 MB / 0.8041 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/1.274, allocations: 12 kB / 0.8041 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/1.274, allocations: 16 kB / 0.8041 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02411/1.298, allocations: 8.883 MB / 0.8128 GB, free: 99.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/1.299, allocations: 303.4 kB / 0.8131 GB, free: 99.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06192/1.361, allocations: 49.6 MB / 0.8616 GB, free: 48.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/1.364, allocations: 183.9 kB / 0.8617 GB, free: 48.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/1.365, allocations: 103.9 kB / 0.8618 GB, free: 48.65 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(14,95.9%) 24,(19,59.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,52.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002941/1.368, allocations: 1.61 MB / 0.8634 GB, free: 47.03 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000629/1.368, allocations: 245 kB / 0.8636 GB, free: 46.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02678/1.395, allocations: 14.77 MB / 0.8781 GB, free: 31.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.635e-05/1.395, allocations: 24 kB / 0.8781 GB, free: 31.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001437/1.395, allocations: 48 kB / 0.8781 GB, free: 31.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.184e-05/1.395, allocations: 15.91 kB / 0.8781 GB, free: 31.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03433/1.43, allocations: 20.98 MB / 0.8986 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-05/1.43, allocations: 8 kB / 0.8986 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008342/1.431, allocations: 171.7 kB / 0.8988 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0249/1.456, allocations: 8.693 MB / 0.9073 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005364/1.456, allocations: 52 kB / 0.9073 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07662/1.533, allocations: 49.2 MB / 0.9554 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.533, allocations: 8 kB / 0.9554 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02987/1.563, allocations: 14.35 MB / 0.9694 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002464/1.565, allocations: 0.9001 MB / 0.9703 GB, free: 384 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005167/1.566, allocations: 55.98 kB / 0.9703 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.568, allocations: 167.8 kB / 0.9705 GB, free: 160 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001268/1.569, allocations: 237.5 kB / 0.9707 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/1.569, allocations: 71.95 kB / 0.9708 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001562/1.571, allocations: 1.117 MB / 0.9719 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.71e-07/1.571, allocations: 0 / 0.9719 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005686/1.576, allocations: 1.605 MB / 0.9734 GB, free: 13.11 MB / 0.6544 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,52.8%) 10,(12,50.0%) 18,(19,56.5%) 19,(12,53.5%) 10,(12,50.0%) 18,(14,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004083/1.577, allocations: 159.1 kB / 0.9736 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02014/1.597, allocations: 10.54 MB / 0.9839 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/1.597, allocations: 8.125 kB / 0.9839 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01585/1.613, allocations: 7.176 MB / 0.9909 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/1.616, allocations: 0.5087 MB / 0.9914 GB, free: 10.58 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/1.633, allocations: 10.55 MB / 1.002 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004472/1.637, allocations: 3.254 MB / 1.005 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001541/1.639, allocations: 415.3 kB / 1.005 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/1.639, allocations: 107.4 kB / 1.005 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of SimCode: time 1.322e-06/1.639, allocations: 0 / 1.005 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of Templates: time 0.4817/2.121, allocations: 88.14 MB / 1.091 GB, free: 182.3 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: