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.238/2.238, allocations: 390.3 MB / 405.3 MB, free: 13.29 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.001074/0.001074, allocations: 185 kB / 498.1 MB, free: 5.531 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.582/1.582, allocations: 223.2 MB / 0.7949 GB, free: 17.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.0008443/0.0008442, allocations: 98.52 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004535, allocations: 11.72 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2538, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2119/0.4657, allocations: 186.3 MB / 1.405 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/0.4661, allocations: 103.9 kB / 1.405 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7642/1.23, allocations: 103 MB / 1.506 GB, free: 145.2 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.395e-06/1.23, allocations: 0 / 1.506 GB, free: 145.2 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001527/1.231, allocations: 59.94 kB / 1.506 GB, free: 145.1 MB / 0.9167 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.006912/1.237, allocations: 2.279 MB / 1.508 GB, free: 142.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/1.238, allocations: 12.03 kB / 1.508 GB, free: 142.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004479/1.242, allocations: 0.7462 MB / 1.509 GB, free: 142 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/1.245, allocations: 1.457 MB / 1.51 GB, free: 140.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.48e-05/1.245, allocations: 193.2 kB / 1.51 GB, free: 140.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003599/1.246, allocations: 248 kB / 1.51 GB, free: 140.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005637/1.251, allocations: 4.206 MB / 1.514 GB, free: 135.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.045e-05/1.251, allocations: 11.84 kB / 1.514 GB, free: 135.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/1.252, allocations: 108 kB / 1.515 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/1.252, allocations: 156.3 kB / 1.515 GB, free: 135.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004417/1.256, allocations: 3.46 MB / 1.518 GB, free: 131.9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/1.274, allocations: 21.51 MB / 1.539 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/1.275, allocations: 0.5239 MB / 1.54 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/1.275, allocations: 12.75 kB / 1.54 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/1.275, allocations: 46.45 kB / 1.54 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=50): time 3.517e-06/1.275, allocations: 4 kB / 1.54 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=56): time 0.004919/1.28, allocations: 3.998 MB / 1.544 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/1.28, allocations: 240.5 kB / 1.544 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/1.281, allocations: 1.199 MB / 1.545 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/1.281, allocations: 41.7 kB / 1.545 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/1.282, allocations: 1.233 MB / 1.546 GB, free: 101 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/1.282, allocations: 209.3 kB / 1.546 GB, free: 100.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/1.282, allocations: 32 kB / 1.546 GB, free: 100.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.282, allocations: 410.7 kB / 1.547 GB, free: 100.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008383/1.283, allocations: 0.7767 MB / 1.548 GB, free: 99.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/1.284, allocations: 1.469 MB / 1.549 GB, free: 97.77 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/1.285, allocations: 1.058 MB / 1.55 GB, free: 96.71 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/1.285, allocations: 11.95 kB / 1.55 GB, free: 96.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002611/1.288, allocations: 2.327 MB / 1.552 GB, free: 94.36 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001708/1.29, allocations: 9.4 MB / 1.562 GB, free: 84.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/1.29, allocations: 24 kB / 1.562 GB, free: 84.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.155e-05/1.29, allocations: 43.92 kB / 1.562 GB, free: 84.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/1.291, allocations: 447.2 kB / 1.562 GB, free: 83.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.712e-05/1.291, allocations: 55.78 kB / 1.562 GB, free: 83.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.293, allocations: 275.3 kB / 1.562 GB, free: 83.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.293, allocations: 79.98 kB / 1.562 GB, free: 83.32 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/1.293, allocations: 5.719 kB / 1.562 GB, free: 83.32 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002239/1.295, allocations: 2.008 MB / 1.564 GB, free: 81.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/1.295, allocations: 24 kB / 1.564 GB, free: 81.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/1.295, allocations: 36 kB / 1.564 GB, free: 81.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.296, allocations: 407.3 kB / 1.565 GB, free: 80.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-05/1.296, allocations: 47.8 kB / 1.565 GB, free: 80.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/1.298, allocations: 187.4 kB / 1.565 GB, free: 80.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/1.298, allocations: 83.98 kB / 1.565 GB, free: 80.54 MB / 0.9167 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.001912/1.3, allocations: 1.136 MB / 1.566 GB, free: 79.39 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/1.3, allocations: 98.78 kB / 1.566 GB, free: 79.29 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/1.301, allocations: 0.8743 MB / 1.567 GB, free: 78.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/1.301, allocations: 11.94 kB / 1.567 GB, free: 78.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/1.301, allocations: 4 kB / 1.567 GB, free: 78.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.301, allocations: 4 kB / 1.567 GB, free: 78.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008364/1.309, allocations: 8.13 MB / 1.575 GB, free: 70.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.309, allocations: 12.38 kB / 1.575 GB, free: 70.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/1.31, allocations: 143.7 kB / 1.575 GB, free: 69.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/1.31, allocations: 16.81 kB / 1.575 GB, free: 69.89 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/1.31, allocations: 24 kB / 1.575 GB, free: 69.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.73e-05/1.31, allocations: 27.92 kB / 1.575 GB, free: 69.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/1.31, allocations: 15.94 kB / 1.575 GB, free: 69.83 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/1.312, allocations: 2.44 MB / 1.578 GB, free: 66.94 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006167/1.313, allocations: 347.5 kB / 1.578 GB, free: 66.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/1.313, allocations: 31.98 kB / 1.578 GB, free: 66.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009134/1.314, allocations: 111.8 kB / 1.578 GB, free: 66.44 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/1.314, allocations: 71.66 kB / 1.578 GB, free: 66.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/1.314, allocations: 32 kB / 1.578 GB, free: 66.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009671/1.315, allocations: 0.9198 MB / 1.579 GB, free: 65.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.132e-06/1.315, allocations: 0 / 1.579 GB, free: 65.41 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002842/1.318, allocations: 0.8241 MB / 1.58 GB, free: 64.59 MB / 0.9167 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.0002179/1.318, allocations: 150.7 kB / 1.58 GB, free: 64.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002849/1.321, allocations: 2.547 MB / 1.583 GB, free: 61.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.321, allocations: 0 / 1.583 GB, free: 61.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004217/1.321, allocations: 450.3 kB / 1.583 GB, free: 61.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/1.322, allocations: 221.3 kB / 1.583 GB, free: 61.25 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/1.329, allocations: 5.04 MB / 1.588 GB, free: 56.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/1.33, allocations: 2.041 MB / 1.59 GB, free: 53.94 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001967/1.332, allocations: 0.8092 MB / 1.591 GB, free: 53.13 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/1.332, allocations: 83.41 kB / 1.591 GB, free: 53.05 MB / 0.9167 GB Notification: Performance of SimCode: time 1.513e-06/1.332, allocations: 0 / 1.591 GB, free: 53.05 MB / 0.9167 GB Notification: Performance of Templates: time 0.02128/1.354, allocations: 12.87 MB / 1.604 GB, free: 40.27 MB / 0.9167 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