Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.541/2.541, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001036/0.001036, allocations: 168.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0009176/0.000918, allocations: 91.95 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.111e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3437, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.427, allocations: 192.8 MB / 1.407 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.427, allocations: 92.88 kB / 1.407 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1254/1.553, allocations: 49.57 MB / 1.456 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.305e-06/1.553, allocations: 0 / 1.456 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.999e-05/1.553, allocations: 20 kB / 1.456 GB, free: 15.95 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002323/1.555, allocations: 0.9169 MB / 1.456 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.699e-05/1.555, allocations: 8.031 kB / 1.456 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009512/1.565, allocations: 1.555 MB / 1.458 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/1.566, allocations: 0.5419 MB / 1.458 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/1.566, allocations: 49.3 kB / 1.459 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/1.567, allocations: 67.97 kB / 1.459 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/1.569, allocations: 1.348 MB / 1.46 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/1.569, allocations: 0 / 1.46 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/1.569, allocations: 27.98 kB / 1.46 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000233/1.569, allocations: 109.2 kB / 1.46 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/1.572, allocations: 1.488 MB / 1.462 GB, free: 9.668 MB / 0.9167 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.009693/1.582, allocations: 6.375 MB / 1.468 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/1.583, allocations: 1.015 MB / 1.469 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000872/1.584, allocations: 0.5672 MB / 1.469 GB, free: 1.234 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002964/1.587, allocations: 2.231 MB / 1.471 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/1.587, allocations: 54.48 kB / 1.472 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=69): time 2.755e-06/1.587, allocations: 0 / 1.472 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of matching and sorting (n=93): time 0.01317/1.601, allocations: 4.563 MB / 1.476 GB, free: 10.26 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/1.601, allocations: 199.6 kB / 1.476 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006579/1.601, allocations: 463.7 kB / 1.477 GB, free: 9.562 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/1.601, allocations: 45.7 kB / 1.477 GB, free: 9.512 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/1.602, allocations: 390.7 kB / 1.477 GB, free: 9.121 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/1.602, allocations: 327.3 kB / 1.477 GB, free: 8.797 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/1.602, allocations: 31.94 kB / 1.477 GB, free: 8.766 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.602, allocations: 374.8 kB / 1.478 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/1.603, allocations: 0.6468 MB / 1.478 GB, free: 7.742 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/1.605, allocations: 0.9154 MB / 1.479 GB, free: 6.719 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/1.606, allocations: 0.7333 MB / 1.48 GB, free: 5.98 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.606, allocations: 3.938 kB / 1.48 GB, free: 5.977 MB / 0.9323 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005469/1.611, allocations: 2.472 MB / 1.482 GB, free: 3.484 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001398/1.613, allocations: 3.136 MB / 1.485 GB, free: 108 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/1.613, allocations: 8 kB / 1.485 GB, free: 100 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003299/1.616, allocations: 0.9125 MB / 1.486 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/1.618, allocations: 455.3 kB / 1.487 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009137/1.628, allocations: 7.41 MB / 1.494 GB, free: 6.891 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/1.63, allocations: 303.4 kB / 1.494 GB, free: 6.594 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/1.63, allocations: 59.97 kB / 1.494 GB, free: 6.535 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.63, allocations: 8.062 kB / 1.494 GB, free: 6.527 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004759/1.635, allocations: 2.178 MB / 1.496 GB, free: 4.336 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.635, allocations: 12.06 kB / 1.496 GB, free: 4.324 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/1.637, allocations: 0.6111 MB / 1.497 GB, free: 3.703 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/1.64, allocations: 487.2 kB / 1.498 GB, free: 3.227 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008456/1.648, allocations: 6.675 MB / 1.504 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/1.651, allocations: 295.5 kB / 1.504 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/1.651, allocations: 59.95 kB / 1.504 GB, free: 11.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005263/1.652, allocations: 182.6 kB / 1.505 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/1.652, allocations: 71.16 kB / 1.505 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005901/1.658, allocations: 2.275 MB / 1.507 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/1.658, allocations: 11.98 kB / 1.507 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/1.658, allocations: 12 kB / 1.507 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/1.658, allocations: 7.969 kB / 1.507 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008874/1.667, allocations: 4.214 MB / 1.511 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.667, allocations: 8 kB / 1.511 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/1.669, allocations: 364 kB / 1.511 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003104/1.672, allocations: 0.8539 MB / 1.512 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/1.672, allocations: 39.92 kB / 1.512 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/1.682, allocations: 8.584 MB / 1.521 GB, free: 10.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.682, allocations: 12.05 kB / 1.521 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005519/1.688, allocations: 2.689 MB / 1.523 GB, free: 7.535 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008246/1.689, allocations: 308.1 kB / 1.524 GB, free: 7.215 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/1.689, allocations: 27.98 kB / 1.524 GB, free: 7.188 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/1.691, allocations: 291.5 kB / 1.524 GB, free: 6.902 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/1.691, allocations: 91.77 kB / 1.524 GB, free: 6.812 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-05/1.691, allocations: 35.97 kB / 1.524 GB, free: 6.777 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005036/1.692, allocations: 365.5 kB / 1.524 GB, free: 6.422 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2e-07/1.692, allocations: 4 kB / 1.524 GB, free: 6.418 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002016/1.694, allocations: 0.5195 MB / 1.525 GB, free: 5.898 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002848/1.694, allocations: 147 kB / 1.525 GB, free: 5.746 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006925/1.701, allocations: 3.622 MB / 1.529 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.016e-06/1.701, allocations: 0 / 1.529 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/1.703, allocations: 1.381 MB / 1.53 GB, free: 0.6172 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/1.704, allocations: 112.5 kB / 1.53 GB, free: 0.5117 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008749/1.713, allocations: 2.556 MB / 1.532 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008274/1.714, allocations: 1.048 MB / 1.534 GB, free: 12.78 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002129/1.716, allocations: 0.507 MB / 1.534 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/1.717, allocations: 75.38 kB / 1.534 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of SimCode: time 8.61e-07/1.717, allocations: 0 / 1.534 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.03364/1.75, allocations: 19.31 MB / 1.553 GB, free: 8.957 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches