Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") 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.3 MB / 261.8 MB, free: 5.855 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.001028/0.001028, allocations: 170.6 kB / 321.3 MB, free: 14.65 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.311/1.311, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008027/0.0008028, allocations: 82.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.306e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1982, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7605/0.9587, allocations: 186 MB / 1.073 GB, free: 15.22 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/0.9591, allocations: 96.09 kB / 1.074 GB, free: 15.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2843/1.243, allocations: 120.8 MB / 1.191 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.533e-06/1.243, allocations: 0 / 1.191 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001176/1.244, allocations: 60 kB / 1.192 GB, free: 11.26 MB / 0.8073 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.007394/1.251, allocations: 2.419 MB / 1.194 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/1.251, allocations: 12.02 kB / 1.194 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01296/1.264, allocations: 2.052 MB / 1.196 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005042/1.269, allocations: 1.794 MB / 1.198 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/1.269, allocations: 221.8 kB / 1.198 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/1.271, allocations: 287.9 kB / 1.198 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/1.282, allocations: 4.948 MB / 1.203 GB, free: 15.36 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-05/1.282, allocations: 0 / 1.203 GB, free: 15.36 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004007/1.282, allocations: 128 kB / 1.203 GB, free: 15.23 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004521/1.283, allocations: 250 kB / 1.203 GB, free: 14.98 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009504/1.292, allocations: 4.659 MB / 1.208 GB, free: 10.32 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03196/1.324, allocations: 22.43 MB / 1.23 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/1.327, allocations: 2.036 MB / 1.232 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/1.329, allocations: 1.241 MB / 1.233 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/1.329, allocations: 118 kB / 1.233 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/1.329, allocations: 43.56 kB / 1.233 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=122): time 4.368e-06/1.329, allocations: 0 / 1.233 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=173): time 0.03913/1.369, allocations: 11.25 MB / 1.244 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/1.369, allocations: 69.41 kB / 1.244 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/1.37, allocations: 1.025 MB / 1.245 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/1.371, allocations: 49.7 kB / 1.245 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008635/1.371, allocations: 1.27 MB / 1.246 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005769/1.372, allocations: 0.5892 MB / 1.247 GB, free: 36 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/1.372, allocations: 56.02 kB / 1.247 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002414/1.372, allocations: 443.5 kB / 1.248 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/1.375, allocations: 1.508 MB / 1.249 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/1.377, allocations: 2.223 MB / 1.251 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/1.38, allocations: 1.868 MB / 1.253 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/1.38, allocations: 8 kB / 1.253 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009048/1.389, allocations: 5.166 MB / 1.258 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.4783/1.867, allocations: 8.874 MB / 1.267 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-05/1.867, allocations: 22.22 kB / 1.267 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004842/1.872, allocations: 1.375 MB / 1.268 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003934/1.876, allocations: 0.7689 MB / 1.269 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/1.897, allocations: 17.11 MB / 1.286 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004056/1.901, allocations: 489.6 kB / 1.286 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004029/1.902, allocations: 120.4 kB / 1.286 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/1.902, allocations: 5.156 kB / 1.286 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009871/1.912, allocations: 5.006 MB / 1.291 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-05/1.912, allocations: 22.59 kB / 1.291 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003942/1.916, allocations: 1.347 MB / 1.292 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/1.92, allocations: 0.7703 MB / 1.293 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01959/1.939, allocations: 16.94 MB / 1.31 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/1.943, allocations: 471.6 kB / 1.31 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003239/1.943, allocations: 119.1 kB / 1.31 GB, free: 226.2 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006677/1.944, allocations: 242.7 kB / 1.31 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/1.944, allocations: 139.5 kB / 1.311 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00903/1.953, allocations: 4.777 MB / 1.315 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/1.953, allocations: 15.06 kB / 1.315 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.988e-05/1.953, allocations: 18.8 kB / 1.315 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/1.953, allocations: 7.172 kB / 1.315 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/1.968, allocations: 8.58 MB / 1.324 GB, free: 221.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/1.968, allocations: 7.75 kB / 1.324 GB, free: 221.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/1.97, allocations: 0.5148 MB / 1.324 GB, free: 221.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003022/1.973, allocations: 1.192 MB / 1.325 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/1.973, allocations: 49.28 kB / 1.325 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/1.989, allocations: 16.44 MB / 1.341 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/1.989, allocations: 12.41 kB / 1.341 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00647/1.995, allocations: 4.368 MB / 1.346 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.996, allocations: 0.5449 MB / 1.346 GB, free: 207.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/1.997, allocations: 31.28 kB / 1.346 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/1.999, allocations: 444.8 kB / 1.347 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004483/1.999, allocations: 149.7 kB / 1.347 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/2, allocations: 63.7 kB / 1.347 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001042/2.001, allocations: 0.7937 MB / 1.348 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/2.001, allocations: 0 / 1.348 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004602/2.005, allocations: 1.322 MB / 1.349 GB, free: 207 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 98 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(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.000347/2.006, allocations: 174 kB / 1.349 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0131/2.019, allocations: 8.023 MB / 1.357 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/2.019, allocations: 2.812 kB / 1.357 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004543/2.023, allocations: 2.779 MB / 1.36 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/2.025, allocations: 197.5 kB / 1.36 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/2.04, allocations: 6.275 MB / 1.366 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/2.043, allocations: 2.426 MB / 1.368 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003992/2.047, allocations: 1.286 MB / 1.37 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/2.047, allocations: 126 kB / 1.37 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.443e-06/2.047, allocations: 0 / 1.37 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.05558/2.103, allocations: 41.98 MB / 1.411 GB, free: 183.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches