Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.569/2.569, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001116/0.001117, allocations: 184 kB / 0.4902 GB, free: 2.258 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.737/1.737, allocations: 223.1 MB / 0.7992 GB, free: 15.64 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.001068/0.001069, allocations: 98.38 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004129, allocations: 9 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3153, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.335, allocations: 199.6 MB / 1.424 GB, free: 72.19 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004193/1.336, allocations: 99.72 kB / 1.424 GB, free: 72.19 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2651/1.601, allocations: 106.2 MB / 1.528 GB, free: 40.13 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.619e-06/1.601, allocations: 4 kB / 1.528 GB, free: 40.12 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002315/1.601, allocations: 58.45 kB / 1.528 GB, free: 40.12 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.01217/1.613, allocations: 2.324 MB / 1.53 GB, free: 38.72 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/1.613, allocations: 9.594 kB / 1.53 GB, free: 38.72 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/1.626, allocations: 1.879 MB / 1.532 GB, free: 37.89 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005511/1.631, allocations: 1.606 MB / 1.534 GB, free: 37.27 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/1.631, allocations: 202.5 kB / 1.534 GB, free: 37.26 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/1.633, allocations: 261.3 kB / 1.534 GB, free: 37.26 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/1.649, allocations: 5.027 MB / 1.539 GB, free: 35.84 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/1.649, allocations: 3.938 kB / 1.539 GB, free: 35.84 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001123/1.65, allocations: 115 kB / 1.539 GB, free: 35.83 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003609/1.651, allocations: 195.5 kB / 1.539 GB, free: 35.79 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/1.664, allocations: 5.245 MB / 1.544 GB, free: 34.68 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03143/1.696, allocations: 20.99 MB / 1.565 GB, free: 20.09 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005346/1.701, allocations: 2.987 MB / 1.568 GB, free: 17.68 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/1.701, allocations: 121.5 kB / 1.568 GB, free: 17.55 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/1.701, allocations: 61.64 kB / 1.568 GB, free: 17.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=139): time 3.757e-06/1.702, allocations: 0 / 1.568 GB, free: 17.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181): time 0.03997/1.741, allocations: 12.94 MB / 1.581 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/1.742, allocations: 229.6 kB / 1.581 GB, free: 6.348 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/1.743, allocations: 0.8904 MB / 1.582 GB, free: 5.664 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003494/1.743, allocations: 51.64 kB / 1.582 GB, free: 5.629 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005244/1.744, allocations: 1.1 MB / 1.583 GB, free: 4.578 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006732/1.745, allocations: 0.62 MB / 1.583 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/1.745, allocations: 44 kB / 1.584 GB, free: 3.906 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002119/1.745, allocations: 435.3 kB / 1.584 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004137/1.749, allocations: 1.889 MB / 1.586 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004576/1.754, allocations: 2.468 MB / 1.588 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004692/1.758, allocations: 2.199 MB / 1.59 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.758, allocations: 4 kB / 1.59 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01182/1.77, allocations: 5.4 MB / 1.596 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002521/1.773, allocations: 6.712 MB / 1.602 GB, free: 12 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.628e-05/1.773, allocations: 16.05 kB / 1.602 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002565/1.775, allocations: 1.075 MB / 1.603 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/1.779, allocations: 0.7409 MB / 1.604 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/1.793, allocations: 10.52 MB / 1.614 GB, free: 3.383 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00347/1.796, allocations: 459.1 kB / 1.615 GB, free: 2.934 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005964/1.797, allocations: 115.9 kB / 1.615 GB, free: 2.82 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.797, allocations: 9.344 kB / 1.615 GB, free: 2.812 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01282/1.81, allocations: 5.255 MB / 1.62 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.184e-05/1.81, allocations: 16 kB / 1.62 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00218/1.812, allocations: 0.872 MB / 1.621 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003478/1.815, allocations: 0.737 MB / 1.622 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/1.828, allocations: 10.51 MB / 1.632 GB, free: 1.125 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003386/1.832, allocations: 455.1 kB / 1.632 GB, free: 0.6797 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000659/1.833, allocations: 104 kB / 1.632 GB, free: 0.5781 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (220): * Single equations (assignments): 218 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003028/1.836, allocations: 1.22 MB / 1.634 GB, free: 15.35 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006726/1.836, allocations: 122.6 kB / 1.634 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/1.85, allocations: 5.174 MB / 1.639 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/1.85, allocations: 20 kB / 1.639 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.797e-05/1.85, allocations: 12 kB / 1.639 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/1.85, allocations: 7.969 kB / 1.639 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02116/1.871, allocations: 8.653 MB / 1.647 GB, free: 1.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/1.871, allocations: 8 kB / 1.647 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002582/1.874, allocations: 0.5308 MB / 1.648 GB, free: 0.625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002218/1.876, allocations: 0.8656 MB / 1.649 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/1.876, allocations: 63.91 kB / 1.649 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01454/1.891, allocations: 10.09 MB / 1.658 GB, free: 5.324 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/1.891, allocations: 12 kB / 1.658 GB, free: 5.312 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/1.902, allocations: 5.034 MB / 1.663 GB, free: 12 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.904, allocations: 0.5267 MB / 1.664 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004859/1.904, allocations: 36 kB / 1.664 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002792/1.907, allocations: 403.2 kB / 1.664 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004162/1.907, allocations: 157 kB / 1.664 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/1.908, allocations: 63.95 kB / 1.665 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001416/1.909, allocations: 0.7059 MB / 1.665 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.909, allocations: 4 kB / 1.665 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006024/1.915, allocations: 1.23 MB / 1.666 GB, free: 12.88 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004633/1.916, allocations: 163.6 kB / 1.667 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.02233/1.938, allocations: 8.062 MB / 1.674 GB, free: 4.602 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/1.938, allocations: 0 / 1.674 GB, free: 4.602 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.007175/1.945, allocations: 2.615 MB / 1.677 GB, free: 1.961 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/1.947, allocations: 164.1 kB / 1.677 GB, free: 1.801 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/1.973, allocations: 8.059 MB / 1.685 GB, free: 9.625 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00488/1.978, allocations: 2.273 MB / 1.687 GB, free: 7.316 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004942/1.983, allocations: 1.296 MB / 1.689 GB, free: 6.016 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007314/1.983, allocations: 119.3 kB / 1.689 GB, free: 5.902 MB / 1.01 GB Notification: Performance of SimCode: time 1.423e-06/1.983, allocations: 0 / 1.689 GB, free: 5.902 MB / 1.01 GB Notification: Performance of Templates: time 0.06024/2.044, allocations: 33.36 MB / 1.721 GB, free: 4.656 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches