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.291/2.291, allocations: 393.5 MB / 408.4 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.001126/0.001126, allocations: 176 kB / 0.4902 GB, free: 2.227 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.625/1.625, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001007/0.001007, allocations: 96.33 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.0004129, allocations: 9.078 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3401, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9949/1.335, allocations: 192.8 MB / 1.418 GB, free: 73.14 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/1.336, allocations: 96 kB / 1.418 GB, free: 73.14 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.1326/1.468, allocations: 49.86 MB / 1.466 GB, free: 67.91 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.473e-06/1.468, allocations: 0 / 1.466 GB, free: 67.91 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.494e-05/1.468, allocations: 22.38 kB / 1.466 GB, free: 67.9 MB / 0.9011 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.003157/1.471, allocations: 0.9625 MB / 1.467 GB, free: 67.26 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/1.472, allocations: 13.48 kB / 1.467 GB, free: 67.25 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009456/1.481, allocations: 1.555 MB / 1.469 GB, free: 67.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/1.483, allocations: 0.5486 MB / 1.469 GB, free: 66.83 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.626e-05/1.483, allocations: 50.92 kB / 1.469 GB, free: 66.83 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004321/1.483, allocations: 60.7 kB / 1.469 GB, free: 66.82 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005427/1.489, allocations: 1.84 MB / 1.471 GB, free: 66.03 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/1.489, allocations: 3.875 kB / 1.471 GB, free: 66.03 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/1.489, allocations: 29.45 kB / 1.471 GB, free: 66.02 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/1.489, allocations: 114 kB / 1.471 GB, free: 65.98 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006836/1.496, allocations: 2.473 MB / 1.474 GB, free: 65.24 MB / 0.9011 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.008798/1.505, allocations: 6.373 MB / 1.48 GB, free: 60.66 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/1.508, allocations: 1.36 MB / 1.481 GB, free: 60.19 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002745/1.511, allocations: 2.23 MB / 1.484 GB, free: 58.48 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/1.511, allocations: 53.7 kB / 1.484 GB, free: 58.43 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=69): time 2.395e-06/1.511, allocations: 0 / 1.484 GB, free: 58.43 MB / 0.9011 GB Notification: Performance of matching and sorting (n=93): time 0.02223/1.534, allocations: 6.414 MB / 1.49 GB, free: 56.18 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/1.534, allocations: 206 kB / 1.49 GB, free: 55.94 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009209/1.535, allocations: 480.5 kB / 1.49 GB, free: 55.75 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/1.535, allocations: 40.2 kB / 1.491 GB, free: 55.72 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/1.535, allocations: 383 kB / 1.491 GB, free: 55.44 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/1.535, allocations: 328.2 kB / 1.491 GB, free: 55.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/1.535, allocations: 22.78 kB / 1.491 GB, free: 55.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.986e-05/1.535, allocations: 377.2 kB / 1.492 GB, free: 54.87 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002539/1.538, allocations: 0.9935 MB / 1.493 GB, free: 54.61 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/1.541, allocations: 1.273 MB / 1.494 GB, free: 54.04 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/1.543, allocations: 1.09 MB / 1.495 GB, free: 53.78 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.543, allocations: 0 / 1.495 GB, free: 53.78 MB / 0.9011 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.008468/1.552, allocations: 3.215 MB / 1.498 GB, free: 52.78 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005708/1.552, allocations: 3.134 MB / 1.501 GB, free: 49.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/1.552, allocations: 11.81 kB / 1.501 GB, free: 49.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003674/1.556, allocations: 0.9729 MB / 1.502 GB, free: 49.11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/1.558, allocations: 465.5 kB / 1.502 GB, free: 48.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007205/1.565, allocations: 7.584 MB / 1.51 GB, free: 43.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/1.568, allocations: 308.9 kB / 1.51 GB, free: 43.73 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.568, allocations: 57.89 kB / 1.51 GB, free: 43.72 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/1.568, allocations: 3.906 kB / 1.51 GB, free: 43.72 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007652/1.576, allocations: 2.926 MB / 1.513 GB, free: 42.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/1.576, allocations: 7.812 kB / 1.513 GB, free: 42.87 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/1.578, allocations: 0.6912 MB / 1.514 GB, free: 42.61 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/1.58, allocations: 483.6 kB / 1.514 GB, free: 42.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006212/1.586, allocations: 6.846 MB / 1.521 GB, free: 37.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/1.589, allocations: 294.8 kB / 1.521 GB, free: 37.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/1.589, allocations: 61.92 kB / 1.521 GB, free: 37.79 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 () * Number of clocked 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.0006777/1.589, allocations: 362.3 kB / 1.522 GB, free: 37.55 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/1.59, allocations: 73.84 kB / 1.522 GB, free: 37.52 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008072/1.598, allocations: 3.011 MB / 1.525 GB, free: 36.48 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.598, allocations: 11.72 kB / 1.525 GB, free: 36.48 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/1.598, allocations: 7.906 kB / 1.525 GB, free: 36.47 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.598, allocations: 7.922 kB / 1.525 GB, free: 36.47 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/1.608, allocations: 4.939 MB / 1.529 GB, free: 34.24 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.608, allocations: 4.531 kB / 1.529 GB, free: 34.24 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/1.61, allocations: 366 kB / 1.53 GB, free: 34.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003209/1.613, allocations: 0.9319 MB / 1.531 GB, free: 33.74 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.613, allocations: 42.36 kB / 1.531 GB, free: 33.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008326/1.621, allocations: 8.901 MB / 1.539 GB, free: 27.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.621, allocations: 7.844 kB / 1.539 GB, free: 27.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007878/1.629, allocations: 3.428 MB / 1.543 GB, free: 25.99 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00071/1.63, allocations: 319 kB / 1.543 GB, free: 25.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/1.63, allocations: 18.94 kB / 1.543 GB, free: 25.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/1.632, allocations: 289 kB / 1.543 GB, free: 25.68 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/1.632, allocations: 92.75 kB / 1.544 GB, free: 25.64 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.902e-05/1.632, allocations: 39.31 kB / 1.544 GB, free: 25.63 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004572/1.633, allocations: 366.2 kB / 1.544 GB, free: 25.49 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.8e-07/1.633, allocations: 7.844 kB / 1.544 GB, free: 25.49 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002003/1.635, allocations: 0.5208 MB / 1.544 GB, free: 25.48 MB / 0.9011 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 () * Number of clocked 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.0002753/1.635, allocations: 143.7 kB / 1.545 GB, free: 25.37 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01068/1.646, allocations: 4.692 MB / 1.549 GB, free: 23.59 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.646, allocations: 0 / 1.549 GB, free: 23.59 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003505/1.649, allocations: 1.739 MB / 1.551 GB, free: 22.76 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/1.65, allocations: 111 kB / 1.551 GB, free: 22.73 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008953/1.659, allocations: 3.528 MB / 1.554 GB, free: 20.89 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/1.66, allocations: 1.049 MB / 1.555 GB, free: 20.05 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001816/1.661, allocations: 492.2 kB / 1.556 GB, free: 19.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/1.662, allocations: 77.84 kB / 1.556 GB, free: 19.78 MB / 0.9011 GB Notification: Performance of SimCode: time 9.92e-07/1.662, allocations: 4 kB / 1.556 GB, free: 19.77 MB / 0.9011 GB Notification: Performance of Templates: time 0.02509/1.687, allocations: 18.78 MB / 1.574 GB, free: 6.621 MB / 0.9011 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