Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.381/1.381, allocations: 252 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 176.8 kB / 326.5 MB, free: 2.277 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.674/1.674, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008709/0.0008711, allocations: 96.61 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.000367, allocations: 10.88 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2018, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6376/0.8395, allocations: 168.5 MB / 1.065 GB, free: 63.75 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003865/0.8399, allocations: 98.73 kB / 1.065 GB, free: 63.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2248/1.065, allocations: 96.34 MB / 1.159 GB, free: 37.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/1.065, allocations: 0 / 1.159 GB, free: 37.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002146/1.065, allocations: 60.33 kB / 1.159 GB, free: 37.41 MB / 0.698 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.01075/1.076, allocations: 2.265 MB / 1.161 GB, free: 36.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/1.076, allocations: 11.72 kB / 1.161 GB, free: 36.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006857/1.083, allocations: 0.7423 MB / 1.162 GB, free: 35.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005021/1.088, allocations: 1.459 MB / 1.163 GB, free: 35.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/1.088, allocations: 192.5 kB / 1.163 GB, free: 35.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/1.089, allocations: 252.4 kB / 1.164 GB, free: 35.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/1.101, allocations: 4.19 MB / 1.168 GB, free: 33.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/1.101, allocations: 19.64 kB / 1.168 GB, free: 33.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008303/1.102, allocations: 107.8 kB / 1.168 GB, free: 33.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002577/1.102, allocations: 159.5 kB / 1.168 GB, free: 33.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007123/1.109, allocations: 3.454 MB / 1.171 GB, free: 33.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02427/1.133, allocations: 21.52 MB / 1.192 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/1.134, allocations: 0.5264 MB / 1.193 GB, free: 16.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.299e-05/1.134, allocations: 16.48 kB / 1.193 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/1.134, allocations: 50.36 kB / 1.193 GB, free: 16.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 4.088e-06/1.134, allocations: 0 / 1.193 GB, free: 16.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=56): time 0.007084/1.141, allocations: 3.997 MB / 1.197 GB, free: 13.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.141, allocations: 247 kB / 1.197 GB, free: 13.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/1.143, allocations: 1.201 MB / 1.198 GB, free: 12.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/1.143, allocations: 37.61 kB / 1.198 GB, free: 12.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006224/1.144, allocations: 1.23 MB / 1.2 GB, free: 11.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/1.144, allocations: 216.6 kB / 1.2 GB, free: 11.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/1.144, allocations: 27.97 kB / 1.2 GB, free: 11.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.144, allocations: 410.3 kB / 1.2 GB, free: 10.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009328/1.145, allocations: 0.777 MB / 1.201 GB, free: 10.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/1.146, allocations: 1.473 MB / 1.202 GB, free: 8.328 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.148, allocations: 1.054 MB / 1.203 GB, free: 7.277 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/1.148, allocations: 4 kB / 1.203 GB, free: 7.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002637/1.15, allocations: 2.347 MB / 1.206 GB, free: 4.918 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002893/1.153, allocations: 9.395 MB / 1.215 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/1.153, allocations: 24 kB / 1.215 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.238e-05/1.153, allocations: 36 kB / 1.215 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/1.155, allocations: 447.2 kB / 1.215 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.715e-05/1.155, allocations: 51.78 kB / 1.215 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/1.157, allocations: 279.3 kB / 1.216 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/1.157, allocations: 83.98 kB / 1.216 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.157, allocations: 7.938 kB / 1.216 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002775/1.16, allocations: 2.004 MB / 1.218 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/1.16, allocations: 24 kB / 1.218 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/1.16, allocations: 36 kB / 1.218 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.161, allocations: 407.9 kB / 1.218 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.816e-05/1.161, allocations: 47.8 kB / 1.218 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/1.162, allocations: 187.5 kB / 1.218 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.162, allocations: 79.98 kB / 1.218 GB, free: 7.105 MB / 0.7136 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 () * Number of clocked 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.002405/1.165, allocations: 1.125 MB / 1.22 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/1.165, allocations: 102.8 kB / 1.22 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/1.166, allocations: 0.8766 MB / 1.221 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/1.167, allocations: 8 kB / 1.221 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.167, allocations: 4 kB / 1.221 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.167, allocations: 0 / 1.221 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/1.177, allocations: 8.138 MB / 1.228 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.177, allocations: 16 kB / 1.229 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/1.178, allocations: 139.7 kB / 1.229 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-05/1.178, allocations: 16 kB / 1.229 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.784e-05/1.178, allocations: 28 kB / 1.229 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-05/1.178, allocations: 19.92 kB / 1.229 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/1.178, allocations: 19.94 kB / 1.229 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/1.18, allocations: 2.439 MB / 1.231 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007475/1.181, allocations: 343.6 kB / 1.231 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/1.181, allocations: 27.98 kB / 1.231 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009725/1.182, allocations: 111.8 kB / 1.232 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.182, allocations: 76.03 kB / 1.232 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/1.182, allocations: 28 kB / 1.232 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001204/1.184, allocations: 0.9276 MB / 1.233 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.184, allocations: 0 / 1.233 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003225/1.187, allocations: 0.8202 MB / 1.233 GB, free: 7.164 MB / 0.7292 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 () * Number of clocked 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.0002552/1.187, allocations: 142.9 kB / 1.234 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003919/1.191, allocations: 2.545 MB / 1.236 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/1.191, allocations: 4 kB / 1.236 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006538/1.192, allocations: 454.2 kB / 1.236 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/1.193, allocations: 227.8 kB / 1.237 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.203, allocations: 5.042 MB / 1.242 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/1.205, allocations: 2.038 MB / 1.244 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002056/1.207, allocations: 0.8053 MB / 1.244 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/1.208, allocations: 87.41 kB / 1.244 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of SimCode: time 1.213e-06/1.208, allocations: 0 / 1.244 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.02283/1.231, allocations: 12.87 MB / 1.257 GB, free: 14.83 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches