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.463/2.463, allocations: 390.5 MB / 398 MB, free: 10.98 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.001001/0.001001, allocations: 176.9 kB / 491.2 MB, free: 1.57 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.583/1.583, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009111/0.0009111, allocations: 94.7 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.006e-05/2.008e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3397, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.451, allocations: 192.1 MB / 1.4 GB, free: 8.652 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/1.451, allocations: 92.41 kB / 1.4 GB, free: 8.602 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1238/1.575, allocations: 49.39 MB / 1.448 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.422e-06/1.575, allocations: 0 / 1.448 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.508e-05/1.575, allocations: 19.98 kB / 1.448 GB, free: 14.88 MB / 0.8698 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.002964/1.578, allocations: 0.917 MB / 1.449 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/1.578, allocations: 8.031 kB / 1.449 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01725/1.596, allocations: 1.547 MB / 1.451 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/1.598, allocations: 0.5526 MB / 1.451 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/1.598, allocations: 23.98 kB / 1.451 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/1.598, allocations: 36 kB / 1.451 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003681/1.602, allocations: 1.227 MB / 1.452 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003365/1.605, allocations: 1.256 MB / 1.454 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.284e-05/1.605, allocations: 7.938 kB / 1.454 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/1.605, allocations: 7.938 kB / 1.454 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004062/1.606, allocations: 108.1 kB / 1.454 GB, free: 9.852 MB / 0.8698 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.01599/1.622, allocations: 6.267 MB / 1.46 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/1.625, allocations: 0.9797 MB / 1.461 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.626, allocations: 0.5533 MB / 1.461 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00447/1.631, allocations: 2.2 MB / 1.464 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/1.631, allocations: 49.78 kB / 1.464 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 3.767e-06/1.631, allocations: 0 / 1.464 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.01562/1.646, allocations: 3.613 MB / 1.467 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/1.647, allocations: 207.6 kB / 1.467 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009278/1.648, allocations: 435.8 kB / 1.468 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/1.648, allocations: 25.7 kB / 1.468 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/1.648, allocations: 384.3 kB / 1.468 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/1.649, allocations: 307.7 kB / 1.468 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.649, allocations: 4 kB / 1.468 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002629/1.649, allocations: 375.5 kB / 1.469 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/1.651, allocations: 0.6152 MB / 1.469 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001893/1.653, allocations: 0.8916 MB / 1.47 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003285/1.656, allocations: 0.8643 MB / 1.471 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/1.656, allocations: 4 kB / 1.471 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00995/1.666, allocations: 2.409 MB / 1.473 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001918/1.668, allocations: 3.149 MB / 1.477 GB, free: 5.363 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/1.668, allocations: 11.94 kB / 1.477 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004732/1.673, allocations: 0.7215 MB / 1.477 GB, free: 4.715 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/1.676, allocations: 458.6 kB / 1.478 GB, free: 4.273 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/1.689, allocations: 7.173 MB / 1.485 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003586/1.693, allocations: 286.6 kB / 1.485 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002693/1.693, allocations: 54.72 kB / 1.485 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.693, allocations: 4 kB / 1.485 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006133/1.699, allocations: 1.746 MB / 1.487 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/1.699, allocations: 8 kB / 1.487 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009874/1.7, allocations: 201.8 kB / 1.487 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003864/1.704, allocations: 0.5021 MB / 1.487 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006165/1.71, allocations: 3.793 MB / 1.491 GB, free: 8.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003597/1.714, allocations: 259.6 kB / 1.491 GB, free: 7.84 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/1.714, allocations: 63.14 kB / 1.491 GB, free: 7.789 MB / 0.9011 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.0005657/1.715, allocations: 137 kB / 1.492 GB, free: 7.652 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005146/1.715, allocations: 71.16 kB / 1.492 GB, free: 7.582 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009885/1.725, allocations: 2.3 MB / 1.494 GB, free: 5.758 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-05/1.725, allocations: 8 kB / 1.494 GB, free: 5.75 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/1.725, allocations: 11.95 kB / 1.494 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/1.725, allocations: 3.984 kB / 1.494 GB, free: 5.734 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/1.739, allocations: 4.135 MB / 1.498 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/1.739, allocations: 8 kB / 1.498 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00289/1.742, allocations: 367.4 kB / 1.498 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005103/1.747, allocations: 0.8499 MB / 1.499 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/1.747, allocations: 19.97 kB / 1.499 GB, free: 228 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/1.758, allocations: 8.235 MB / 1.507 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/1.758, allocations: 8 kB / 1.507 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005392/1.764, allocations: 2.724 MB / 1.51 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/1.764, allocations: 308.1 kB / 1.51 GB, free: 4.242 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/1.764, allocations: 11.98 kB / 1.51 GB, free: 4.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/1.766, allocations: 295.4 kB / 1.51 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/1.766, allocations: 87.78 kB / 1.511 GB, free: 3.855 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.129e-05/1.767, allocations: 39.97 kB / 1.511 GB, free: 3.816 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004221/1.767, allocations: 330.9 kB / 1.511 GB, free: 3.496 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.31e-07/1.767, allocations: 4 kB / 1.511 GB, free: 3.492 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001905/1.769, allocations: 452 kB / 1.511 GB, free: 3.051 MB / 0.9167 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.0002566/1.769, allocations: 127.7 kB / 1.511 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005448/1.775, allocations: 3.151 MB / 1.515 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/1.775, allocations: 4 kB / 1.515 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002088/1.777, allocations: 1.328 MB / 1.516 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/1.778, allocations: 91.72 kB / 1.516 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0079/1.785, allocations: 2.508 MB / 1.518 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007539/1.786, allocations: 1.048 MB / 1.519 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002366/1.789, allocations: 0.5108 MB / 1.52 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/1.789, allocations: 75.38 kB / 1.52 GB, free: 9.992 MB / 0.9323 GB Notification: Performance of SimCode: time 1.402e-06/1.789, allocations: 0 / 1.52 GB, free: 9.992 MB / 0.9323 GB Notification: Performance of Templates: time 0.0292/1.818, allocations: 17.95 MB / 1.538 GB, free: 8.109 MB / 0.948 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