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.427/1.427, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001272, allocations: 183.1 kB / 326.5 MB, free: 2.266 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.952/1.952, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009076/0.0009077, allocations: 99.58 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003643, allocations: 9.281 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.246, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8724/1.118, allocations: 186.1 MB / 1.082 GB, free: 52.73 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/1.119, allocations: 103.9 kB / 1.082 GB, free: 52.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3336/1.453, allocations: 121.3 MB / 1.2 GB, free: 3.094 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/1.453, allocations: 0 / 1.2 GB, free: 3.094 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002061/1.453, allocations: 60 kB / 1.2 GB, free: 3.035 MB / 0.698 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.01114/1.464, allocations: 2.535 MB / 1.203 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.464, allocations: 8.031 kB / 1.203 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/1.477, allocations: 2.054 MB / 1.205 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007691/1.485, allocations: 1.797 MB / 1.207 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/1.485, allocations: 217.4 kB / 1.207 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/1.488, allocations: 291.5 kB / 1.207 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/1.505, allocations: 5.465 MB / 1.212 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.719e-05/1.505, allocations: 3.938 kB / 1.212 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004991/1.506, allocations: 123.3 kB / 1.213 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004821/1.506, allocations: 246 kB / 1.213 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/1.522, allocations: 5.664 MB / 1.218 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03606/1.559, allocations: 22.43 MB / 1.24 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005728/1.564, allocations: 2.537 MB / 1.243 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/1.565, allocations: 105.8 kB / 1.243 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/1.565, allocations: 47.55 kB / 1.243 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=122): time 5.079e-06/1.565, allocations: 4 kB / 1.243 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=173): time 0.05115/1.616, allocations: 14.73 MB / 1.257 GB, free: 7.266 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/1.616, allocations: 73.41 kB / 1.257 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/1.618, allocations: 1.029 MB / 1.258 GB, free: 6.133 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003149/1.618, allocations: 53.7 kB / 1.258 GB, free: 6.074 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009467/1.619, allocations: 1.265 MB / 1.26 GB, free: 4.801 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007732/1.62, allocations: 0.5953 MB / 1.26 GB, free: 4.211 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/1.62, allocations: 48 kB / 1.26 GB, free: 4.164 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002687/1.62, allocations: 447.5 kB / 1.261 GB, free: 3.719 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00472/1.625, allocations: 2.011 MB / 1.263 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005188/1.63, allocations: 2.722 MB / 1.265 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005064/1.635, allocations: 2.363 MB / 1.268 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/1.635, allocations: 8 kB / 1.268 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0145/1.65, allocations: 6.156 MB / 1.274 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.004592/1.654, allocations: 8.874 MB / 1.282 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.704e-05/1.655, allocations: 27.94 kB / 1.282 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004665/1.659, allocations: 1.398 MB / 1.284 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003836/1.663, allocations: 0.7682 MB / 1.284 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02319/1.686, allocations: 17.76 MB / 1.302 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003864/1.69, allocations: 491 kB / 1.302 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003353/1.691, allocations: 120 kB / 1.302 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/1.691, allocations: 7.953 kB / 1.302 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01378/1.704, allocations: 6.004 MB / 1.308 GB, free: 1.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.274e-05/1.705, allocations: 20 kB / 1.308 GB, free: 1.109 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003893/1.708, allocations: 1.375 MB / 1.31 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/1.712, allocations: 0.7682 MB / 1.31 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02139/1.734, allocations: 17.59 MB / 1.328 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/1.738, allocations: 471.1 kB / 1.328 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004101/1.738, allocations: 120 kB / 1.328 GB, free: 11.98 MB / 0.8386 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 () * Number of clocked 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.003441/1.742, allocations: 1.335 MB / 1.329 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004493/1.742, allocations: 138.3 kB / 1.33 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/1.756, allocations: 5.766 MB / 1.335 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/1.756, allocations: 20 kB / 1.335 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/1.756, allocations: 8 kB / 1.335 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/1.756, allocations: 8.062 kB / 1.335 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/1.776, allocations: 9.327 MB / 1.344 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/1.776, allocations: 11.98 kB / 1.344 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/1.779, allocations: 0.523 MB / 1.345 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003589/1.782, allocations: 1.187 MB / 1.346 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002367/1.782, allocations: 55.95 kB / 1.346 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/1.804, allocations: 17.03 MB / 1.363 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.804, allocations: 7.938 kB / 1.363 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/1.817, allocations: 5.351 MB / 1.368 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/1.819, allocations: 0.5499 MB / 1.368 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/1.819, allocations: 36 kB / 1.368 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002574/1.822, allocations: 447.2 kB / 1.369 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005328/1.822, allocations: 156.9 kB / 1.369 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/1.823, allocations: 63.97 kB / 1.369 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001327/1.824, allocations: 0.8012 MB / 1.37 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.583e-06/1.824, allocations: 0 / 1.37 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004988/1.829, allocations: 1.328 MB / 1.371 GB, free: 14.5 MB / 0.8855 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 () * Number of clocked 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.0004003/1.829, allocations: 175 kB / 1.371 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02233/1.852, allocations: 9.535 MB / 1.381 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/1.852, allocations: 0 / 1.381 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007801/1.859, allocations: 3.314 MB / 1.384 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/1.861, allocations: 190.8 kB / 1.384 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5202/2.381, allocations: 8.699 MB / 1.393 GB, free: 249.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003362/2.385, allocations: 2.428 MB / 1.395 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004969/2.39, allocations: 1.271 MB / 1.396 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/2.39, allocations: 126.4 kB / 1.396 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.773e-06/2.39, allocations: 0.6875 kB / 1.396 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.07192/2.462, allocations: 41.32 MB / 1.437 GB, free: 248 MB / 0.8855 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