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.321/2.321, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001315/0.001315, allocations: 180.9 kB / 492.3 MB, free: 0.5977 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.586/1.586, allocations: 221.3 MB / 0.7871 GB, free: 12.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.001019/0.001019, allocations: 102.6 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.624e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2432, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8734/1.117, allocations: 199.1 MB / 1.407 GB, free: 1.066 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.117, allocations: 96.81 kB / 1.407 GB, free: 1.012 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2549/1.372, allocations: 109.7 MB / 1.514 GB, free: 1.824 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.084e-06/1.372, allocations: 0 / 1.514 GB, free: 1.824 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.993e-05/1.372, allocations: 52 kB / 1.514 GB, free: 1.773 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.006151/1.378, allocations: 2.335 MB / 1.516 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 7.469e-05/1.378, allocations: 12.03 kB / 1.516 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/1.39, allocations: 1.9 MB / 1.518 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004391/1.395, allocations: 1.662 MB / 1.52 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/1.395, allocations: 217.7 kB / 1.52 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000725/1.396, allocations: 276 kB / 1.52 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00875/1.405, allocations: 4.729 MB / 1.525 GB, free: 6.441 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.158e-05/1.405, allocations: 4 kB / 1.525 GB, free: 6.438 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003513/1.405, allocations: 116 kB / 1.525 GB, free: 6.324 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003389/1.405, allocations: 200.6 kB / 1.525 GB, free: 6.125 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00763/1.413, allocations: 4.378 MB / 1.529 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02671/1.44, allocations: 22.48 MB / 1.551 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/1.443, allocations: 2.5 MB / 1.554 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/1.445, allocations: 1.465 MB / 1.555 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/1.446, allocations: 118.1 kB / 1.555 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/1.446, allocations: 63.44 kB / 1.555 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=132): time 3.336e-06/1.446, allocations: 0 / 1.555 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of matching and sorting (n=174): time 0.03245/1.478, allocations: 10.02 MB / 1.565 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/1.478, allocations: 238.9 kB / 1.565 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/1.48, allocations: 0.8469 MB / 1.566 GB, free: 9.668 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002986/1.48, allocations: 61.64 kB / 1.566 GB, free: 9.602 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008741/1.481, allocations: 1.154 MB / 1.568 GB, free: 8.43 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008211/1.482, allocations: 0.6008 MB / 1.568 GB, free: 7.82 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/1.482, allocations: 40 kB / 1.568 GB, free: 7.781 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002925/1.482, allocations: 427.2 kB / 1.569 GB, free: 7.355 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/1.485, allocations: 1.344 MB / 1.57 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/1.487, allocations: 1.938 MB / 1.572 GB, free: 3.816 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/1.49, allocations: 1.669 MB / 1.573 GB, free: 2.148 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/1.49, allocations: 8 kB / 1.573 GB, free: 2.141 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007539/1.498, allocations: 4.312 MB / 1.578 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00273/1.5, allocations: 7.048 MB / 1.584 GB, free: 6.215 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/1.5, allocations: 24 kB / 1.584 GB, free: 6.191 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/1.503, allocations: 1.079 MB / 1.586 GB, free: 5.105 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003607/1.507, allocations: 0.7331 MB / 1.586 GB, free: 4.371 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0142/1.521, allocations: 10.12 MB / 1.596 GB, free: 9.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003727/1.525, allocations: 467 kB / 1.597 GB, free: 9.523 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007586/1.525, allocations: 108 kB / 1.597 GB, free: 9.418 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.526, allocations: 4 kB / 1.597 GB, free: 9.414 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00864/1.534, allocations: 4.171 MB / 1.601 GB, free: 5.234 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.679e-05/1.534, allocations: 16.28 kB / 1.601 GB, free: 5.219 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002128/1.536, allocations: 0.8836 MB / 1.602 GB, free: 4.328 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/1.54, allocations: 0.737 MB / 1.602 GB, free: 3.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/1.553, allocations: 10.09 MB / 1.612 GB, free: 9.23 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/1.556, allocations: 447.2 kB / 1.613 GB, free: 8.793 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005775/1.557, allocations: 112 kB / 1.613 GB, free: 8.684 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0009488/1.558, allocations: 236.1 kB / 1.613 GB, free: 8.445 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006084/1.558, allocations: 130.4 kB / 1.613 GB, free: 8.316 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007571/1.566, allocations: 3.935 MB / 1.617 GB, free: 4.344 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/1.566, allocations: 16 kB / 1.617 GB, free: 4.328 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/1.566, allocations: 12 kB / 1.617 GB, free: 4.316 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/1.566, allocations: 11.97 kB / 1.617 GB, free: 4.305 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/1.581, allocations: 7.895 MB / 1.625 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.432e-05/1.581, allocations: 8 kB / 1.625 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/1.584, allocations: 0.5234 MB / 1.625 GB, free: 11.68 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/1.586, allocations: 0.8874 MB / 1.626 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002503/1.586, allocations: 59.91 kB / 1.626 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/1.6, allocations: 9.709 MB / 1.636 GB, free: 0.75 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/1.6, allocations: 8 kB / 1.636 GB, free: 0.7422 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007011/1.607, allocations: 4.104 MB / 1.64 GB, free: 12.33 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.609, allocations: 0.5188 MB / 1.64 GB, free: 11.79 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004117/1.609, allocations: 43.98 kB / 1.64 GB, free: 11.75 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002882/1.612, allocations: 399.4 kB / 1.641 GB, free: 11.36 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004181/1.612, allocations: 156.9 kB / 1.641 GB, free: 11.21 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/1.613, allocations: 67.95 kB / 1.641 GB, free: 11.14 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001272/1.614, allocations: 0.6631 MB / 1.641 GB, free: 10.48 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.2e-07/1.614, allocations: 0 / 1.641 GB, free: 10.48 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.005069/1.619, allocations: 1.238 MB / 1.643 GB, free: 9.242 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 101 * 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.0004906/1.62, allocations: 162.9 kB / 1.643 GB, free: 9.07 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.012/1.632, allocations: 6.435 MB / 1.649 GB, free: 2.59 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/1.632, allocations: 5.938 kB / 1.649 GB, free: 2.586 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003742/1.635, allocations: 2.103 MB / 1.651 GB, free: 468 kB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/1.637, allocations: 150.3 kB / 1.651 GB, free: 324 kB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/1.655, allocations: 5.985 MB / 1.657 GB, free: 10.2 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003271/1.658, allocations: 2.344 MB / 1.659 GB, free: 7.816 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004701/1.663, allocations: 1.264 MB / 1.661 GB, free: 6.547 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006353/1.663, allocations: 119.3 kB / 1.661 GB, free: 6.43 MB / 1.073 GB Notification: Performance of SimCode: time 6.81e-07/1.663, allocations: 3.938 kB / 1.661 GB, free: 6.426 MB / 1.073 GB Notification: Performance of Templates: time 0.05527/1.719, allocations: 33.79 MB / 1.694 GB, free: 4.742 MB / 1.104 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