Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,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.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,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.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.266/2.266, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 175.2 kB / 491.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009197/0.0009196, allocations: 95.88 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.527e-05/1.529e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3005, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.389, allocations: 199.6 MB / 1.407 GB, free: 1.039 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/1.389, allocations: 98.8 kB / 1.407 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2562/1.646, allocations: 112.1 MB / 1.517 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.924e-06/1.646, allocations: 0 / 1.517 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.23e-05/1.646, allocations: 59.98 kB / 1.517 GB, free: 15.36 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.005354/1.651, allocations: 2.357 MB / 1.519 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/1.651, allocations: 12.03 kB / 1.519 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/1.662, allocations: 1.9 MB / 1.521 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/1.665, allocations: 1.674 MB / 1.523 GB, free: 9.309 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/1.665, allocations: 96 kB / 1.523 GB, free: 9.215 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004318/1.666, allocations: 168 kB / 1.523 GB, free: 9.051 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006566/1.672, allocations: 3.94 MB / 1.527 GB, free: 5.105 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006996/1.679, allocations: 4.383 MB / 1.531 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.537e-05/1.68, allocations: 3.938 kB / 1.531 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004108/1.68, allocations: 4 kB / 1.531 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004528/1.68, allocations: 192.9 kB / 1.531 GB, free: 448 kB / 0.9323 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.03439/1.715, allocations: 22.11 MB / 1.553 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/1.718, allocations: 1.995 MB / 1.555 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/1.719, allocations: 1.134 MB / 1.556 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/1.72, allocations: 114.4 kB / 1.556 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/1.72, allocations: 59.84 kB / 1.556 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=116): time 3.517e-06/1.72, allocations: 0 / 1.556 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146): time 0.01368/1.733, allocations: 7.029 MB / 1.563 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/1.734, allocations: 222.9 kB / 1.563 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/1.735, allocations: 0.8823 MB / 1.564 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/1.735, allocations: 29.7 kB / 1.564 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008245/1.736, allocations: 1.235 MB / 1.565 GB, free: 11.31 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005463/1.736, allocations: 0.493 MB / 1.566 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/1.737, allocations: 0 / 1.566 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002575/1.737, allocations: 423 kB / 1.566 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/1.739, allocations: 1.234 MB / 1.567 GB, free: 9.152 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/1.741, allocations: 1.906 MB / 1.569 GB, free: 6.938 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/1.744, allocations: 1.856 MB / 1.571 GB, free: 5.078 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/1.744, allocations: 4 kB / 1.571 GB, free: 5.074 MB / 0.9792 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.007851/1.752, allocations: 4.112 MB / 1.575 GB, free: 0.9336 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.004197/1.756, allocations: 8.627 MB / 1.583 GB, free: 7.637 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-05/1.757, allocations: 27.94 kB / 1.583 GB, free: 7.609 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/1.759, allocations: 0.7582 MB / 1.584 GB, free: 6.832 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003588/1.762, allocations: 0.7565 MB / 1.585 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/1.777, allocations: 12.26 MB / 1.597 GB, free: 9.121 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00364/1.781, allocations: 434.9 kB / 1.597 GB, free: 8.695 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003858/1.781, allocations: 115.9 kB / 1.597 GB, free: 8.582 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/1.781, allocations: 4 kB / 1.597 GB, free: 8.578 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007486/1.789, allocations: 3.858 MB / 1.601 GB, free: 4.699 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.346e-05/1.789, allocations: 20 kB / 1.601 GB, free: 4.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/1.79, allocations: 0.6576 MB / 1.602 GB, free: 4.004 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/1.794, allocations: 0.7604 MB / 1.603 GB, free: 3.242 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/1.807, allocations: 11.75 MB / 1.614 GB, free: 6.797 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003449/1.81, allocations: 411.2 kB / 1.614 GB, free: 6.395 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000357/1.811, allocations: 115.9 kB / 1.615 GB, free: 6.281 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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.0006525/1.811, allocations: 168.2 kB / 1.615 GB, free: 6.109 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/1.812, allocations: 118.6 kB / 1.615 GB, free: 5.992 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007432/1.819, allocations: 3.426 MB / 1.618 GB, free: 2.512 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-05/1.819, allocations: 16 kB / 1.618 GB, free: 2.496 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-05/1.819, allocations: 11.94 kB / 1.618 GB, free: 2.484 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/1.82, allocations: 3.984 kB / 1.618 GB, free: 2.48 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/1.837, allocations: 6.703 MB / 1.625 GB, free: 11.57 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/1.837, allocations: 11.94 kB / 1.625 GB, free: 11.56 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003266/1.84, allocations: 0.5192 MB / 1.625 GB, free: 11.04 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002607/1.843, allocations: 0.6179 MB / 1.626 GB, free: 10.41 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002824/1.843, allocations: 31.95 kB / 1.626 GB, free: 10.38 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/1.861, allocations: 11.57 MB / 1.637 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-05/1.861, allocations: 15.95 kB / 1.637 GB, free: 14.1 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/1.871, allocations: 3.584 MB / 1.641 GB, free: 10.24 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/1.873, allocations: 495.3 kB / 1.641 GB, free: 9.734 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006116/1.873, allocations: 15.98 kB / 1.641 GB, free: 9.719 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003997/1.877, allocations: 371.3 kB / 1.642 GB, free: 9.355 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005043/1.878, allocations: 125 kB / 1.642 GB, free: 9.234 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003351/1.878, allocations: 63.95 kB / 1.642 GB, free: 9.172 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001865/1.88, allocations: 0.6748 MB / 1.642 GB, free: 8.504 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.91e-07/1.88, allocations: 0 / 1.642 GB, free: 8.504 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.007741/1.888, allocations: 1.039 MB / 1.643 GB, free: 7.465 MB / 1.057 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 (101): * Single equations (assignments): 95 * 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.0005471/1.889, allocations: 149.5 kB / 1.644 GB, free: 7.312 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01642/1.905, allocations: 6.304 MB / 1.65 GB, free: 0.8945 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/1.905, allocations: 0 / 1.65 GB, free: 0.8945 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.005182/1.91, allocations: 2.141 MB / 1.652 GB, free: 14.7 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/1.912, allocations: 129.4 kB / 1.652 GB, free: 14.57 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02652/1.939, allocations: 5.74 MB / 1.658 GB, free: 8.703 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004805/1.944, allocations: 2.339 MB / 1.66 GB, free: 6.324 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.00729/1.951, allocations: 1.261 MB / 1.661 GB, free: 5.059 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009301/1.952, allocations: 119.3 kB / 1.661 GB, free: 4.941 MB / 1.073 GB Notification: Performance of SimCode: time 1.583e-06/1.952, allocations: 0 / 1.661 GB, free: 4.941 MB / 1.073 GB Notification: Performance of Templates: time 0.07518/2.027, allocations: 28.96 MB / 1.689 GB, free: 8.055 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches