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.405/1.405, allocations: 249.5 MB / 257 MB, free: 6.926 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.001027/0.001027, allocations: 180.8 kB / 316.3 MB, free: 3.238 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.466/1.466, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0008096/0.0008096, allocations: 93.22 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/2.021e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1865, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7405/0.9271, allocations: 168.7 MB / 1.05 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.9274, allocations: 97.44 kB / 1.05 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.2186/1.146, allocations: 95.5 MB / 1.143 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.883e-06/1.146, allocations: 0 / 1.143 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001036/1.146, allocations: 55.98 kB / 1.143 GB, free: 13.03 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.004339/1.151, allocations: 2.16 MB / 1.146 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.151, allocations: 12.03 kB / 1.146 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003924/1.155, allocations: 0.7538 MB / 1.146 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/1.157, allocations: 1.453 MB / 1.148 GB, free: 8.551 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/1.157, allocations: 84 kB / 1.148 GB, free: 8.469 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003425/1.158, allocations: 147.9 kB / 1.148 GB, free: 8.324 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00459/1.162, allocations: 2.97 MB / 1.151 GB, free: 5.348 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005594/1.168, allocations: 3.774 MB / 1.154 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-05/1.168, allocations: 7.938 kB / 1.154 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/1.168, allocations: 8 kB / 1.154 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001788/1.168, allocations: 164.3 kB / 1.155 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02066/1.189, allocations: 20.69 MB / 1.175 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/1.19, allocations: 0.5083 MB / 1.175 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005194/1.19, allocations: 482.6 kB / 1.176 GB, free: 9.547 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.03e-05/1.19, allocations: 16.67 kB / 1.176 GB, free: 9.531 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/1.19, allocations: 54.44 kB / 1.176 GB, free: 9.469 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=50): time 3.847e-06/1.19, allocations: 3.938 kB / 1.176 GB, free: 9.465 MB / 0.7917 GB Notification: Performance of matching and sorting (n=56): time 0.004719/1.195, allocations: 3.565 MB / 1.179 GB, free: 5.844 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.195, allocations: 243.3 kB / 1.18 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/1.196, allocations: 1.115 MB / 1.181 GB, free: 4.414 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/1.197, allocations: 25.7 kB / 1.181 GB, free: 4.383 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007797/1.197, allocations: 1.226 MB / 1.182 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/1.197, allocations: 205.5 kB / 1.182 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/1.198, allocations: 4 kB / 1.182 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001896/1.198, allocations: 406.7 kB / 1.182 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009064/1.199, allocations: 0.734 MB / 1.183 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/1.2, allocations: 1.416 MB / 1.185 GB, free: 36 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/1.202, allocations: 1.112 MB / 1.186 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/1.202, allocations: 8 kB / 1.186 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003193/1.205, allocations: 2.211 MB / 1.188 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003633/1.209, allocations: 9.395 MB / 1.197 GB, free: 2.562 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.443e-05/1.209, allocations: 24 kB / 1.197 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.417e-05/1.209, allocations: 36 kB / 1.197 GB, free: 2.504 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/1.21, allocations: 451.1 kB / 1.198 GB, free: 2.062 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.48e-05/1.21, allocations: 43.86 kB / 1.198 GB, free: 2.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/1.212, allocations: 259.2 kB / 1.198 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/1.212, allocations: 83.98 kB / 1.198 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/1.212, allocations: 4 kB / 1.198 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002628/1.215, allocations: 1.859 MB / 1.2 GB, free: 15.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/1.215, allocations: 24 kB / 1.2 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/1.215, allocations: 36.91 kB / 1.2 GB, free: 15.76 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.216, allocations: 415.2 kB / 1.2 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.329e-05/1.216, allocations: 43.86 kB / 1.2 GB, free: 15.31 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009998/1.217, allocations: 147.5 kB / 1.2 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.217, allocations: 83.98 kB / 1.2 GB, free: 15.09 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.0002536/1.217, allocations: 164.3 kB / 1.201 GB, free: 14.92 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/1.218, allocations: 106.7 kB / 1.201 GB, free: 14.82 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/1.219, allocations: 0.8339 MB / 1.201 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/1.219, allocations: 11.98 kB / 1.202 GB, free: 13.96 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.219, allocations: 8 kB / 1.202 GB, free: 13.96 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.219, allocations: 3.953 kB / 1.202 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008659/1.228, allocations: 7.365 MB / 1.209 GB, free: 6.398 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/1.228, allocations: 12 kB / 1.209 GB, free: 6.387 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/1.228, allocations: 147.7 kB / 1.209 GB, free: 6.242 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.926e-05/1.228, allocations: 16 kB / 1.209 GB, free: 6.227 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.013e-05/1.228, allocations: 16 kB / 1.209 GB, free: 6.211 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.706e-05/1.228, allocations: 15.94 kB / 1.209 GB, free: 6.195 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-05/1.228, allocations: 19.94 kB / 1.209 GB, free: 6.176 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/1.23, allocations: 2.4 MB / 1.211 GB, free: 3.32 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/1.231, allocations: 335.6 kB / 1.212 GB, free: 2.973 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/1.231, allocations: 19.98 kB / 1.212 GB, free: 2.953 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009364/1.232, allocations: 99.83 kB / 1.212 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/1.232, allocations: 87.61 kB / 1.212 GB, free: 2.77 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/1.232, allocations: 28 kB / 1.212 GB, free: 2.742 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001025/1.233, allocations: 0.8407 MB / 1.213 GB, free: 1.891 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.233, allocations: 0 / 1.213 GB, free: 1.891 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002995/1.236, allocations: 0.7422 MB / 1.213 GB, free: 1.148 MB / 0.823 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.0002352/1.236, allocations: 146.8 kB / 1.213 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00323/1.239, allocations: 2.384 MB / 1.216 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.239, allocations: 1.562 kB / 1.216 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000487/1.24, allocations: 433.2 kB / 1.216 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/1.241, allocations: 200.5 kB / 1.216 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005862/1.247, allocations: 3.388 MB / 1.22 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/1.249, allocations: 2.035 MB / 1.222 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002195/1.251, allocations: 0.8676 MB / 1.223 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/1.251, allocations: 75.41 kB / 1.223 GB, free: 7.418 MB / 0.8386 GB Notification: Performance of SimCode: time 1.353e-06/1.251, allocations: 4 kB / 1.223 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of Templates: time 0.02331/1.275, allocations: 12.98 MB / 1.235 GB, free: 10.49 MB / 0.8542 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