Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.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.TransformerStepUpDY,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.TransformerStepUpDY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY,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.TransformerStepUpDY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.292/2.292, allocations: 390.5 MB / 398 MB, free: 10.95 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.00135/0.00135, allocations: 175.9 kB / 491.2 MB, free: 1.59 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.608/1.608, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0009447/0.0009446, allocations: 95.83 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.627e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2216, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.869/1.091, allocations: 199.2 MB / 1.407 GB, free: 1.328 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.091, allocations: 96.8 kB / 1.407 GB, free: 1.273 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3021/1.393, allocations: 113.1 MB / 1.517 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.164e-06/1.393, allocations: 4 kB / 1.517 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.302e-05/1.393, allocations: 56 kB / 1.517 GB, free: 14.79 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 809 * Number of variables: 809 Notification: Performance of Generate backend data structure: time 0.005356/1.399, allocations: 2.424 MB / 1.52 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.399, allocations: 8.031 kB / 1.52 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/1.41, allocations: 1.908 MB / 1.522 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003674/1.413, allocations: 1.717 MB / 1.523 GB, free: 8.625 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.021e-05/1.413, allocations: 100 kB / 1.523 GB, free: 8.527 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005161/1.414, allocations: 172 kB / 1.524 GB, free: 8.359 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006753/1.421, allocations: 4.061 MB / 1.528 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006811/1.428, allocations: 4.503 MB / 1.532 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/1.428, allocations: 3.953 kB / 1.532 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/1.428, allocations: 4 kB / 1.532 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002905/1.428, allocations: 196.9 kB / 1.532 GB, free: 15.5 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02326/1.451, allocations: 22.14 MB / 1.554 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/1.454, allocations: 1.992 MB / 1.556 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/1.455, allocations: 1.186 MB / 1.557 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/1.456, allocations: 118.3 kB / 1.557 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/1.456, allocations: 63.8 kB / 1.557 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=123): time 3.026e-06/1.456, allocations: 0 / 1.557 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of matching and sorting (n=153): time 0.01288/1.469, allocations: 7.232 MB / 1.564 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.469, allocations: 230.9 kB / 1.564 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/1.47, allocations: 0.9057 MB / 1.565 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/1.47, allocations: 29.64 kB / 1.565 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006569/1.471, allocations: 1.25 MB / 1.566 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004383/1.471, allocations: 0.516 MB / 1.567 GB, free: 9.555 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/1.471, allocations: 0 / 1.567 GB, free: 9.555 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001984/1.471, allocations: 427.2 kB / 1.567 GB, free: 9.129 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/1.473, allocations: 1.289 MB / 1.569 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/1.475, allocations: 1.951 MB / 1.571 GB, free: 5.582 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003151/1.478, allocations: 1.906 MB / 1.572 GB, free: 3.68 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/1.478, allocations: 8 kB / 1.572 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007272/1.486, allocations: 4.23 MB / 1.577 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002643/1.488, allocations: 8.439 MB / 1.585 GB, free: 6.316 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/1.488, allocations: 20 kB / 1.585 GB, free: 6.297 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/1.49, allocations: 0.7427 MB / 1.585 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003341/1.494, allocations: 0.776 MB / 1.586 GB, free: 4.758 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/1.508, allocations: 12.24 MB / 1.598 GB, free: 7.824 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/1.511, allocations: 423 kB / 1.599 GB, free: 7.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/1.511, allocations: 116 kB / 1.599 GB, free: 7.297 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/1.511, allocations: 0 / 1.599 GB, free: 7.297 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006944/1.518, allocations: 3.964 MB / 1.603 GB, free: 3.312 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-05/1.518, allocations: 20 kB / 1.603 GB, free: 3.293 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/1.52, allocations: 0.6453 MB / 1.603 GB, free: 2.629 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003278/1.523, allocations: 0.7762 MB / 1.604 GB, free: 1.852 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/1.534, allocations: 11.73 MB / 1.615 GB, free: 5.434 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/1.537, allocations: 407.2 kB / 1.616 GB, free: 5.035 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003433/1.538, allocations: 112 kB / 1.616 GB, free: 4.926 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 234 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000623/1.538, allocations: 176.2 kB / 1.616 GB, free: 4.746 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/1.539, allocations: 122.5 kB / 1.616 GB, free: 4.625 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00663/1.545, allocations: 3.644 MB / 1.62 GB, free: 0.918 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/1.545, allocations: 16 kB / 1.62 GB, free: 0.9023 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.545, allocations: 12 kB / 1.62 GB, free: 0.8906 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/1.545, allocations: 11.92 kB / 1.62 GB, free: 0.8789 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/1.556, allocations: 6.705 MB / 1.626 GB, free: 9.996 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.556, allocations: 4.75 kB / 1.626 GB, free: 9.992 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002476/1.559, allocations: 0.5264 MB / 1.627 GB, free: 9.465 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/1.56, allocations: 0.6261 MB / 1.628 GB, free: 8.82 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.561, allocations: 27.95 kB / 1.628 GB, free: 8.793 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.571, allocations: 11.52 MB / 1.639 GB, free: 12.58 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.387e-06/1.571, allocations: 11.95 kB / 1.639 GB, free: 12.57 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005806/1.577, allocations: 3.634 MB / 1.642 GB, free: 8.648 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009213/1.578, allocations: 0.4954 MB / 1.643 GB, free: 8.133 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/1.578, allocations: 12 kB / 1.643 GB, free: 8.121 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/1.581, allocations: 375.3 kB / 1.643 GB, free: 7.754 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/1.581, allocations: 129 kB / 1.643 GB, free: 7.629 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/1.581, allocations: 55.95 kB / 1.643 GB, free: 7.574 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.00094/1.582, allocations: 0.7138 MB / 1.644 GB, free: 6.863 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.503e-06/1.582, allocations: 0 / 1.644 GB, free: 6.863 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.003903/1.586, allocations: 1.078 MB / 1.645 GB, free: 5.785 MB / 1.057 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 (105): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003452/1.587, allocations: 131 kB / 1.645 GB, free: 5.648 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.598, allocations: 6.47 MB / 1.652 GB, free: 15.07 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.598, allocations: 1 kB / 1.652 GB, free: 15.07 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003417/1.601, allocations: 2.175 MB / 1.654 GB, free: 12.83 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/1.603, allocations: 135.6 kB / 1.654 GB, free: 12.7 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/1.618, allocations: 5.824 MB / 1.66 GB, free: 6.746 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002416/1.621, allocations: 2.386 MB / 1.662 GB, free: 4.324 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004129/1.625, allocations: 1.331 MB / 1.663 GB, free: 2.988 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/1.626, allocations: 123.3 kB / 1.663 GB, free: 2.867 MB / 1.073 GB Notification: Performance of SimCode: time 9.42e-07/1.626, allocations: 3.938 kB / 1.663 GB, free: 2.863 MB / 1.073 GB Notification: Performance of Templates: time 0.04848/1.674, allocations: 29.31 MB / 1.692 GB, free: 5.641 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpDY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches