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.TransformerStepUpYD.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.TransformerStepUpYD,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.TransformerStepUpYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,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.TransformerStepUpYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 249.3 MB / 261.8 MB, free: 5.895 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.0009284/0.0009283, allocations: 178.1 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.31/1.31, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0007425/0.0007425, allocations: 82.55 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.423e-05, allocations: 4 kB / 0.788 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2034, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7519/0.9554, allocations: 181.2 MB / 1.069 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.9557, allocations: 100.2 kB / 1.069 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2354/1.191, allocations: 102.3 MB / 1.169 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.435e-06/1.191, allocations: 0 / 1.169 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001126/1.191, allocations: 55.98 kB / 1.169 GB, free: 2.836 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.006701/1.198, allocations: 2.34 MB / 1.171 GB, free: 452 kB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 7.242e-05/1.198, allocations: 15.97 kB / 1.171 GB, free: 436 kB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/1.21, allocations: 1.904 MB / 1.173 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005268/1.215, allocations: 1.654 MB / 1.175 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/1.216, allocations: 217.8 kB / 1.175 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009936/1.217, allocations: 280 kB / 1.175 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009684/1.226, allocations: 4.725 MB / 1.18 GB, free: 7.504 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/1.226, allocations: 4 kB / 1.18 GB, free: 7.5 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003489/1.227, allocations: 116 kB / 1.18 GB, free: 7.387 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003559/1.227, allocations: 192.7 kB / 1.18 GB, free: 7.195 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007686/1.235, allocations: 4.375 MB / 1.184 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0296/1.264, allocations: 22.48 MB / 1.206 GB, free: 10.29 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/1.268, allocations: 2.5 MB / 1.209 GB, free: 7.621 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002381/1.27, allocations: 1.469 MB / 1.21 GB, free: 6.133 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/1.271, allocations: 118.1 kB / 1.21 GB, free: 6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/1.271, allocations: 67.44 kB / 1.21 GB, free: 5.922 MB / 0.823 GB Notification: Performance of pre-optimization done (n=132): time 3.837e-06/1.271, allocations: 0 / 1.21 GB, free: 5.922 MB / 0.823 GB Notification: Performance of matching and sorting (n=174): time 0.02893/1.3, allocations: 10.02 MB / 1.22 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.3, allocations: 234.9 kB / 1.22 GB, free: 11.58 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/1.301, allocations: 0.8469 MB / 1.221 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/1.301, allocations: 61.73 kB / 1.221 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006839/1.302, allocations: 1.158 MB / 1.222 GB, free: 9.484 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005466/1.302, allocations: 0.5931 MB / 1.223 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/1.302, allocations: 40 kB / 1.223 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002145/1.303, allocations: 423.2 kB / 1.223 GB, free: 8.422 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/1.305, allocations: 1.347 MB / 1.225 GB, free: 7.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/1.307, allocations: 1.938 MB / 1.226 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002239/1.309, allocations: 1.661 MB / 1.228 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/1.309, allocations: 8 kB / 1.228 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007184/1.316, allocations: 4.312 MB / 1.232 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003044/1.32, allocations: 7.052 MB / 1.239 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/1.32, allocations: 20 kB / 1.239 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/1.322, allocations: 1.079 MB / 1.24 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003747/1.326, allocations: 0.7254 MB / 1.241 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/1.339, allocations: 10.13 MB / 1.251 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004368/1.344, allocations: 459.1 kB / 1.251 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004691/1.344, allocations: 112 kB / 1.251 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.344, allocations: 4 kB / 1.251 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007258/1.352, allocations: 4.171 MB / 1.256 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/1.352, allocations: 16 kB / 1.256 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/1.354, allocations: 0.876 MB / 1.256 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003307/1.357, allocations: 0.7409 MB / 1.257 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5607/1.918, allocations: 10.09 MB / 1.267 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/1.922, allocations: 453.7 kB / 1.267 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/1.922, allocations: 109.3 kB / 1.267 GB, free: 248.1 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.0005493/1.923, allocations: 231.7 kB / 1.268 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003917/1.923, allocations: 121.4 kB / 1.268 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008148/1.931, allocations: 3.936 MB / 1.272 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.023e-05/1.931, allocations: 21.23 kB / 1.272 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.448e-05/1.931, allocations: 16.38 kB / 1.272 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.879e-05/1.931, allocations: 11.25 kB / 1.272 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/1.946, allocations: 7.889 MB / 1.279 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/1.947, allocations: 8.359 kB / 1.279 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/1.949, allocations: 0.5261 MB / 1.28 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002556/1.952, allocations: 0.8823 MB / 1.281 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/1.952, allocations: 52.31 kB / 1.281 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/1.966, allocations: 9.716 MB / 1.29 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/1.966, allocations: 10.03 kB / 1.29 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007008/1.973, allocations: 4.101 MB / 1.294 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/1.974, allocations: 0.5162 MB / 1.295 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/1.974, allocations: 41.36 kB / 1.295 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002898/1.977, allocations: 403.9 kB / 1.295 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000548/1.978, allocations: 158.2 kB / 1.295 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/1.978, allocations: 69.3 kB / 1.296 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001138/1.979, allocations: 0.6668 MB / 1.296 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-07/1.979, allocations: 4.312 kB / 1.296 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004975/1.984, allocations: 1.229 MB / 1.297 GB, free: 242.7 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.0004048/1.985, allocations: 166.6 kB / 1.298 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01319/1.998, allocations: 6.442 MB / 1.304 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-05/1.998, allocations: 1.125 kB / 1.304 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003973/2.002, allocations: 2.115 MB / 1.306 GB, free: 240 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/2.003, allocations: 144.3 kB / 1.306 GB, free: 240 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/2.02, allocations: 5.968 MB / 1.312 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002834/2.023, allocations: 2.355 MB / 1.314 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004168/2.027, allocations: 1.258 MB / 1.315 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/2.028, allocations: 124.2 kB / 1.315 GB, free: 237 MB / 0.8698 GB Notification: Performance of SimCode: time 1.944e-06/2.028, allocations: 0 / 1.315 GB, free: 237 MB / 0.8698 GB Notification: Performance of Templates: time 0.04839/2.076, allocations: 33.78 MB / 1.348 GB, free: 235.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches