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.TransformerStepDownYD.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.TransformerStepDownYD,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.TransformerStepDownYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,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.TransformerStepDownYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 249.3 MB / 261.8 MB, free: 5.848 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.0009184/0.0009184, allocations: 180.9 kB / 321.3 MB, free: 14.64 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.341/1.341, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008319/0.000832, allocations: 98.44 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.291e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1989, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7388/0.9378, allocations: 181.2 MB / 1.069 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.9381, allocations: 103 kB / 1.069 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2385/1.177, allocations: 102.3 MB / 1.169 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.523e-06/1.177, allocations: 0 / 1.169 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.423e-05/1.177, allocations: 52 kB / 1.169 GB, free: 2.867 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.005867/1.183, allocations: 2.341 MB / 1.171 GB, free: 480 kB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.183, allocations: 8.031 kB / 1.171 GB, free: 472 kB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/1.194, allocations: 1.9 MB / 1.173 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00449/1.199, allocations: 1.658 MB / 1.175 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/1.199, allocations: 217.8 kB / 1.175 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009033/1.2, allocations: 288 kB / 1.175 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008907/1.209, allocations: 4.726 MB / 1.18 GB, free: 7.535 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/1.209, allocations: 0 / 1.18 GB, free: 7.535 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003464/1.209, allocations: 120 kB / 1.18 GB, free: 7.418 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003263/1.21, allocations: 196.7 kB / 1.18 GB, free: 7.223 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007385/1.217, allocations: 4.381 MB / 1.184 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02722/1.244, allocations: 22.46 MB / 1.206 GB, free: 10.33 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/1.247, allocations: 2.512 MB / 1.209 GB, free: 7.648 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/1.25, allocations: 1.461 MB / 1.21 GB, free: 6.168 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/1.25, allocations: 122 kB / 1.21 GB, free: 6.031 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/1.25, allocations: 59.44 kB / 1.21 GB, free: 5.961 MB / 0.823 GB Notification: Performance of pre-optimization done (n=132): time 3.496e-06/1.25, allocations: 0 / 1.21 GB, free: 5.961 MB / 0.823 GB Notification: Performance of matching and sorting (n=174): time 0.02803/1.278, allocations: 10.03 MB / 1.22 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.278, allocations: 226.9 kB / 1.22 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.279, allocations: 0.8547 MB / 1.221 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001582/1.28, allocations: 49.7 kB / 1.221 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006695/1.28, allocations: 1.162 MB / 1.222 GB, free: 9.527 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005475/1.281, allocations: 0.5931 MB / 1.223 GB, free: 8.926 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/1.281, allocations: 48 kB / 1.223 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002146/1.281, allocations: 427.2 kB / 1.223 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/1.283, allocations: 1.347 MB / 1.225 GB, free: 7.102 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002562/1.286, allocations: 1.934 MB / 1.226 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/1.288, allocations: 1.665 MB / 1.228 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/1.288, allocations: 4 kB / 1.228 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007689/1.296, allocations: 4.312 MB / 1.232 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002718/1.299, allocations: 7.052 MB / 1.239 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/1.299, allocations: 19.95 kB / 1.239 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/1.301, allocations: 1.094 MB / 1.24 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/1.305, allocations: 0.7331 MB / 1.241 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/1.318, allocations: 10.15 MB / 1.251 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/1.321, allocations: 463.1 kB / 1.251 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000309/1.322, allocations: 116 kB / 1.251 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.322, allocations: 5.562 kB / 1.251 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006947/1.329, allocations: 4.179 MB / 1.256 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.179e-05/1.329, allocations: 16 kB / 1.256 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002094/1.331, allocations: 0.8799 MB / 1.256 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/1.334, allocations: 0.737 MB / 1.257 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5548/1.889, allocations: 10.09 MB / 1.267 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/1.893, allocations: 452.9 kB / 1.267 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000354/1.893, allocations: 109.6 kB / 1.268 GB, free: 248.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000603/1.894, allocations: 233.1 kB / 1.268 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/1.894, allocations: 123.8 kB / 1.268 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007671/1.902, allocations: 3.944 MB / 1.272 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/1.902, allocations: 22.92 kB / 1.272 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/1.902, allocations: 15.69 kB / 1.272 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/1.902, allocations: 9.906 kB / 1.272 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/1.916, allocations: 7.887 MB / 1.279 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.916, allocations: 7.031 kB / 1.279 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/1.918, allocations: 0.5282 MB / 1.28 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002335/1.921, allocations: 0.8772 MB / 1.281 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/1.921, allocations: 58.03 kB / 1.281 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/1.934, allocations: 9.681 MB / 1.29 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/1.934, allocations: 11.34 kB / 1.29 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006477/1.94, allocations: 4.101 MB / 1.294 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.942, allocations: 0.5105 MB / 1.295 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/1.942, allocations: 44.86 kB / 1.295 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003211/1.945, allocations: 406.5 kB / 1.295 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006954/1.946, allocations: 163.6 kB / 1.295 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002031/1.946, allocations: 67.52 kB / 1.295 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001422/1.948, allocations: 0.6687 MB / 1.296 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.948, allocations: 0 / 1.296 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006567/1.954, allocations: 1.227 MB / 1.297 GB, free: 242.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 101 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004086/1.955, allocations: 168.1 kB / 1.298 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01165/1.966, allocations: 6.42 MB / 1.304 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.966, allocations: 1.344 kB / 1.304 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003676/1.97, allocations: 2.11 MB / 1.306 GB, free: 240.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/1.971, allocations: 141.9 kB / 1.306 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/1.986, allocations: 5.975 MB / 1.312 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002051/1.988, allocations: 2.354 MB / 1.314 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003717/1.992, allocations: 1.258 MB / 1.315 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/1.992, allocations: 119.6 kB / 1.315 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/1.992, allocations: 2.812 kB / 1.315 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.04726/2.04, allocations: 33.82 MB / 1.348 GB, free: 235.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches