Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 249.3 MB / 261.8 MB, free: 5.918 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.001147/0.001147, allocations: 170.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009138/0.0009139, allocations: 94.39 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.51e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2427, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8062/1.049, allocations: 152 MB / 1.04 GB, free: 156 kB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/1.049, allocations: 98.11 kB / 1.04 GB, free: 96 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02777/1.077, allocations: 12.17 MB / 1.052 GB, free: 5.922 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.553e-06/1.077, allocations: 0 / 1.052 GB, free: 5.922 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.687e-05/1.077, allocations: 8 kB / 1.052 GB, free: 5.914 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006054/1.078, allocations: 460.1 kB / 1.053 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.078, allocations: 8.031 kB / 1.053 GB, free: 5.426 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005711/1.078, allocations: 67.73 kB / 1.053 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/1.079, allocations: 226 kB / 1.053 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/1.079, allocations: 7.5 kB / 1.053 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/1.079, allocations: 19.86 kB / 1.053 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004236/1.079, allocations: 271.8 kB / 1.053 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/1.079, allocations: 3.938 kB / 1.053 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/1.079, allocations: 11.75 kB / 1.053 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/1.079, allocations: 19.72 kB / 1.053 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/1.08, allocations: 201.8 kB / 1.054 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/1.081, allocations: 1.587 MB / 1.055 GB, free: 3.086 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/1.081, allocations: 71.06 kB / 1.055 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.566e-05/1.082, allocations: 46.62 kB / 1.055 GB, free: 2.965 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/1.082, allocations: 0 / 1.055 GB, free: 2.965 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/1.082, allocations: 45.56 kB / 1.055 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/1.082, allocations: 0 / 1.055 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0004546/1.082, allocations: 179.8 kB / 1.055 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/1.082, allocations: 79.86 kB / 1.055 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/1.082, allocations: 201.8 kB / 1.056 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/1.082, allocations: 29.7 kB / 1.056 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/1.082, allocations: 165.8 kB / 1.056 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/1.082, allocations: 31.3 kB / 1.056 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/1.082, allocations: 7.625 kB / 1.056 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.083, allocations: 322.4 kB / 1.056 GB, free: 1.945 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/1.083, allocations: 72.59 kB / 1.056 GB, free: 1.898 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/1.083, allocations: 164.5 kB / 1.056 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/1.083, allocations: 93.45 kB / 1.056 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.083, allocations: 0 / 1.056 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003982/1.083, allocations: 272.8 kB / 1.057 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004438/1.084, allocations: 1.14 MB / 1.058 GB, free: 248 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.084, allocations: 4 kB / 1.058 GB, free: 244 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.084, allocations: 4 kB / 1.058 GB, free: 240 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/1.084, allocations: 55.94 kB / 1.058 GB, free: 184 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/1.084, allocations: 8 kB / 1.058 GB, free: 176 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/1.084, allocations: 26.95 kB / 1.058 GB, free: 152 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/1.084, allocations: 11.88 kB / 1.058 GB, free: 144 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.144e-06/1.084, allocations: 4 kB / 1.058 GB, free: 140 kB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003128/1.085, allocations: 210.7 kB / 1.058 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/1.085, allocations: 8 kB / 1.058 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/1.085, allocations: 4 kB / 1.058 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/1.085, allocations: 54.91 kB / 1.058 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/1.085, allocations: 4 kB / 1.058 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/1.085, allocations: 22.72 kB / 1.058 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/1.085, allocations: 8 kB / 1.058 GB, free: 15.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 8.451e-05/1.085, allocations: 118.8 kB / 1.058 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/1.085, allocations: 11.91 kB / 1.058 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/1.086, allocations: 123.5 kB / 1.059 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.086, allocations: 4 kB / 1.059 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.086, allocations: 4 kB / 1.059 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.086, allocations: 3.953 kB / 1.059 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006701/1.086, allocations: 0.6121 MB / 1.059 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/1.086, allocations: 11.92 kB / 1.059 GB, free: 15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.826e-05/1.086, allocations: 12 kB / 1.059 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.086, allocations: 7.953 kB / 1.059 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/1.086, allocations: 11.61 kB / 1.059 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.086, allocations: 3.938 kB / 1.059 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.086, allocations: 4 kB / 1.059 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/1.087, allocations: 421.5 kB / 1.06 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-05/1.087, allocations: 100.7 kB / 1.06 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/1.087, allocations: 4 kB / 1.06 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/1.087, allocations: 11.23 kB / 1.06 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/1.087, allocations: 11.98 kB / 1.06 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/1.087, allocations: 4 kB / 1.06 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001384/1.087, allocations: 161.6 kB / 1.06 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.087, allocations: 0 / 1.06 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004604/1.088, allocations: 90.19 kB / 1.06 GB, free: 14.16 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001624/1.088, allocations: 124.1 kB / 1.06 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003593/1.088, allocations: 270.2 kB / 1.06 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.088, allocations: 4 kB / 1.06 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.347e-05/1.088, allocations: 40.98 kB / 1.06 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/1.089, allocations: 33.02 kB / 1.06 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005248/1.089, allocations: 270.1 kB / 1.061 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/1.089, allocations: 0.7427 MB / 1.061 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001952/1.09, allocations: 69.47 kB / 1.061 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/1.09, allocations: 19.42 kB / 1.061 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/1.09, allocations: 0 / 1.061 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of Templates: time 0.004127/1.094, allocations: 1.689 MB / 1.063 GB, free: 10.98 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches