Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.516/2.516, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8877/0.888, allocations: 142.3 MB / 0.9535 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0214/0.9095, allocations: 19.83 MB / 0.9729 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.9212, allocations: 5.97 MB / 0.9787 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/0.9244, allocations: 74.97 kB / 0.9788 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.9263, allocations: 431.9 kB / 0.9792 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005073/0.9314, allocations: 1.113 MB / 0.9803 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.9351, allocations: 0.8299 MB / 0.9811 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005999/0.9411, allocations: 2.822 MB / 0.9839 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01185/0.9529, allocations: 6.202 MB / 0.9899 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.9567, allocations: 1.503 MB / 0.9914 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/0.9605, allocations: 1.721 MB / 0.9931 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.9616, allocations: 204 kB / 0.9933 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.9642, allocations: 455.5 kB / 0.9937 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002862/0.9671, allocations: 1.575 MB / 0.9952 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.9689, allocations: 0.7303 MB / 0.9959 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00778/0.9767, allocations: 5.893 MB / 1.002 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.9768, allocations: 0 / 1.002 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9768, allocations: 3.938 kB / 1.002 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002948/0.9771, allocations: 4 kB / 1.002 GB, free: 14.68 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008503/0.9856, allocations: 3.08 MB / 1.005 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.9857, allocations: 8.031 kB / 1.005 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00675/0.9924, allocations: 1.263 MB / 1.006 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006484/0.9989, allocations: 2.157 MB / 1.008 GB, free: 8.051 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003007/0.9993, allocations: 238.4 kB / 1.008 GB, free: 7.816 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001566/1.001, allocations: 315.9 kB / 1.009 GB, free: 7.508 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/1.017, allocations: 6.162 MB / 1.015 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000188/1.017, allocations: 15.83 kB / 1.015 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001163/1.019, allocations: 143.9 kB / 1.015 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005846/1.019, allocations: 402.3 kB / 1.015 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/1.03, allocations: 4.647 MB / 1.02 GB, free: 11.88 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03844/1.068, allocations: 29.07 MB / 1.048 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/1.07, allocations: 1.404 MB / 1.049 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/1.07, allocations: 13 kB / 1.049 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/1.071, allocations: 55.48 kB / 1.05 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 2.806e-06/1.071, allocations: 0 / 1.05 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of matching and sorting (n=179): time 0.1438/1.214, allocations: 36.3 MB / 1.085 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/1.214, allocations: 69.41 kB / 1.085 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/1.217, allocations: 1.407 MB / 1.086 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004156/1.217, allocations: 53.7 kB / 1.086 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009914/1.218, allocations: 1.546 MB / 1.088 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007337/1.219, allocations: 0.6123 MB / 1.089 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/1.219, allocations: 40 kB / 1.089 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.219, allocations: 385.9 kB / 1.089 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/1.222, allocations: 1.776 MB / 1.091 GB, free: 292 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003622/1.226, allocations: 2.335 MB / 1.093 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002986/1.229, allocations: 2.051 MB / 1.095 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/1.229, allocations: 4 kB / 1.095 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01806/1.247, allocations: 8.544 MB / 1.103 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/1.247, allocations: 16 kB / 1.103 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/1.247, allocations: 19.95 kB / 1.103 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01602/1.263, allocations: 4.635 MB / 1.108 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.264, allocations: 303.4 kB / 1.108 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04905/1.313, allocations: 30.82 MB / 1.138 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/1.316, allocations: 151.8 kB / 1.138 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004601/1.316, allocations: 80 kB / 1.138 GB, free: 14.22 MB / 0.9044 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 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002938/1.319, allocations: 1.334 MB / 1.14 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007099/1.32, allocations: 201.6 kB / 1.14 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01903/1.339, allocations: 8.414 MB / 1.148 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/1.339, allocations: 23.94 kB / 1.148 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001121/1.339, allocations: 24 kB / 1.148 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.725e-05/1.339, allocations: 11.91 kB / 1.148 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0299/1.369, allocations: 12.83 MB / 1.161 GB, free: 7.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/1.369, allocations: 4 kB / 1.161 GB, free: 7.152 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000787/1.37, allocations: 163.7 kB / 1.161 GB, free: 6.992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01514/1.385, allocations: 4.482 MB / 1.165 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003926/1.386, allocations: 43.88 kB / 1.165 GB, free: 2.449 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05016/1.436, allocations: 30.45 MB / 1.195 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.436, allocations: 7.938 kB / 1.195 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/1.454, allocations: 8.623 MB / 1.204 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/1.456, allocations: 0.6234 MB / 1.204 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006147/1.456, allocations: 39.94 kB / 1.204 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/1.458, allocations: 139.8 kB / 1.204 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007703/1.459, allocations: 161 kB / 1.204 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/1.459, allocations: 59.94 kB / 1.205 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001589/1.461, allocations: 0.9471 MB / 1.205 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.5e-07/1.461, allocations: 0 / 1.205 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004046/1.465, allocations: 1.109 MB / 1.207 GB, free: 7.16 MB / 0.9669 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 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003796/1.465, allocations: 155 kB / 1.207 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01349/1.479, allocations: 6.412 MB / 1.213 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/1.479, allocations: 4 kB / 1.213 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.009884/1.488, allocations: 4.277 MB / 1.217 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/1.491, allocations: 467.3 kB / 1.218 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/1.505, allocations: 8.106 MB / 1.225 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003934/1.509, allocations: 2.79 MB / 1.228 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001306/1.511, allocations: 392.5 kB / 1.229 GB, free: 304 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/1.511, allocations: 95.42 kB / 1.229 GB, free: 208 kB / 0.9825 GB Notification: Performance of SimCode: time 1.273e-06/1.511, allocations: 0 / 1.229 GB, free: 208 kB / 0.9825 GB Notification: Performance of Templates: time 0.6294/2.141, allocations: 55.55 MB / 1.283 GB, free: 275.1 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches