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.451/1.451, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.001006/0.001006, allocations: 178.6 kB / 321.3 MB, free: 14.63 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.376/1.376, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0008344/0.000834, allocations: 96.34 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.228e-05/4.245e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2006, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7381/0.9387, allocations: 168.4 MB / 1.056 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.939, allocations: 98.17 kB / 1.056 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2187/1.158, allocations: 95.88 MB / 1.15 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.715e-06/1.158, allocations: 0 / 1.15 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001186/1.158, allocations: 55.98 kB / 1.15 GB, free: 6.004 MB / 0.7605 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.004154/1.162, allocations: 2.172 MB / 1.152 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.162, allocations: 8.031 kB / 1.152 GB, free: 3.77 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/1.166, allocations: 0.75 MB / 1.153 GB, free: 3.016 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/1.169, allocations: 1.457 MB / 1.154 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/1.169, allocations: 189.1 kB / 1.155 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004126/1.169, allocations: 255.9 kB / 1.155 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00649/1.176, allocations: 4.144 MB / 1.159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.682e-05/1.176, allocations: 7.938 kB / 1.159 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002926/1.176, allocations: 112 kB / 1.159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/1.176, allocations: 160.3 kB / 1.159 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005518/1.182, allocations: 3.399 MB / 1.162 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02362/1.205, allocations: 21.52 MB / 1.183 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007393/1.206, allocations: 0.5266 MB / 1.184 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006614/1.207, allocations: 0.4992 MB / 1.184 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/1.207, allocations: 15.94 kB / 1.184 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/1.207, allocations: 42.5 kB / 1.184 GB, free: 452 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=50): time 3.647e-06/1.207, allocations: 0 / 1.184 GB, free: 452 kB / 0.7917 GB Notification: Performance of matching and sorting (n=56): time 0.005618/1.213, allocations: 3.625 MB / 1.188 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/1.213, allocations: 243.3 kB / 1.188 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/1.214, allocations: 1.187 MB / 1.189 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/1.214, allocations: 29.7 kB / 1.189 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008583/1.215, allocations: 1.237 MB / 1.191 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000223/1.215, allocations: 213.2 kB / 1.191 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/1.216, allocations: 28 kB / 1.191 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002407/1.216, allocations: 410.9 kB / 1.191 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/1.217, allocations: 0.7652 MB / 1.192 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/1.218, allocations: 1.458 MB / 1.193 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/1.22, allocations: 1.05 MB / 1.194 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/1.22, allocations: 8 kB / 1.194 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003216/1.223, allocations: 2.305 MB / 1.197 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00356/1.227, allocations: 9.395 MB / 1.206 GB, free: 9.254 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/1.227, allocations: 28 kB / 1.206 GB, free: 9.227 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.665e-05/1.227, allocations: 39.95 kB / 1.206 GB, free: 9.188 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/1.228, allocations: 447.2 kB / 1.206 GB, free: 8.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.737e-05/1.228, allocations: 51.73 kB / 1.206 GB, free: 8.699 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/1.23, allocations: 287.1 kB / 1.207 GB, free: 8.418 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/1.23, allocations: 83.98 kB / 1.207 GB, free: 8.336 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/1.23, allocations: 8 kB / 1.207 GB, free: 8.328 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002658/1.233, allocations: 1.976 MB / 1.209 GB, free: 6.352 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/1.233, allocations: 27.98 kB / 1.209 GB, free: 6.324 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/1.233, allocations: 36 kB / 1.209 GB, free: 6.289 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.234, allocations: 407.3 kB / 1.209 GB, free: 5.891 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.504e-05/1.234, allocations: 47.8 kB / 1.209 GB, free: 5.844 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/1.235, allocations: 184 kB / 1.209 GB, free: 5.664 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.235, allocations: 83.98 kB / 1.209 GB, free: 5.582 MB / 0.823 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.000312/1.236, allocations: 204.2 kB / 1.21 GB, free: 5.375 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/1.236, allocations: 106.7 kB / 1.21 GB, free: 5.27 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/1.238, allocations: 0.865 MB / 1.211 GB, free: 4.402 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/1.238, allocations: 15.95 kB / 1.211 GB, free: 4.387 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.238, allocations: 4 kB / 1.211 GB, free: 4.383 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/1.238, allocations: 3.984 kB / 1.211 GB, free: 4.379 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/1.249, allocations: 8.13 MB / 1.219 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/1.249, allocations: 8 kB / 1.219 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/1.249, allocations: 143.9 kB / 1.219 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.182e-05/1.249, allocations: 19.95 kB / 1.219 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/1.249, allocations: 24 kB / 1.219 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.657e-05/1.249, allocations: 27.86 kB / 1.219 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/1.249, allocations: 19.94 kB / 1.219 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/1.251, allocations: 2.427 MB / 1.221 GB, free: 8.938 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006448/1.252, allocations: 347.5 kB / 1.222 GB, free: 8.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.252, allocations: 31.97 kB / 1.222 GB, free: 8.547 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000945/1.253, allocations: 111.8 kB / 1.222 GB, free: 8.438 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/1.253, allocations: 71.73 kB / 1.222 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/1.253, allocations: 28 kB / 1.222 GB, free: 8.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001199/1.255, allocations: 0.9165 MB / 1.223 GB, free: 7.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.255, allocations: 4 kB / 1.223 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002975/1.258, allocations: 0.8125 MB / 1.223 GB, free: 6.594 MB / 0.8386 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.0002505/1.258, allocations: 146.9 kB / 1.224 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003475/1.261, allocations: 2.539 MB / 1.226 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.261, allocations: 4 kB / 1.226 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005386/1.262, allocations: 446.4 kB / 1.226 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/1.263, allocations: 218.6 kB / 1.227 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006017/1.269, allocations: 3.426 MB / 1.23 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/1.271, allocations: 2.039 MB / 1.232 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002108/1.273, allocations: 0.8599 MB / 1.233 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/1.274, allocations: 75.41 kB / 1.233 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/1.274, allocations: 0 / 1.233 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of Templates: time 0.02359/1.297, allocations: 13.77 MB / 1.246 GB, free: 14.91 MB / 0.8698 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