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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009706/0.0009702, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009761/0.0009763, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.848/2.848, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004033, allocations: 8 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8313/0.8317, allocations: 153.7 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer): time 0.00522/0.837, allocations: 4.412 MB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005143/0.8422, allocations: 3.685 MB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003645/0.8426, allocations: 11.94 kB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.8429, allocations: 87.36 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.844, allocations: 434.6 kB / 1.029 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.8451, allocations: 371 kB / 1.03 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008168/0.8459, allocations: 0.558 MB / 1.03 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.847, allocations: 0.6485 MB / 1.031 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/0.8474, allocations: 283 kB / 1.031 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004952/0.8479, allocations: 358.6 kB / 1.031 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.464e-05/0.8479, allocations: 32 kB / 1.031 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008806/0.8488, allocations: 451.3 kB / 1.032 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.8491, allocations: 255.3 kB / 1.032 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.8492, allocations: 149.3 kB / 1.032 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009011/0.8501, allocations: 0.9331 MB / 1.033 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.8501, allocations: 0 / 1.033 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8501, allocations: 0 / 1.033 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.8502, allocations: 3.938 kB / 1.033 GB, free: 4.414 MB / 0.7794 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.001698/0.8519, allocations: 0.9429 MB / 1.034 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.8519, allocations: 8.031 kB / 1.034 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008727/0.8606, allocations: 1.653 MB / 1.036 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.8617, allocations: 0.5385 MB / 1.036 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.8618, allocations: 53.25 kB / 1.036 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.8619, allocations: 67.97 kB / 1.036 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004444/0.8664, allocations: 1.821 MB / 1.038 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.8664, allocations: 0 / 1.038 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.8666, allocations: 28 kB / 1.038 GB, free: 15.13 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002115/0.8668, allocations: 113.4 kB / 1.038 GB, free: 15.02 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007117/0.8739, allocations: 2.472 MB / 1.041 GB, free: 12.55 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008741/0.8827, allocations: 6.338 MB / 1.047 GB, free: 5.816 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.8861, allocations: 1.343 MB / 1.048 GB, free: 4.418 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002687/0.8888, allocations: 2.151 MB / 1.05 GB, free: 2.176 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.8888, allocations: 38.56 kB / 1.05 GB, free: 2.129 MB / 0.795 GB Notification: Performance of pre-optimization done (n=69): time 2.955e-06/0.8889, allocations: 0 / 1.05 GB, free: 2.129 MB / 0.795 GB Notification: Performance of matching and sorting (n=71): time 0.0122/0.9011, allocations: 4.075 MB / 1.054 GB, free: 14 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.9012, allocations: 187.9 kB / 1.054 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/0.9019, allocations: 0.5134 MB / 1.055 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/0.902, allocations: 41.7 kB / 1.055 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.9023, allocations: 390.4 kB / 1.055 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.9026, allocations: 256.4 kB / 1.056 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.376e-05/0.9027, allocations: 20 kB / 1.056 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000221/0.9029, allocations: 370.8 kB / 1.056 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002515/0.9054, allocations: 0.8415 MB / 1.057 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/0.9081, allocations: 1.118 MB / 1.058 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/0.9107, allocations: 0.9052 MB / 1.059 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.9107, allocations: 4 kB / 1.059 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.006712/0.9175, allocations: 2.399 MB / 1.061 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001409/0.9189, allocations: 3.224 MB / 1.064 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.9189, allocations: 8 kB / 1.064 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/0.9207, allocations: 441.1 kB / 1.065 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.9228, allocations: 439.3 kB / 1.065 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005607/0.9284, allocations: 4.339 MB / 1.069 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.9305, allocations: 283.3 kB / 1.07 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.9306, allocations: 63.94 kB / 1.07 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.9306, allocations: 8.062 kB / 1.07 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005663/0.9363, allocations: 2.08 MB / 1.072 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.9363, allocations: 8 kB / 1.072 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003112/0.9366, allocations: 112.8 kB / 1.072 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.9387, allocations: 467.6 kB / 1.072 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.9407, allocations: 1.964 MB / 1.074 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.9425, allocations: 287.3 kB / 1.074 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.9426, allocations: 59.95 kB / 1.075 GB, free: 8.359 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 114 * 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: 1 {(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005956/0.9432, allocations: 324.8 kB / 1.075 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/0.9435, allocations: 63.25 kB / 1.075 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006688/0.9502, allocations: 2.116 MB / 1.077 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.381e-05/0.9503, allocations: 8 kB / 1.077 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.9503, allocations: 4 kB / 1.077 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.9503, allocations: 11.98 kB / 1.077 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009021/0.9594, allocations: 3.804 MB / 1.081 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.9594, allocations: 4 kB / 1.081 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.961, allocations: 348 kB / 1.081 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.9623, allocations: 374 kB / 1.081 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.454e-05/0.9624, allocations: 31.97 kB / 1.081 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00497/0.9674, allocations: 4.158 MB / 1.085 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.9674, allocations: 7.938 kB / 1.086 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006501/0.9739, allocations: 2.538 MB / 1.088 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006271/0.9746, allocations: 280.1 kB / 1.088 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.9747, allocations: 16 kB / 1.088 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/0.9763, allocations: 263.6 kB / 1.089 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.9764, allocations: 63.81 kB / 1.089 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/0.9765, allocations: 31.97 kB / 1.089 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004639/0.977, allocations: 362.8 kB / 1.089 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.977, allocations: 7.938 kB / 1.089 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001775/0.9788, allocations: 420 kB / 1.089 GB, free: 8.555 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (58): * Single equations (assignments): 56 * 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: 1 {(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002803/0.9791, allocations: 135 kB / 1.089 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.008961/0.988, allocations: 3.412 MB / 1.093 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.9881, allocations: 0 / 1.093 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003183/0.9913, allocations: 1.232 MB / 1.094 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008348/0.9921, allocations: 98.16 kB / 1.094 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0096/1.002, allocations: 3.161 MB / 1.097 GB, free: 380 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/1.002, allocations: 0.9914 MB / 1.098 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001872/1.004, allocations: 489.4 kB / 1.099 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/1.005, allocations: 79.36 kB / 1.099 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of SimCode: time 1.072e-06/1.005, allocations: 0 / 1.099 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of Templates: time 0.02042/1.025, allocations: 12.97 MB / 1.111 GB, free: 1.871 MB / 0.8575 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