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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 188.4 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.5 MB / 0.7824 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008747/0.0008747, allocations: 106 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.323e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2901, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.294, allocations: 176.5 MB / 1.378 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/1.294, allocations: 94.39 kB / 1.378 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3666/1.661, allocations: 160.7 MB / 1.535 GB, free: 13.03 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/1.661, allocations: 0 / 1.535 GB, free: 13.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002207/1.661, allocations: 83.98 kB / 1.535 GB, free: 12.95 MB / 0.948 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.009353/1.67, allocations: 2.893 MB / 1.538 GB, free: 10 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/1.67, allocations: 12.03 kB / 1.538 GB, free: 9.988 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006872/1.677, allocations: 0.9749 MB / 1.539 GB, free: 9.008 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/1.683, allocations: 2.264 MB / 1.541 GB, free: 6.688 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/1.683, allocations: 108 kB / 1.541 GB, free: 6.582 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009286/1.684, allocations: 188 kB / 1.542 GB, free: 6.398 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007249/1.691, allocations: 3.645 MB / 1.545 GB, free: 2.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009635/1.701, allocations: 5.146 MB / 1.55 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.833e-05/1.701, allocations: 15.88 kB / 1.55 GB, free: 13.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003531/1.701, allocations: 8 kB / 1.55 GB, free: 13.25 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006628/1.702, allocations: 326.3 kB / 1.551 GB, free: 12.93 MB / 0.9636 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.03323/1.735, allocations: 28.37 MB / 1.578 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/1.737, allocations: 1.407 MB / 1.58 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/1.739, allocations: 1.469 MB / 1.581 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.302e-05/1.739, allocations: 21.28 kB / 1.581 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/1.739, allocations: 47.81 kB / 1.581 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 3.557e-06/1.739, allocations: 0 / 1.581 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=179): time 0.03542/1.775, allocations: 13.54 MB / 1.594 GB, free: 13.33 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/1.775, allocations: 69.41 kB / 1.594 GB, free: 13.25 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/1.776, allocations: 1.046 MB / 1.595 GB, free: 12.2 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/1.776, allocations: 25.7 kB / 1.596 GB, free: 12.17 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009357/1.777, allocations: 1.523 MB / 1.597 GB, free: 10.62 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006138/1.778, allocations: 0.5889 MB / 1.598 GB, free: 10.03 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/1.778, allocations: 4 kB / 1.598 GB, free: 10.02 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.778, allocations: 385.9 kB / 1.598 GB, free: 9.641 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/1.781, allocations: 1.749 MB / 1.6 GB, free: 7.891 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/1.783, allocations: 2.241 MB / 1.602 GB, free: 5.441 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00373/1.787, allocations: 2.281 MB / 1.604 GB, free: 3.16 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/1.787, allocations: 7.953 kB / 1.604 GB, free: 3.152 MB / 1.01 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.0142/1.801, allocations: 7.399 MB / 1.611 GB, free: 11.72 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/1.801, allocations: 15.98 kB / 1.611 GB, free: 11.7 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/1.801, allocations: 12.84 kB / 1.611 GB, free: 11.69 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01195/1.813, allocations: 4.066 MB / 1.615 GB, free: 7.609 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/1.815, allocations: 291.5 kB / 1.616 GB, free: 7.324 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02908/1.844, allocations: 19.7 MB / 1.635 GB, free: 3.195 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/1.846, allocations: 103.7 kB / 1.635 GB, free: 3.094 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003632/1.846, allocations: 175.9 kB / 1.635 GB, free: 2.922 MB / 1.042 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.0004379/1.847, allocations: 148.5 kB / 1.635 GB, free: 2.77 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/1.847, allocations: 193.7 kB / 1.635 GB, free: 2.578 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.862, allocations: 7.41 MB / 1.643 GB, free: 11.12 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/1.862, allocations: 20.38 kB / 1.643 GB, free: 11.1 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/1.862, allocations: 12 kB / 1.643 GB, free: 11.09 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/1.862, allocations: 11.97 kB / 1.643 GB, free: 11.08 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/1.884, allocations: 11.38 MB / 1.654 GB, free: 15.53 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.884, allocations: 8 kB / 1.654 GB, free: 15.52 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/1.885, allocations: 171.8 kB / 1.654 GB, free: 15.36 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01132/1.896, allocations: 3.984 MB / 1.658 GB, free: 11.36 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002659/1.896, allocations: 51.92 kB / 1.658 GB, free: 11.3 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03015/1.926, allocations: 19.31 MB / 1.677 GB, free: 7.562 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/1.926, allocations: 19.89 kB / 1.677 GB, free: 7.543 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/1.941, allocations: 7.66 MB / 1.684 GB, free: 15.56 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/1.942, allocations: 0.6938 MB / 1.685 GB, free: 14.85 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003413/1.943, allocations: 8.109 kB / 1.685 GB, free: 14.84 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/1.944, allocations: 107.7 kB / 1.685 GB, free: 14.73 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005195/1.944, allocations: 180.8 kB / 1.685 GB, free: 14.56 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/1.945, allocations: 155.9 kB / 1.685 GB, free: 14.41 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001108/1.946, allocations: 0.78 MB / 1.686 GB, free: 13.63 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.7e-07/1.946, allocations: 0 / 1.686 GB, free: 13.63 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.002877/1.949, allocations: 0.8359 MB / 1.687 GB, free: 12.79 MB / 1.104 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.0003669/1.949, allocations: 143 kB / 1.687 GB, free: 12.64 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.959, allocations: 5.687 MB / 1.693 GB, free: 6.93 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.959, allocations: 3.938 kB / 1.693 GB, free: 6.926 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.007114/1.966, allocations: 3.535 MB / 1.696 GB, free: 3.359 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/1.969, allocations: 413.9 kB / 1.696 GB, free: 2.953 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009511/1.978, allocations: 5.586 MB / 1.702 GB, free: 13.24 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00286/1.981, allocations: 2.734 MB / 1.705 GB, free: 10.47 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.001342/1.982, allocations: 383.2 kB / 1.705 GB, free: 10.09 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/1.983, allocations: 87.42 kB / 1.705 GB, free: 10 MB / 1.12 GB Notification: Performance of SimCode: time 1.423e-06/1.983, allocations: 0 / 1.705 GB, free: 10 MB / 1.12 GB Notification: Performance of Templates: time 0.6616/2.644, allocations: 49 MB / 1.753 GB, free: 327.3 MB / 1.151 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