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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.71/2.71, allocations: 436.5 MB / 0.7104 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004289, allocations: 16 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8251/0.8255, allocations: 153.6 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01555/0.8411, allocations: 13.93 MB / 1.034 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008951/0.8501, allocations: 5.373 MB / 1.04 GB, free: 13.72 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.8515, allocations: 31.94 kB / 1.04 GB, free: 13.69 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008354/0.8523, allocations: 302.2 kB / 1.04 GB, free: 13.39 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.8545, allocations: 0.5919 MB / 1.041 GB, free: 12.8 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.8564, allocations: 0.6199 MB / 1.041 GB, free: 12.18 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.8589, allocations: 1.696 MB / 1.043 GB, free: 10.48 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007595/0.8665, allocations: 5.413 MB / 1.048 GB, free: 5.012 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.8684, allocations: 0.9931 MB / 1.049 GB, free: 4.016 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.8701, allocations: 1.172 MB / 1.05 GB, free: 2.84 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003694/0.8705, allocations: 180 kB / 1.05 GB, free: 2.664 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.8718, allocations: 0.5657 MB / 1.051 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.873, allocations: 1.244 MB / 1.052 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000584/0.8736, allocations: 0.5122 MB / 1.053 GB, free: 340 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004607/0.8782, allocations: 4.962 MB / 1.058 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.8782, allocations: 4 kB / 1.058 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8783, allocations: 0 / 1.058 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001454/0.8784, allocations: 0 / 1.058 GB, free: 11.36 MB / 0.8106 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.005488/0.8839, allocations: 2.316 MB / 1.06 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.884, allocations: 15.92 kB / 1.06 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.8953, allocations: 2.06 MB / 1.062 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005341/0.9006, allocations: 1.521 MB / 1.063 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.9009, allocations: 205.4 kB / 1.063 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007908/0.9017, allocations: 264 kB / 1.064 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.9142, allocations: 5.416 MB / 1.069 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.291e-05/0.9143, allocations: 4 kB / 1.069 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/0.9147, allocations: 112 kB / 1.069 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003196/0.915, allocations: 196.5 kB / 1.069 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01354/0.9286, allocations: 5.669 MB / 1.075 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02616/0.9548, allocations: 21.26 MB / 1.096 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005344/0.9602, allocations: 3.001 MB / 1.099 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.9604, allocations: 122 kB / 1.099 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.9605, allocations: 55.5 kB / 1.099 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=139): time 4.699e-06/0.9605, allocations: 0 / 1.099 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=139): time 0.01743/0.9779, allocations: 6.035 MB / 1.105 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.978, allocations: 230.5 kB / 1.105 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.9795, allocations: 0.9726 MB / 1.106 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.9796, allocations: 49.7 kB / 1.106 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006404/0.9803, allocations: 1.091 MB / 1.107 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004939/0.9808, allocations: 0.4892 MB / 1.107 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.9809, allocations: 36 kB / 1.107 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.9811, allocations: 422.7 kB / 1.108 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004233/0.9854, allocations: 1.682 MB / 1.109 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004443/0.9898, allocations: 2.239 MB / 1.112 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004413/0.9942, allocations: 1.946 MB / 1.114 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/0.9943, allocations: 7.984 kB / 1.114 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01077/1.005, allocations: 4.497 MB / 1.118 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.002256/1.007, allocations: 6.699 MB / 1.124 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/1.007, allocations: 20 kB / 1.125 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/1.009, allocations: 0.6185 MB / 1.125 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003409/1.013, allocations: 0.737 MB / 1.126 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007149/1.02, allocations: 5.138 MB / 1.131 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/1.024, allocations: 0.5598 MB / 1.131 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005081/1.024, allocations: 99.95 kB / 1.131 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/1.024, allocations: 4 kB / 1.132 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01093/1.035, allocations: 4.357 MB / 1.136 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-05/1.035, allocations: 16 kB / 1.136 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009415/1.036, allocations: 417.9 kB / 1.136 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003168/1.039, allocations: 0.737 MB / 1.137 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006795/1.046, allocations: 4.975 MB / 1.142 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004822/1.051, allocations: 0.5096 MB / 1.142 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004549/1.051, allocations: 103.9 kB / 1.142 GB, free: 1.047 MB / 0.8887 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 (213): * Single equations (assignments): 212 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003378/1.055, allocations: 1.168 MB / 1.143 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000689/1.056, allocations: 114.7 kB / 1.144 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01628/1.072, allocations: 4.059 MB / 1.148 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/1.072, allocations: 12 kB / 1.148 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/1.072, allocations: 8 kB / 1.148 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.922e-05/1.072, allocations: 15.98 kB / 1.148 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/1.096, allocations: 7.247 MB / 1.155 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/1.096, allocations: 4.562 kB / 1.155 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004076/1.1, allocations: 0.5264 MB / 1.155 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/1.102, allocations: 445.6 kB / 1.156 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002956/1.102, allocations: 47.97 kB / 1.156 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/1.112, allocations: 5.022 MB / 1.161 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/1.112, allocations: 4.156 kB / 1.161 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.128, allocations: 4.094 MB / 1.165 GB, free: 9.75 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/1.129, allocations: 499.2 kB / 1.165 GB, free: 9.242 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003769/1.13, allocations: 31.98 kB / 1.165 GB, free: 9.211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003694/1.133, allocations: 379.4 kB / 1.165 GB, free: 8.84 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/1.134, allocations: 108.8 kB / 1.166 GB, free: 8.734 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/1.134, allocations: 55.95 kB / 1.166 GB, free: 8.68 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001659/1.135, allocations: 0.7137 MB / 1.166 GB, free: 7.973 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.31e-07/1.136, allocations: 3.938 kB / 1.166 GB, free: 7.969 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.007796/1.143, allocations: 1.389 MB / 1.168 GB, free: 6.574 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (98): * Single equations (assignments): 97 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004804/1.144, allocations: 143.1 kB / 1.168 GB, free: 6.426 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02508/1.169, allocations: 6.46 MB / 1.174 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/1.169, allocations: 0 / 1.174 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.008261/1.177, allocations: 1.968 MB / 1.176 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/1.179, allocations: 151.2 kB / 1.176 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02885/1.208, allocations: 7.484 MB / 1.183 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/1.211, allocations: 2.146 MB / 1.186 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.006843/1.218, allocations: 1.263 MB / 1.187 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008317/1.219, allocations: 127.3 kB / 1.187 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of SimCode: time 9.72e-07/1.219, allocations: 0 / 1.187 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of Templates: time 0.06105/1.28, allocations: 24.54 MB / 1.211 GB, free: 10.19 MB / 0.9669 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