Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.824/2.824, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004126, allocations: 16 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7679/0.7684, allocations: 153.7 MB / 1.021 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.01766/0.786, allocations: 15.47 MB / 1.036 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.7964, allocations: 5.802 MB / 1.042 GB, free: 11.93 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.798, allocations: 39.88 kB / 1.042 GB, free: 11.89 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.7993, allocations: 341.9 kB / 1.042 GB, free: 11.55 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.8018, allocations: 0.6348 MB / 1.043 GB, free: 10.91 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.8041, allocations: 0.6927 MB / 1.043 GB, free: 10.22 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002933/0.8071, allocations: 1.888 MB / 1.045 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01079/0.8179, allocations: 5.956 MB / 1.051 GB, free: 2.316 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002626/0.8205, allocations: 1.114 MB / 1.052 GB, free: 1.199 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.8231, allocations: 1.277 MB / 1.053 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007638/0.8239, allocations: 192 kB / 1.053 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.8257, allocations: 0.593 MB / 1.054 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001907/0.8276, allocations: 1.353 MB / 1.055 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.8288, allocations: 0.5706 MB / 1.056 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005315/0.8341, allocations: 5.476 MB / 1.061 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8341, allocations: 0 / 1.061 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8341, allocations: 0 / 1.061 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001552/0.8343, allocations: 0 / 1.061 GB, free: 7.715 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.005357/0.8397, allocations: 2.509 MB / 1.064 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.8397, allocations: 19.92 kB / 1.064 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.8514, allocations: 2.271 MB / 1.066 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005275/0.8567, allocations: 1.687 MB / 1.068 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.857, allocations: 217.9 kB / 1.068 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/0.8583, allocations: 292 kB / 1.068 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01374/0.872, allocations: 5.856 MB / 1.074 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.774e-05/0.8721, allocations: 3.906 kB / 1.074 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003413/0.8725, allocations: 127.9 kB / 1.074 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004268/0.8729, allocations: 262 kB / 1.074 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/0.8872, allocations: 6.081 MB / 1.08 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03149/0.9188, allocations: 22.76 MB / 1.102 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005766/0.9246, allocations: 2.61 MB / 1.105 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002105/0.9248, allocations: 106.1 kB / 1.105 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.9249, allocations: 55.5 kB / 1.105 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=122): time 4.589e-06/0.9249, allocations: 0 / 1.105 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=125): time 0.02393/0.9488, allocations: 8.038 MB / 1.113 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.9489, allocations: 64.41 kB / 1.113 GB, free: 452 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.9508, allocations: 1.135 MB / 1.114 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002251/0.9511, allocations: 49.7 kB / 1.114 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000859/0.9519, allocations: 1.273 MB / 1.115 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005103/0.9525, allocations: 445.7 kB / 1.116 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.9526, allocations: 40 kB / 1.116 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002455/0.9529, allocations: 426.7 kB / 1.116 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004286/0.9571, allocations: 1.713 MB / 1.118 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004834/0.962, allocations: 2.409 MB / 1.12 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/0.9668, allocations: 2.016 MB / 1.122 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-05/0.9668, allocations: 4 kB / 1.122 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.0121/0.9789, allocations: 4.842 MB / 1.127 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.004162/0.9831, allocations: 8.877 MB / 1.136 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.152e-05/0.9832, allocations: 24 kB / 1.136 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/0.9856, allocations: 0.7088 MB / 1.136 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00342/0.9891, allocations: 0.7565 MB / 1.137 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/1, allocations: 8.608 MB / 1.145 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/1.003, allocations: 479 kB / 1.146 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002508/1.004, allocations: 111.9 kB / 1.146 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.004, allocations: 4 kB / 1.146 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01104/1.015, allocations: 4.678 MB / 1.151 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-05/1.015, allocations: 20 kB / 1.151 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/1.016, allocations: 0.6514 MB / 1.151 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003162/1.02, allocations: 0.7448 MB / 1.152 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/1.03, allocations: 8.364 MB / 1.16 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/1.033, allocations: 463.1 kB / 1.161 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002859/1.034, allocations: 108 kB / 1.161 GB, free: 13.59 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (220): * Single equations (assignments): 217 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0024/1.036, allocations: 1.265 MB / 1.162 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/1.036, allocations: 130.8 kB / 1.162 GB, free: 12.19 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.047, allocations: 4.252 MB / 1.166 GB, free: 7.891 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/1.047, allocations: 15.98 kB / 1.166 GB, free: 7.875 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.047, allocations: 4 kB / 1.166 GB, free: 7.871 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/1.047, allocations: 7.969 kB / 1.166 GB, free: 7.863 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/1.065, allocations: 7.336 MB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.065, allocations: 4 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/1.067, allocations: 0.4997 MB / 1.174 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/1.069, allocations: 0.6122 MB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/1.069, allocations: 43.95 kB / 1.175 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/1.079, allocations: 8.489 MB / 1.183 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/1.079, allocations: 11.92 kB / 1.183 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009889/1.089, allocations: 3.999 MB / 1.187 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/1.091, allocations: 495.3 kB / 1.187 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/1.091, allocations: 31.95 kB / 1.187 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/1.093, allocations: 411.3 kB / 1.188 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/1.094, allocations: 100.8 kB / 1.188 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.094, allocations: 47.97 kB / 1.188 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001088/1.095, allocations: 0.8051 MB / 1.189 GB, free: 264 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/1.095, allocations: 0 / 1.189 GB, free: 264 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003651/1.099, allocations: 1.078 MB / 1.19 GB, free: 15.18 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (89): * Single equations (assignments): 86 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003188/1.099, allocations: 143.9 kB / 1.19 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01769/1.117, allocations: 7.215 MB / 1.197 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/1.117, allocations: 0 / 1.197 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.006405/1.123, allocations: 2.318 MB / 1.199 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/1.124, allocations: 183.3 kB / 1.199 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01989/1.144, allocations: 7.973 MB / 1.207 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/1.147, allocations: 2.287 MB / 1.209 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004035/1.151, allocations: 1.252 MB / 1.21 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000502/1.151, allocations: 123.4 kB / 1.211 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of SimCode: time 7.92e-07/1.151, allocations: 4 kB / 1.211 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of Templates: time 0.04864/1.2, allocations: 28.62 MB / 1.239 GB, free: 12.98 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches