Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.414/1.414, allocations: 249.5 MB / 257 MB, free: 6.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009977/0.0009976, allocations: 167.7 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008791/0.000879, allocations: 89.02 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.674e-05/1.678e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.154, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5898/0.7438, allocations: 159.5 MB / 1.041 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.7441, allocations: 90.25 kB / 1.041 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.2934/1.038, allocations: 127.8 MB / 1.166 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.933e-06/1.038, allocations: 0 / 1.166 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001882/1.038, allocations: 83.98 kB / 1.166 GB, free: 5.504 MB / 0.7761 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.007782/1.046, allocations: 2.878 MB / 1.169 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.046, allocations: 12.03 kB / 1.169 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006491/1.052, allocations: 0.9787 MB / 1.17 GB, free: 1.574 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/1.057, allocations: 2.256 MB / 1.172 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/1.057, allocations: 104 kB / 1.172 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006685/1.058, allocations: 184 kB / 1.172 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00674/1.064, allocations: 3.637 MB / 1.176 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008381/1.073, allocations: 5.15 MB / 1.181 GB, free: 5.852 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.101e-05/1.073, allocations: 15.86 kB / 1.181 GB, free: 5.836 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003092/1.073, allocations: 8 kB / 1.181 GB, free: 5.828 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005943/1.074, allocations: 322.3 kB / 1.181 GB, free: 5.508 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or 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.02885/1.103, allocations: 28.37 MB / 1.209 GB, free: 6.445 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/1.104, allocations: 1.407 MB / 1.21 GB, free: 5.027 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/1.106, allocations: 1.464 MB / 1.212 GB, free: 3.566 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.857e-05/1.106, allocations: 21.28 kB / 1.212 GB, free: 3.547 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.106, allocations: 47.81 kB / 1.212 GB, free: 3.492 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 3.286e-06/1.106, allocations: 0 / 1.212 GB, free: 3.492 MB / 0.823 GB Notification: Performance of matching and sorting (n=179): time 0.03228/1.139, allocations: 13.57 MB / 1.225 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/1.139, allocations: 81.34 kB / 1.225 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/1.14, allocations: 1.035 MB / 1.226 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/1.14, allocations: 25.7 kB / 1.226 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008276/1.141, allocations: 1.526 MB / 1.228 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004868/1.141, allocations: 0.585 MB / 1.228 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/1.142, allocations: 0 / 1.228 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.142, allocations: 381.9 kB / 1.229 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/1.144, allocations: 1.753 MB / 1.23 GB, free: 476 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/1.146, allocations: 2.248 MB / 1.232 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/1.15, allocations: 2.277 MB / 1.235 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.15, allocations: 4 kB / 1.235 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01294/1.163, allocations: 7.407 MB / 1.242 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/1.163, allocations: 12 kB / 1.242 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/1.163, allocations: 16 kB / 1.242 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/1.174, allocations: 4.059 MB / 1.246 GB, free: 184 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.175, allocations: 291.6 kB / 1.246 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4299/1.605, allocations: 19.7 MB / 1.265 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/1.607, allocations: 101.6 kB / 1.265 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003542/1.607, allocations: 178 kB / 1.266 GB, free: 238.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 3 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004093/1.608, allocations: 150.2 kB / 1.266 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/1.608, allocations: 187.6 kB / 1.266 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/1.623, allocations: 7.407 MB / 1.273 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-05/1.624, allocations: 21.23 kB / 1.273 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.335e-05/1.624, allocations: 13.28 kB / 1.273 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.638e-05/1.624, allocations: 8.719 kB / 1.273 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/1.644, allocations: 11.38 MB / 1.284 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.644, allocations: 7.062 kB / 1.284 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/1.645, allocations: 171.7 kB / 1.285 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01098/1.656, allocations: 3.977 MB / 1.288 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002658/1.656, allocations: 54.23 kB / 1.288 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02522/1.682, allocations: 19.31 MB / 1.307 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.682, allocations: 10.25 kB / 1.307 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/1.694, allocations: 7.66 MB / 1.315 GB, free: 231 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.695, allocations: 0.698 MB / 1.316 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/1.695, allocations: 10.59 kB / 1.316 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.697, allocations: 106.2 kB / 1.316 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/1.697, allocations: 178.7 kB / 1.316 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/1.697, allocations: 147.1 kB / 1.316 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009484/1.698, allocations: 0.7851 MB / 1.317 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.698, allocations: 2.75 kB / 1.317 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002734/1.701, allocations: 0.8306 MB / 1.318 GB, free: 230.7 MB / 0.8698 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 () * 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: 3 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003613/1.701, allocations: 147.6 kB / 1.318 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00881/1.71, allocations: 5.672 MB / 1.323 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.71, allocations: 0 / 1.323 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00633/1.716, allocations: 3.557 MB / 1.327 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/1.719, allocations: 425.2 kB / 1.327 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007602/1.726, allocations: 5.578 MB / 1.333 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/1.728, allocations: 2.75 MB / 1.335 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009428/1.729, allocations: 362.6 kB / 1.336 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/1.729, allocations: 87.22 kB / 1.336 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.062e-06/1.729, allocations: 0 / 1.336 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.06125/1.791, allocations: 48.92 MB / 1.383 GB, free: 213.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches