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.TransformerStepDownDY.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.TransformerStepDownDY,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.TransformerStepDownDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY,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.TransformerStepDownDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 249.5 MB / 257 MB, free: 6.918 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.001186/0.001186, allocations: 176.9 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.488/1.488, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0008927/0.0008928, allocations: 79.41 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.92e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2251, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7812/1.006, allocations: 181.5 MB / 1.062 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.007, allocations: 95.38 kB / 1.063 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2442/1.251, allocations: 105.4 MB / 1.165 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.484e-06/1.251, allocations: 0 / 1.165 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001207/1.251, allocations: 56 kB / 1.166 GB, free: 6.203 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.007289/1.258, allocations: 2.427 MB / 1.168 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.259, allocations: 8.562 kB / 1.168 GB, free: 3.715 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/1.27, allocations: 1.912 MB / 1.17 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/1.273, allocations: 1.717 MB / 1.171 GB, free: 40 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/1.273, allocations: 96.05 kB / 1.172 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007818/1.274, allocations: 172 kB / 1.172 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007583/1.282, allocations: 4.065 MB / 1.176 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007726/1.289, allocations: 4.5 MB / 1.18 GB, free: 7.117 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.439e-05/1.29, allocations: 3.938 kB / 1.18 GB, free: 7.113 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003095/1.29, allocations: 11.89 kB / 1.18 GB, free: 7.102 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003056/1.29, allocations: 196.9 kB / 1.18 GB, free: 6.906 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02502/1.315, allocations: 22.14 MB / 1.202 GB, free: 14.77 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/1.318, allocations: 1.991 MB / 1.204 GB, free: 12.65 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/1.319, allocations: 1.176 MB / 1.205 GB, free: 11.46 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/1.32, allocations: 118.4 kB / 1.205 GB, free: 11.32 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/1.32, allocations: 67.77 kB / 1.205 GB, free: 11.25 MB / 0.823 GB Notification: Performance of pre-optimization done (n=123): time 4.338e-06/1.32, allocations: 0 / 1.205 GB, free: 11.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.01514/1.335, allocations: 7.228 MB / 1.212 GB, free: 3.98 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/1.335, allocations: 222.9 kB / 1.212 GB, free: 3.715 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/1.336, allocations: 0.9134 MB / 1.213 GB, free: 2.793 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002386/1.337, allocations: 25.7 kB / 1.213 GB, free: 2.762 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000826/1.337, allocations: 1.254 MB / 1.215 GB, free: 1.488 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006539/1.338, allocations: 0.5043 MB / 1.215 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/1.338, allocations: 4 kB / 1.215 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002321/1.339, allocations: 423.2 kB / 1.215 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/1.34, allocations: 1.293 MB / 1.217 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/1.343, allocations: 1.951 MB / 1.219 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00333/1.346, allocations: 1.906 MB / 1.221 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/1.346, allocations: 8 kB / 1.221 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.00768/1.354, allocations: 4.226 MB / 1.225 GB, free: 6.832 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002988/1.357, allocations: 8.446 MB / 1.233 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-05/1.357, allocations: 24 kB / 1.233 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/1.359, allocations: 0.7426 MB / 1.234 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00359/1.362, allocations: 0.7721 MB / 1.234 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/1.376, allocations: 12.24 MB / 1.246 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003752/1.38, allocations: 430.8 kB / 1.247 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006882/1.381, allocations: 115.9 kB / 1.247 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.381, allocations: 5.25 kB / 1.247 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008273/1.389, allocations: 3.956 MB / 1.251 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-05/1.389, allocations: 27.94 kB / 1.251 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/1.391, allocations: 0.6497 MB / 1.251 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00357/1.394, allocations: 0.7759 MB / 1.252 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5211/1.915, allocations: 11.71 MB / 1.264 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/1.919, allocations: 416.2 kB / 1.264 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006432/1.92, allocations: 112 kB / 1.264 GB, free: 247.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009497/1.921, allocations: 170.8 kB / 1.264 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006485/1.921, allocations: 119.6 kB / 1.264 GB, free: 247 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008335/1.93, allocations: 3.646 MB / 1.268 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/1.93, allocations: 15.53 kB / 1.268 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.754e-05/1.93, allocations: 9.016 kB / 1.268 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/1.93, allocations: 12.58 kB / 1.268 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.943, allocations: 6.709 MB / 1.275 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/1.943, allocations: 6.781 kB / 1.275 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/1.946, allocations: 0.5236 MB / 1.275 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001741/1.947, allocations: 0.6105 MB / 1.276 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/1.948, allocations: 31.56 kB / 1.276 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01107/1.959, allocations: 11.53 MB / 1.287 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/1.959, allocations: 10.09 kB / 1.287 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006594/1.965, allocations: 3.636 MB / 1.29 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.967, allocations: 0.498 MB / 1.291 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004336/1.967, allocations: 14.27 kB / 1.291 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002838/1.97, allocations: 377 kB / 1.291 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003912/1.97, allocations: 130.8 kB / 1.291 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/1.97, allocations: 63.27 kB / 1.292 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001294/1.972, allocations: 0.7058 MB / 1.292 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.972, allocations: 0 / 1.292 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005291/1.977, allocations: 1.074 MB / 1.293 GB, free: 237.3 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 (105): * Single equations (assignments): 99 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004163/1.977, allocations: 142.4 kB / 1.293 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01163/1.989, allocations: 6.462 MB / 1.3 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.989, allocations: 2.219 kB / 1.3 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00374/1.993, allocations: 2.165 MB / 1.302 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/1.994, allocations: 132.6 kB / 1.302 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/2.014, allocations: 5.84 MB / 1.308 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003357/2.017, allocations: 2.386 MB / 1.31 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004397/2.021, allocations: 1.323 MB / 1.311 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006068/2.022, allocations: 125.3 kB / 1.311 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/2.022, allocations: 0 / 1.311 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.04196/2.064, allocations: 29.32 MB / 1.34 GB, free: 232.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownDY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches