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.382/2.382, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.00107/0.00107, allocations: 194.8 kB / 498.1 MB, free: 5.719 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.621/1.621, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0009746/0.0009749, allocations: 99.86 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005377/0.0005376, allocations: 11.94 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4212, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2595/0.6807, allocations: 203.9 MB / 1.422 GB, free: 6.086 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003928/0.6812, allocations: 103.9 kB / 1.422 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.111/1.792, allocations: 129.2 MB / 1.548 GB, free: 102.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.443e-06/1.792, allocations: 0 / 1.548 GB, free: 102.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000102/1.792, allocations: 59.94 kB / 1.548 GB, free: 102.4 MB / 0.9167 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.006406/1.799, allocations: 2.54 MB / 1.551 GB, free: 99.79 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/1.799, allocations: 12.03 kB / 1.551 GB, free: 99.78 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/1.81, allocations: 2.056 MB / 1.553 GB, free: 97.72 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005027/1.815, allocations: 1.794 MB / 1.555 GB, free: 95.88 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/1.815, allocations: 225.8 kB / 1.555 GB, free: 95.66 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/1.817, allocations: 280 kB / 1.555 GB, free: 95.38 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/1.834, allocations: 5.466 MB / 1.56 GB, free: 89.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/1.835, allocations: 0 / 1.56 GB, free: 89.84 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001385/1.836, allocations: 123.9 kB / 1.561 GB, free: 89.72 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004607/1.837, allocations: 257.9 kB / 1.561 GB, free: 89.47 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/1.852, allocations: 5.656 MB / 1.566 GB, free: 83.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03599/1.888, allocations: 22.45 MB / 1.588 GB, free: 59.38 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005453/1.894, allocations: 2.518 MB / 1.591 GB, free: 56.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/1.894, allocations: 114.1 kB / 1.591 GB, free: 56.67 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/1.894, allocations: 47.5 kB / 1.591 GB, free: 56.61 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=122): time 3.236e-06/1.894, allocations: 3.984 kB / 1.591 GB, free: 56.61 MB / 0.9167 GB Notification: Performance of matching and sorting (n=173): time 0.05133/1.946, allocations: 14.72 MB / 1.605 GB, free: 41.82 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/1.946, allocations: 73.41 kB / 1.605 GB, free: 41.73 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/1.948, allocations: 1.029 MB / 1.606 GB, free: 40.68 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003405/1.949, allocations: 61.7 kB / 1.606 GB, free: 40.62 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008805/1.949, allocations: 1.262 MB / 1.608 GB, free: 39.34 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007621/1.95, allocations: 0.5892 MB / 1.608 GB, free: 38.74 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/1.951, allocations: 44 kB / 1.608 GB, free: 38.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003033/1.951, allocations: 451.5 kB / 1.609 GB, free: 38.25 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004644/1.956, allocations: 2.007 MB / 1.611 GB, free: 36.23 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004996/1.961, allocations: 2.726 MB / 1.613 GB, free: 33.18 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004677/1.965, allocations: 2.356 MB / 1.616 GB, free: 30.83 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.126e-05/1.965, allocations: 4 kB / 1.616 GB, free: 30.83 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01321/1.979, allocations: 6.176 MB / 1.622 GB, free: 24.62 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001823/1.98, allocations: 8.879 MB / 1.63 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.168e-05/1.98, allocations: 23.98 kB / 1.63 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00401/1.985, allocations: 1.398 MB / 1.632 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003303/1.988, allocations: 0.7643 MB / 1.632 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/2.007, allocations: 17.75 MB / 1.65 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004026/2.011, allocations: 495 kB / 1.65 GB, free: 9.797 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007087/2.012, allocations: 116 kB / 1.65 GB, free: 9.684 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/2.012, allocations: 4 kB / 1.65 GB, free: 9.68 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01606/2.028, allocations: 6.008 MB / 1.656 GB, free: 3.648 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-05/2.028, allocations: 24 kB / 1.656 GB, free: 3.625 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004133/2.032, allocations: 1.372 MB / 1.658 GB, free: 2.234 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00376/2.036, allocations: 0.7759 MB / 1.658 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02207/2.058, allocations: 17.59 MB / 1.675 GB, free: 15.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003631/2.062, allocations: 475.1 kB / 1.676 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006165/2.062, allocations: 120 kB / 1.676 GB, free: 14.48 MB / 0.9636 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.003216/2.065, allocations: 1.331 MB / 1.677 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000635/2.066, allocations: 134.4 kB / 1.677 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/2.081, allocations: 5.763 MB / 1.683 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/2.081, allocations: 19.94 kB / 1.683 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.73e-05/2.081, allocations: 12.09 kB / 1.683 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-05/2.081, allocations: 11.95 kB / 1.683 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02379/2.105, allocations: 9.337 MB / 1.692 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/2.105, allocations: 4 kB / 1.692 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002756/2.108, allocations: 0.5186 MB / 1.693 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004036/2.112, allocations: 1.191 MB / 1.694 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003071/2.112, allocations: 51.95 kB / 1.694 GB, free: 11.85 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02119/2.133, allocations: 17.02 MB / 1.711 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/2.133, allocations: 11.94 kB / 1.711 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/2.147, allocations: 5.343 MB / 1.716 GB, free: 4.391 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/2.148, allocations: 0.55 MB / 1.716 GB, free: 3.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005329/2.149, allocations: 35.98 kB / 1.716 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002944/2.152, allocations: 451 kB / 1.717 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004723/2.152, allocations: 152.9 kB / 1.717 GB, free: 3.195 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002164/2.153, allocations: 67.97 kB / 1.717 GB, free: 3.129 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001604/2.154, allocations: 0.8051 MB / 1.718 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.41e-07/2.154, allocations: 0 / 1.718 GB, free: 2.312 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006324/2.161, allocations: 1.324 MB / 1.719 GB, free: 0.9883 MB / 0.9948 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.0005281/2.161, allocations: 178.7 kB / 1.719 GB, free: 0.8047 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.02452/2.186, allocations: 9.536 MB / 1.729 GB, free: 7.117 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.002e-05/2.186, allocations: 0 / 1.729 GB, free: 7.117 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008487/2.194, allocations: 3.309 MB / 1.732 GB, free: 3.73 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/2.196, allocations: 193.2 kB / 1.732 GB, free: 3.543 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02512/2.221, allocations: 8.711 MB / 1.741 GB, free: 10.72 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004322/2.226, allocations: 2.422 MB / 1.743 GB, free: 8.262 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.004806/2.23, allocations: 1.27 MB / 1.744 GB, free: 6.984 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007176/2.231, allocations: 127.4 kB / 1.744 GB, free: 6.859 MB / 1.026 GB Notification: Performance of SimCode: time 2.996e-06/2.231, allocations: 0 / 1.744 GB, free: 6.859 MB / 1.026 GB Notification: Performance of Templates: time 0.07846/2.31, allocations: 41.31 MB / 1.785 GB, free: 13.72 MB / 1.073 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