Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.TransformerStepUpYD,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.TransformerStepUpYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,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.TransformerStepUpYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.0019/0.0019, allocations: 173.1 kB / 498.1 MB, free: 5.789 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.861/1.861, allocations: 223.2 MB / 0.7949 GB, free: 18.87 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.0009465/0.0009464, allocations: 105.8 kB / 0.9346 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005608/0.0005609, allocations: 9.125 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3553, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7975/1.153, allocations: 199.1 MB / 1.417 GB, free: 179.5 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/1.153, allocations: 98.05 kB / 1.417 GB, free: 179.5 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2284/1.382, allocations: 110.2 MB / 1.525 GB, free: 86.88 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.575e-06/1.382, allocations: 3.938 kB / 1.525 GB, free: 86.88 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.858e-05/1.382, allocations: 59.98 kB / 1.525 GB, free: 86.82 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.007123/1.389, allocations: 2.4 MB / 1.527 GB, free: 84.36 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.389, allocations: 12.03 kB / 1.527 GB, free: 84.34 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/1.4, allocations: 1.896 MB / 1.529 GB, free: 82.44 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005257/1.406, allocations: 1.663 MB / 1.531 GB, free: 80.73 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/1.406, allocations: 213.8 kB / 1.531 GB, free: 80.52 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001394/1.407, allocations: 276 kB / 1.531 GB, free: 80.25 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/1.42, allocations: 5.243 MB / 1.536 GB, free: 74.91 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.455e-05/1.42, allocations: 3.938 kB / 1.536 GB, free: 74.91 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004215/1.421, allocations: 123.9 kB / 1.537 GB, free: 74.79 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002885/1.421, allocations: 192.7 kB / 1.537 GB, free: 74.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/1.434, allocations: 5.361 MB / 1.542 GB, free: 69.22 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03111/1.465, allocations: 22.5 MB / 1.564 GB, free: 44.69 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005357/1.47, allocations: 2.993 MB / 1.567 GB, free: 41.53 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/1.47, allocations: 126 kB / 1.567 GB, free: 41.39 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/1.47, allocations: 47.56 kB / 1.567 GB, free: 41.33 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=132): time 3.877e-06/1.47, allocations: 0 / 1.567 GB, free: 41.33 MB / 0.9011 GB Notification: Performance of matching and sorting (n=174): time 0.03835/1.509, allocations: 12.95 MB / 1.58 GB, free: 28.34 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/1.509, allocations: 230.9 kB / 1.58 GB, free: 28.06 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/1.51, allocations: 0.8585 MB / 1.581 GB, free: 27.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003478/1.51, allocations: 53.7 kB / 1.581 GB, free: 27.14 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/1.511, allocations: 1.154 MB / 1.582 GB, free: 25.96 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005078/1.511, allocations: 0.597 MB / 1.583 GB, free: 25.36 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/1.512, allocations: 44 kB / 1.583 GB, free: 25.32 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001834/1.512, allocations: 431.2 kB / 1.583 GB, free: 24.89 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003693/1.515, allocations: 1.839 MB / 1.585 GB, free: 23.04 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003983/1.519, allocations: 2.423 MB / 1.587 GB, free: 20.37 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004081/1.524, allocations: 2.152 MB / 1.589 GB, free: 18.21 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.524, allocations: 4 kB / 1.589 GB, free: 18.21 MB / 0.9011 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01116/1.535, allocations: 5.302 MB / 1.594 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001635/1.536, allocations: 6.882 MB / 1.601 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-05/1.537, allocations: 20 kB / 1.601 GB, free: 5.453 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/1.539, allocations: 1.083 MB / 1.602 GB, free: 4.363 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003378/1.542, allocations: 0.7292 MB / 1.603 GB, free: 3.633 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/1.556, allocations: 10.6 MB / 1.613 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003672/1.56, allocations: 471 kB / 1.614 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006529/1.561, allocations: 108 kB / 1.614 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.561, allocations: 4 kB / 1.614 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01341/1.574, allocations: 5.177 MB / 1.619 GB, free: 3.012 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.818e-05/1.574, allocations: 20 kB / 1.619 GB, free: 2.992 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/1.576, allocations: 0.8773 MB / 1.62 GB, free: 2.109 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/1.58, allocations: 0.737 MB / 1.621 GB, free: 1.371 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/1.594, allocations: 10.55 MB / 1.631 GB, free: 6.543 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00326/1.597, allocations: 443.2 kB / 1.631 GB, free: 6.109 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005082/1.598, allocations: 115.9 kB / 1.631 GB, free: 5.996 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (212): * Single equations (assignments): 210 * 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.002875/1.601, allocations: 1.274 MB / 1.633 GB, free: 4.711 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006032/1.601, allocations: 126.5 kB / 1.633 GB, free: 4.586 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/1.614, allocations: 4.918 MB / 1.638 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/1.614, allocations: 16 kB / 1.638 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.61e-05/1.614, allocations: 12 kB / 1.638 GB, free: 15.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-05/1.614, allocations: 11.97 kB / 1.638 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02003/1.634, allocations: 8.668 MB / 1.646 GB, free: 6.762 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/1.634, allocations: 12 kB / 1.646 GB, free: 6.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002577/1.637, allocations: 0.5271 MB / 1.647 GB, free: 6.223 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002269/1.639, allocations: 0.8759 MB / 1.647 GB, free: 5.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002447/1.639, allocations: 55.95 kB / 1.647 GB, free: 5.285 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/1.653, allocations: 10.13 MB / 1.657 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/1.653, allocations: 7.938 kB / 1.657 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/1.666, allocations: 4.992 MB / 1.662 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/1.667, allocations: 0.5188 MB / 1.663 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005239/1.668, allocations: 43.98 kB / 1.663 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002728/1.671, allocations: 399.3 kB / 1.663 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004178/1.671, allocations: 152.9 kB / 1.663 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/1.671, allocations: 67.95 kB / 1.663 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001276/1.673, allocations: 0.6747 MB / 1.664 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.2e-07/1.673, allocations: 0 / 1.664 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005248/1.678, allocations: 1.238 MB / 1.665 GB, free: 2.508 MB / 0.9636 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 (101): * Single equations (assignments): 99 * 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.0003969/1.678, allocations: 156.7 kB / 1.665 GB, free: 2.344 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01989/1.698, allocations: 7.932 MB / 1.673 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.698, allocations: 4 kB / 1.673 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006083/1.704, allocations: 2.606 MB / 1.676 GB, free: 7.738 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/1.706, allocations: 161.4 kB / 1.676 GB, free: 7.586 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.727, allocations: 8.251 MB / 1.684 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00396/1.731, allocations: 2.351 MB / 1.686 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005068/1.736, allocations: 1.233 MB / 1.687 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007077/1.737, allocations: 123.3 kB / 1.688 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of SimCode: time 3.657e-06/1.737, allocations: 0 / 1.688 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of Templates: time 0.05751/1.795, allocations: 33.05 MB / 1.72 GB, free: 10.53 MB / 1.026 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches