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.428/1.428, allocations: 249.5 MB / 257 MB, free: 6.863 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.001025/0.001025, allocations: 176.8 kB / 316.3 MB, free: 3.242 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.489/1.489, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008793/0.0008793, allocations: 92.84 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.669e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2216, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7738/0.9954, allocations: 186.3 MB / 1.067 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.9957, allocations: 101 kB / 1.067 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2743/1.27, allocations: 120.3 MB / 1.185 GB, free: 2.371 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.283e-06/1.27, allocations: 0 / 1.185 GB, free: 2.371 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001021/1.27, allocations: 63.98 kB / 1.185 GB, free: 2.309 MB / 0.7917 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.006402/1.277, allocations: 2.416 MB / 1.187 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.277, allocations: 8.031 kB / 1.187 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/1.289, allocations: 2.056 MB / 1.189 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/1.293, allocations: 1.794 MB / 1.191 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/1.293, allocations: 96 kB / 1.191 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005452/1.294, allocations: 168 kB / 1.191 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007433/1.301, allocations: 4.092 MB / 1.195 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007491/1.309, allocations: 4.531 MB / 1.2 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.243e-05/1.309, allocations: 4 kB / 1.2 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003347/1.309, allocations: 0 / 1.2 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004486/1.309, allocations: 246 kB / 1.2 GB, free: 2.727 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02593/1.335, allocations: 21.79 MB / 1.221 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/1.338, allocations: 2.026 MB / 1.223 GB, free: 8.902 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/1.34, allocations: 1.2 MB / 1.224 GB, free: 7.703 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/1.34, allocations: 110.4 kB / 1.224 GB, free: 7.574 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/1.34, allocations: 55.86 kB / 1.224 GB, free: 7.512 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=122): time 5.25e-06/1.34, allocations: 7.922 kB / 1.224 GB, free: 7.504 MB / 0.8386 GB Notification: Performance of matching and sorting (n=173): time 0.01671/1.357, allocations: 6.97 MB / 1.231 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/1.357, allocations: 69.41 kB / 1.231 GB, free: 456 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/1.359, allocations: 0.9737 MB / 1.232 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002119/1.359, allocations: 25.7 kB / 1.232 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008533/1.36, allocations: 1.266 MB / 1.233 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006178/1.36, allocations: 0.5658 MB / 1.234 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/1.361, allocations: 0 / 1.234 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002404/1.361, allocations: 443.5 kB / 1.234 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/1.363, allocations: 1.477 MB / 1.236 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002519/1.366, allocations: 2.184 MB / 1.238 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/1.369, allocations: 2.133 MB / 1.24 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/1.369, allocations: 7.938 kB / 1.24 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01014/1.379, allocations: 5.252 MB / 1.245 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003149/1.383, allocations: 8.877 MB / 1.254 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-05/1.383, allocations: 27.95 kB / 1.254 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004175/1.387, allocations: 1.371 MB / 1.255 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00366/1.391, allocations: 0.7682 MB / 1.256 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5228/1.913, allocations: 16.71 MB / 1.272 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003717/1.917, allocations: 446.6 kB / 1.273 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003416/1.917, allocations: 126.4 kB / 1.273 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/1.918, allocations: 5.812 kB / 1.273 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01043/1.928, allocations: 4.965 MB / 1.278 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/1.928, allocations: 21.97 kB / 1.278 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003904/1.932, allocations: 1.311 MB / 1.279 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003773/1.936, allocations: 0.7633 MB / 1.28 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02038/1.956, allocations: 16.1 MB / 1.295 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/1.96, allocations: 426.5 kB / 1.296 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006332/1.961, allocations: 117.9 kB / 1.296 GB, free: 235.8 MB / 0.8698 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.0009799/1.962, allocations: 178.7 kB / 1.296 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004841/1.962, allocations: 136.2 kB / 1.296 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009703/1.972, allocations: 4.773 MB / 1.301 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/1.972, allocations: 16.34 kB / 1.301 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-05/1.972, allocations: 14.23 kB / 1.301 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/1.972, allocations: 8.469 kB / 1.301 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/1.987, allocations: 8.059 MB / 1.309 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/1.987, allocations: 6.906 kB / 1.309 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002499/1.989, allocations: 0.5167 MB / 1.309 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003574/1.993, allocations: 1.162 MB / 1.311 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001725/1.993, allocations: 30.86 kB / 1.311 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01539/2.009, allocations: 15.89 MB / 1.326 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/2.009, allocations: 10.92 kB / 1.326 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007248/2.016, allocations: 4.402 MB / 1.33 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/2.017, allocations: 0.5489 MB / 1.331 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004273/2.017, allocations: 7.25 kB / 1.331 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/2.02, allocations: 423.2 kB / 1.331 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000376/2.021, allocations: 153.5 kB / 1.331 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/2.021, allocations: 66.31 kB / 1.332 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001213/2.022, allocations: 0.744 MB / 1.332 GB, free: 221 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.31e-07/2.022, allocations: 0 / 1.332 GB, free: 221 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005583/2.028, allocations: 1.201 MB / 1.333 GB, free: 221 MB / 0.8698 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.0004275/2.028, allocations: 135.7 kB / 1.334 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01237/2.04, allocations: 7.675 MB / 1.341 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/2.041, allocations: 3.938 kB / 1.341 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004303/2.045, allocations: 2.692 MB / 1.344 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/2.046, allocations: 173.8 kB / 1.344 GB, free: 216 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/2.062, allocations: 6.192 MB / 1.35 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002671/2.065, allocations: 2.423 MB / 1.352 GB, free: 213 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004243/2.069, allocations: 1.292 MB / 1.354 GB, free: 213 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/2.07, allocations: 123 kB / 1.354 GB, free: 213 MB / 0.8698 GB Notification: Performance of SimCode: time 8.41e-07/2.07, allocations: 0 / 1.354 GB, free: 213 MB / 0.8698 GB Notification: Performance of Templates: time 0.0582/2.128, allocations: 40.96 MB / 1.394 GB, free: 203.5 MB / 0.8698 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