Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001502/0.001502, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.496/1.496, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 97.33 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.943e-05/1.937e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.32, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.337, allocations: 203.2 MB / 1.404 GB, free: 5.188 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/1.337, allocations: 96.75 kB / 1.404 GB, free: 5.137 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.321/1.658, allocations: 128.2 MB / 1.53 GB, free: 3.18 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.346e-06/1.658, allocations: 0 / 1.53 GB, free: 3.18 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000279/1.659, allocations: 60 kB / 1.53 GB, free: 3.121 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.01118/1.67, allocations: 2.432 MB / 1.532 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.67, allocations: 8.031 kB / 1.532 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/1.683, allocations: 2.052 MB / 1.534 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005232/1.688, allocations: 1.794 MB / 1.536 GB, free: 12.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/1.689, allocations: 100 kB / 1.536 GB, free: 12.63 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00163/1.69, allocations: 168 kB / 1.536 GB, free: 12.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0103/1.701, allocations: 4.092 MB / 1.54 GB, free: 8.367 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/1.716, allocations: 4.527 MB / 1.545 GB, free: 3.773 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/1.716, allocations: 4 kB / 1.545 GB, free: 3.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001269/1.717, allocations: 0 / 1.545 GB, free: 3.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005747/1.718, allocations: 257.9 kB / 1.545 GB, free: 3.516 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03637/1.754, allocations: 21.78 MB / 1.566 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/1.758, allocations: 2.022 MB / 1.568 GB, free: 9.699 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/1.76, allocations: 1.202 MB / 1.569 GB, free: 8.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/1.761, allocations: 114.4 kB / 1.569 GB, free: 8.371 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/1.761, allocations: 43.88 kB / 1.569 GB, free: 8.316 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=122): time 3.186e-06/1.761, allocations: 4 kB / 1.569 GB, free: 8.312 MB / 0.9792 GB Notification: Performance of matching and sorting (n=173): time 0.01691/1.778, allocations: 6.974 MB / 1.576 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/1.778, allocations: 69.41 kB / 1.576 GB, free: 1.25 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/1.78, allocations: 0.9697 MB / 1.577 GB, free: 264 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002512/1.78, allocations: 25.7 kB / 1.577 GB, free: 232 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009984/1.781, allocations: 1.263 MB / 1.578 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007127/1.782, allocations: 0.5736 MB / 1.579 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/1.782, allocations: 4 kB / 1.579 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002817/1.782, allocations: 443.5 kB / 1.579 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/1.785, allocations: 1.477 MB / 1.581 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/1.788, allocations: 2.184 MB / 1.583 GB, free: 9.93 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004168/1.792, allocations: 2.133 MB / 1.585 GB, free: 7.797 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/1.792, allocations: 4 kB / 1.585 GB, free: 7.793 MB / 0.9948 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01069/1.803, allocations: 5.252 MB / 1.59 GB, free: 2.512 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003557/1.806, allocations: 8.885 MB / 1.599 GB, free: 8.934 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.424e-05/1.806, allocations: 20 kB / 1.599 GB, free: 8.914 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004183/1.81, allocations: 1.367 MB / 1.6 GB, free: 7.527 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003884/1.814, allocations: 0.772 MB / 1.601 GB, free: 6.754 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/1.836, allocations: 16.71 MB / 1.617 GB, free: 5.344 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004252/1.84, allocations: 451 kB / 1.618 GB, free: 4.902 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004774/1.841, allocations: 123.9 kB / 1.618 GB, free: 4.781 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/1.841, allocations: 4 kB / 1.618 GB, free: 4.777 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009761/1.85, allocations: 4.97 MB / 1.623 GB, free: 15.78 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/1.851, allocations: 27.98 kB / 1.623 GB, free: 15.75 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003678/1.854, allocations: 1.305 MB / 1.624 GB, free: 14.43 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004161/1.859, allocations: 0.7721 MB / 1.625 GB, free: 13.66 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/1.879, allocations: 16.08 MB / 1.64 GB, free: 12.88 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/1.883, allocations: 427.1 kB / 1.641 GB, free: 12.46 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003998/1.883, allocations: 120 kB / 1.641 GB, free: 12.34 MB / 1.057 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 () * 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.0006575/1.884, allocations: 180.3 kB / 1.641 GB, free: 12.16 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/1.884, allocations: 134.4 kB / 1.641 GB, free: 12.03 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009182/1.894, allocations: 4.782 MB / 1.646 GB, free: 7.188 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.894, allocations: 16 kB / 1.646 GB, free: 7.172 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.408e-05/1.894, allocations: 12 kB / 1.646 GB, free: 7.16 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.001e-05/1.894, allocations: 7.969 kB / 1.646 GB, free: 7.152 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/1.909, allocations: 8.059 MB / 1.654 GB, free: 14.88 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/1.909, allocations: 4 kB / 1.654 GB, free: 14.88 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002602/1.911, allocations: 0.5186 MB / 1.654 GB, free: 14.36 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003366/1.915, allocations: 1.168 MB / 1.656 GB, free: 13.17 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/1.915, allocations: 23.97 kB / 1.656 GB, free: 13.15 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01884/1.934, allocations: 15.88 MB / 1.671 GB, free: 12.58 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.216e-05/1.934, allocations: 7.938 kB / 1.671 GB, free: 12.57 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008301/1.942, allocations: 4.413 MB / 1.675 GB, free: 7.875 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.944, allocations: 0.5383 MB / 1.676 GB, free: 7.316 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/1.944, allocations: 11.98 kB / 1.676 GB, free: 7.305 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002703/1.947, allocations: 423.1 kB / 1.676 GB, free: 6.891 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004605/1.947, allocations: 153 kB / 1.676 GB, free: 6.742 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.947, allocations: 67.95 kB / 1.677 GB, free: 6.676 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.001137/1.949, allocations: 0.7386 MB / 1.677 GB, free: 5.926 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.61e-07/1.949, allocations: 4 kB / 1.677 GB, free: 5.922 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.004865/1.953, allocations: 1.191 MB / 1.678 GB, free: 4.73 MB / 1.089 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 (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.0004027/1.954, allocations: 142.9 kB / 1.679 GB, free: 4.582 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.968, allocations: 7.672 MB / 1.686 GB, free: 12.8 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/1.968, allocations: 4.188 kB / 1.686 GB, free: 12.79 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.005287/1.973, allocations: 2.687 MB / 1.689 GB, free: 10.05 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/1.975, allocations: 168.6 kB / 1.689 GB, free: 9.883 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.992, allocations: 6.192 MB / 1.695 GB, free: 3.555 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002554/1.995, allocations: 2.427 MB / 1.697 GB, free: 1.094 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.004281/1.999, allocations: 1.297 MB / 1.699 GB, free: 15.79 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/2, allocations: 123.2 kB / 1.699 GB, free: 15.67 MB / 1.12 GB Notification: Performance of SimCode: time 1.272e-06/2, allocations: 0 / 1.699 GB, free: 15.67 MB / 1.12 GB Notification: Performance of Templates: time 0.06909/2.069, allocations: 40.94 MB / 1.739 GB, free: 6.895 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches