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.37/2.37, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001002/0.001002, allocations: 165 kB / 492.3 MB, free: 0.6094 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.504/1.504, allocations: 221.3 MB / 0.7871 GB, free: 12.85 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.0008385/0.0008385, allocations: 92.78 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.567e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2717, allocations: 142.4 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.29, allocations: 203.9 MB / 1.411 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/1.29, allocations: 96.19 kB / 1.412 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.3049/1.595, allocations: 128.7 MB / 1.537 GB, free: 9.781 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.454e-06/1.595, allocations: 0 / 1.537 GB, free: 9.781 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001573/1.596, allocations: 56 kB / 1.537 GB, free: 9.727 MB / 0.948 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.009172/1.605, allocations: 2.428 MB / 1.54 GB, free: 7.242 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.605, allocations: 11.97 kB / 1.54 GB, free: 7.23 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/1.618, allocations: 2.052 MB / 1.542 GB, free: 5.172 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005432/1.623, allocations: 1.794 MB / 1.543 GB, free: 3.328 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/1.623, allocations: 217.8 kB / 1.544 GB, free: 3.113 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/1.625, allocations: 283.9 kB / 1.544 GB, free: 2.836 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/1.641, allocations: 4.96 MB / 1.549 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/1.641, allocations: 3.938 kB / 1.549 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001562/1.643, allocations: 128 kB / 1.549 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005991/1.644, allocations: 242 kB / 1.549 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/1.655, allocations: 4.666 MB / 1.554 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03631/1.692, allocations: 22.42 MB / 1.576 GB, free: 380 kB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003467/1.695, allocations: 2.048 MB / 1.578 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/1.697, allocations: 1.222 MB / 1.579 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/1.698, allocations: 118 kB / 1.579 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/1.698, allocations: 51.56 kB / 1.579 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=122): time 4.118e-06/1.698, allocations: 0 / 1.579 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=173): time 0.03904/1.737, allocations: 11.25 MB / 1.59 GB, free: 1.57 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/1.737, allocations: 69.41 kB / 1.59 GB, free: 1.492 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/1.739, allocations: 1.021 MB / 1.591 GB, free: 456 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002498/1.739, allocations: 53.7 kB / 1.591 GB, free: 396 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000968/1.74, allocations: 1.267 MB / 1.592 GB, free: 15.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007722/1.741, allocations: 0.5931 MB / 1.593 GB, free: 14.5 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/1.741, allocations: 48 kB / 1.593 GB, free: 14.45 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000325/1.742, allocations: 447.3 kB / 1.593 GB, free: 14.01 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002615/1.744, allocations: 1.508 MB / 1.595 GB, free: 12.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003231/1.747, allocations: 2.231 MB / 1.597 GB, free: 9.941 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/1.75, allocations: 1.868 MB / 1.599 GB, free: 8.078 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.47e-05/1.751, allocations: 8 kB / 1.599 GB, free: 8.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009849/1.76, allocations: 5.158 MB / 1.604 GB, free: 2.883 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.003456/1.764, allocations: 8.885 MB / 1.612 GB, free: 9.301 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-05/1.764, allocations: 24 kB / 1.613 GB, free: 9.277 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004327/1.768, allocations: 1.375 MB / 1.614 GB, free: 7.883 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/1.772, allocations: 0.7682 MB / 1.615 GB, free: 7.113 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/1.793, allocations: 17.11 MB / 1.631 GB, free: 5.199 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003998/1.797, allocations: 0.4912 MB / 1.632 GB, free: 4.707 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006915/1.798, allocations: 116 kB / 1.632 GB, free: 4.594 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.798, allocations: 7.938 kB / 1.632 GB, free: 4.586 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01056/1.809, allocations: 5.005 MB / 1.637 GB, free: 15.56 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/1.809, allocations: 20.28 kB / 1.637 GB, free: 15.54 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003898/1.813, allocations: 1.359 MB / 1.638 GB, free: 14.16 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/1.817, allocations: 0.7604 MB / 1.639 GB, free: 13.4 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02004/1.837, allocations: 16.94 MB / 1.655 GB, free: 11.65 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003917/1.841, allocations: 471.2 kB / 1.656 GB, free: 11.19 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008933/1.842, allocations: 112 kB / 1.656 GB, free: 11.08 MB / 1.073 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.001443/1.843, allocations: 253.2 kB / 1.656 GB, free: 10.83 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007574/1.844, allocations: 138.4 kB / 1.656 GB, free: 10.69 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/1.854, allocations: 4.772 MB / 1.661 GB, free: 5.867 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/1.854, allocations: 20 kB / 1.661 GB, free: 5.848 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.078e-05/1.854, allocations: 8 kB / 1.661 GB, free: 5.84 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/1.854, allocations: 7.969 kB / 1.661 GB, free: 5.832 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/1.87, allocations: 8.582 MB / 1.669 GB, free: 13.02 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/1.87, allocations: 4 kB / 1.669 GB, free: 13.02 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/1.873, allocations: 0.5195 MB / 1.67 GB, free: 12.5 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003434/1.876, allocations: 1.187 MB / 1.671 GB, free: 11.29 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/1.877, allocations: 55.91 kB / 1.671 GB, free: 11.23 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/1.896, allocations: 16.45 MB / 1.687 GB, free: 9.98 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.896, allocations: 11.94 kB / 1.687 GB, free: 9.969 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007551/1.903, allocations: 4.36 MB / 1.691 GB, free: 5.328 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.904, allocations: 0.5422 MB / 1.692 GB, free: 4.766 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/1.905, allocations: 43.95 kB / 1.692 GB, free: 4.723 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002622/1.907, allocations: 443.1 kB / 1.692 GB, free: 4.289 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/1.908, allocations: 152.9 kB / 1.693 GB, free: 4.141 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/1.908, allocations: 63.97 kB / 1.693 GB, free: 4.078 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001257/1.909, allocations: 0.7977 MB / 1.693 GB, free: 3.266 MB / 1.104 GB Notification: Performance of sort global known variables: time 3.5e-07/1.909, allocations: 0 / 1.693 GB, free: 3.266 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.004902/1.914, allocations: 1.324 MB / 1.695 GB, free: 1.941 MB / 1.104 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.0004753/1.915, allocations: 159.6 kB / 1.695 GB, free: 1.777 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01447/1.929, allocations: 8.017 MB / 1.703 GB, free: 9.613 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.589e-05/1.929, allocations: 4 kB / 1.703 GB, free: 9.609 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.005228/1.934, allocations: 2.781 MB / 1.705 GB, free: 6.75 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/1.936, allocations: 189.6 kB / 1.706 GB, free: 6.566 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/1.953, allocations: 6.283 MB / 1.712 GB, free: 160 kB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002582/1.956, allocations: 2.423 MB / 1.714 GB, free: 13.69 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.00415/1.96, allocations: 1.293 MB / 1.715 GB, free: 12.39 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/1.96, allocations: 123.4 kB / 1.716 GB, free: 12.27 MB / 1.135 GB Notification: Performance of SimCode: time 9.92e-07/1.96, allocations: 0 / 1.716 GB, free: 12.27 MB / 1.135 GB Notification: Performance of Templates: time 0.7449/2.705, allocations: 41.96 MB / 1.757 GB, free: 330.2 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