Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001026/0.001026, allocations: 176.9 kB / 492.3 MB, free: 0.5898 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.468/1.468, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009366/0.0009367, allocations: 105.1 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.821e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2841, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.374, allocations: 186.3 MB / 1.394 GB, free: 13.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/1.375, allocations: 98.23 kB / 1.394 GB, free: 13.24 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2352/1.61, allocations: 102.5 MB / 1.495 GB, free: 5.852 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.884e-06/1.61, allocations: 0 / 1.495 GB, free: 5.852 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001307/1.61, allocations: 55.98 kB / 1.495 GB, free: 5.797 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.00621/1.616, allocations: 2.175 MB / 1.497 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.616, allocations: 12.03 kB / 1.497 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004829/1.621, allocations: 0.7462 MB / 1.497 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/1.625, allocations: 1.453 MB / 1.499 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/1.625, allocations: 193.1 kB / 1.499 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006927/1.626, allocations: 252 kB / 1.499 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009109/1.635, allocations: 4.148 MB / 1.503 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/1.635, allocations: 11.88 kB / 1.503 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006124/1.636, allocations: 104 kB / 1.503 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/1.636, allocations: 156.3 kB / 1.504 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007617/1.644, allocations: 3.409 MB / 1.507 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03201/1.676, allocations: 21.52 MB / 1.528 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008261/1.677, allocations: 0.5317 MB / 1.528 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007265/1.677, allocations: 499.3 kB / 1.529 GB, free: 304 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/1.677, allocations: 15.83 kB / 1.529 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/1.677, allocations: 50.55 kB / 1.529 GB, free: 228 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=50): time 3.537e-06/1.677, allocations: 0 / 1.529 GB, free: 228 kB / 0.9323 GB Notification: Performance of matching and sorting (n=56): time 0.007609/1.685, allocations: 3.619 MB / 1.533 GB, free: 12.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/1.685, allocations: 247.8 kB / 1.533 GB, free: 12.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/1.687, allocations: 1.191 MB / 1.534 GB, free: 11.04 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.939e-05/1.687, allocations: 33.7 kB / 1.534 GB, free: 11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009175/1.688, allocations: 1.23 MB / 1.535 GB, free: 9.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/1.689, allocations: 209.2 kB / 1.535 GB, free: 9.543 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/1.689, allocations: 28 kB / 1.535 GB, free: 9.516 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000245/1.689, allocations: 410.7 kB / 1.536 GB, free: 9.105 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/1.69, allocations: 0.7613 MB / 1.537 GB, free: 8.344 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/1.692, allocations: 1.469 MB / 1.538 GB, free: 6.539 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/1.693, allocations: 1.045 MB / 1.539 GB, free: 5.496 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/1.694, allocations: 8 kB / 1.539 GB, free: 5.488 MB / 0.948 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003887/1.697, allocations: 2.312 MB / 1.541 GB, free: 3.168 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003653/1.701, allocations: 9.4 MB / 1.55 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.845e-05/1.701, allocations: 27.98 kB / 1.55 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.876e-05/1.701, allocations: 39.95 kB / 1.55 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/1.703, allocations: 451.2 kB / 1.551 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-05/1.703, allocations: 43.86 kB / 1.551 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/1.705, allocations: 279.2 kB / 1.551 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/1.705, allocations: 83.98 kB / 1.551 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.705, allocations: 4 kB / 1.551 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003697/1.709, allocations: 1.98 MB / 1.553 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.426e-05/1.709, allocations: 27.98 kB / 1.553 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.955e-05/1.709, allocations: 36 kB / 1.553 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/1.711, allocations: 403.3 kB / 1.554 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-05/1.711, allocations: 51.78 kB / 1.554 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.712, allocations: 175.5 kB / 1.554 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/1.712, allocations: 83.98 kB / 1.554 GB, free: 5.379 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003674/1.713, allocations: 213.5 kB / 1.554 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/1.713, allocations: 110.6 kB / 1.554 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/1.715, allocations: 0.8633 MB / 1.555 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.715, allocations: 11.95 kB / 1.555 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.715, allocations: 4 kB / 1.555 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/1.715, allocations: 3.984 kB / 1.555 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/1.727, allocations: 8.134 MB / 1.563 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-05/1.728, allocations: 8 kB / 1.563 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/1.728, allocations: 143.8 kB / 1.563 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.969e-05/1.728, allocations: 24.72 kB / 1.563 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/1.728, allocations: 20 kB / 1.563 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.158e-05/1.728, allocations: 31.81 kB / 1.563 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-05/1.728, allocations: 15.94 kB / 1.563 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/1.731, allocations: 2.431 MB / 1.566 GB, free: 8.719 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008537/1.732, allocations: 343.5 kB / 1.566 GB, free: 8.363 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004049/1.732, allocations: 27.98 kB / 1.566 GB, free: 8.336 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/1.734, allocations: 123.8 kB / 1.566 GB, free: 8.215 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/1.734, allocations: 67.73 kB / 1.566 GB, free: 8.148 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/1.734, allocations: 28 kB / 1.566 GB, free: 8.121 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001904/1.736, allocations: 0.9127 MB / 1.567 GB, free: 7.195 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.51e-07/1.736, allocations: 0 / 1.567 GB, free: 7.195 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005445/1.741, allocations: 0.8125 MB / 1.568 GB, free: 6.383 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004746/1.742, allocations: 155.5 kB / 1.568 GB, free: 6.219 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004825/1.746, allocations: 2.53 MB / 1.571 GB, free: 3.703 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/1.746, allocations: 8.125 kB / 1.571 GB, free: 3.695 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006786/1.747, allocations: 446.2 kB / 1.571 GB, free: 3.262 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/1.749, allocations: 221 kB / 1.571 GB, free: 3.047 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009477/1.758, allocations: 3.434 MB / 1.575 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002821/1.761, allocations: 2.043 MB / 1.577 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002711/1.764, allocations: 0.8636 MB / 1.577 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/1.764, allocations: 71.42 kB / 1.577 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of SimCode: time 1.763e-06/1.764, allocations: 0 / 1.577 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of Templates: time 0.02937/1.794, allocations: 13.78 MB / 1.591 GB, free: 14.71 MB / 1.01 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches