Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.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.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_9_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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001058/0.001058, allocations: 184.4 kB / 487.4 MB, free: 5.02 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.581/1.581, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008913/0.0008914, allocations: 91.91 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.306e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3521, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.953/1.305, allocations: 191.3 MB / 1.393 GB, free: 13.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/1.305, allocations: 94.34 kB / 1.393 GB, free: 13.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1172/1.423, allocations: 49.39 MB / 1.441 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.593e-06/1.423, allocations: 0 / 1.441 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.773e-05/1.423, allocations: 20 kB / 1.441 GB, free: 7.27 MB / 0.8542 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.003093/1.426, allocations: 0.9116 MB / 1.442 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/1.426, allocations: 8.031 kB / 1.442 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01299/1.439, allocations: 1.546 MB / 1.444 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/1.441, allocations: 0.5583 MB / 1.444 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.184e-05/1.441, allocations: 16 kB / 1.444 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005206/1.442, allocations: 39 kB / 1.444 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003628/1.445, allocations: 1.233 MB / 1.445 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/1.449, allocations: 1.262 MB / 1.447 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/1.449, allocations: 7.891 kB / 1.447 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002251/1.449, allocations: 7.938 kB / 1.447 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003503/1.45, allocations: 100.6 kB / 1.447 GB, free: 2.238 MB / 0.8542 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.01291/1.462, allocations: 6.267 MB / 1.453 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/1.465, allocations: 0.9911 MB / 1.454 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/1.466, allocations: 0.5382 MB / 1.454 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003623/1.469, allocations: 2.213 MB / 1.456 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/1.47, allocations: 41.75 kB / 1.456 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 4.839e-06/1.47, allocations: 3.938 kB / 1.457 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.012/1.482, allocations: 3.61 MB / 1.46 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/1.482, allocations: 199.6 kB / 1.46 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/1.483, allocations: 434.4 kB / 1.461 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/1.483, allocations: 25.7 kB / 1.461 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/1.483, allocations: 387.1 kB / 1.461 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000464/1.484, allocations: 318.2 kB / 1.461 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/1.484, allocations: 3.938 kB / 1.461 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002412/1.484, allocations: 374.6 kB / 1.462 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/1.485, allocations: 0.6211 MB / 1.462 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/1.487, allocations: 0.8893 MB / 1.463 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/1.489, allocations: 0.8466 MB / 1.464 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/1.489, allocations: 4 kB / 1.464 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.007727/1.497, allocations: 2.42 MB / 1.466 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001621/1.499, allocations: 3.14 MB / 1.469 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/1.499, allocations: 8 kB / 1.469 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003825/1.503, allocations: 0.7316 MB / 1.47 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/1.506, allocations: 461.6 kB / 1.471 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/1.517, allocations: 7.159 MB / 1.478 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/1.52, allocations: 283.5 kB / 1.478 GB, free: 5.949 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003663/1.52, allocations: 59.64 kB / 1.478 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.52, allocations: 5.719 kB / 1.478 GB, free: 5.895 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004028/1.524, allocations: 1.744 MB / 1.48 GB, free: 4.605 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/1.524, allocations: 8 kB / 1.48 GB, free: 4.598 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/1.525, allocations: 208.1 kB / 1.48 GB, free: 4.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/1.527, allocations: 0.5027 MB / 1.48 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/1.531, allocations: 3.809 MB / 1.484 GB, free: 472 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/1.533, allocations: 259.6 kB / 1.484 GB, free: 212 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/1.534, allocations: 59.41 kB / 1.484 GB, free: 164 kB / 0.8855 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.0004586/1.534, allocations: 138.1 kB / 1.484 GB, free: 20 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/1.534, allocations: 79.03 kB / 1.485 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005926/1.54, allocations: 2.284 MB / 1.487 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/1.54, allocations: 12 kB / 1.487 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.026e-05/1.54, allocations: 8 kB / 1.487 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.072e-05/1.54, allocations: 11.92 kB / 1.487 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008215/1.549, allocations: 4.13 MB / 1.491 GB, free: 9.828 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.549, allocations: 8 kB / 1.491 GB, free: 9.82 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.55, allocations: 360 kB / 1.491 GB, free: 9.469 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/1.553, allocations: 0.8542 MB / 1.492 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/1.554, allocations: 23.97 kB / 1.492 GB, free: 8.578 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009678/1.563, allocations: 8.22 MB / 1.5 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.618e-05/1.563, allocations: 11.94 kB / 1.5 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005552/1.569, allocations: 2.728 MB / 1.503 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006103/1.57, allocations: 304.1 kB / 1.503 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/1.57, allocations: 8 kB / 1.503 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/1.572, allocations: 303.4 kB / 1.503 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/1.572, allocations: 91.78 kB / 1.503 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.572, allocations: 39.97 kB / 1.503 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005324/1.573, allocations: 326.9 kB / 1.504 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.8e-07/1.573, allocations: 0 / 1.504 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002334/1.575, allocations: 452 kB / 1.504 GB, free: 11.43 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.000298/1.575, allocations: 134.9 kB / 1.504 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005584/1.581, allocations: 3.153 MB / 1.507 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.581, allocations: 4.062 kB / 1.507 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002061/1.583, allocations: 1.315 MB / 1.509 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/1.584, allocations: 89.88 kB / 1.509 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009606/1.594, allocations: 2.526 MB / 1.511 GB, free: 4.008 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/1.594, allocations: 1.044 MB / 1.512 GB, free: 2.938 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002199/1.597, allocations: 0.5027 MB / 1.513 GB, free: 2.43 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/1.597, allocations: 75.38 kB / 1.513 GB, free: 2.355 MB / 0.9167 GB Notification: Performance of SimCode: time 1.032e-06/1.597, allocations: 0 / 1.513 GB, free: 2.355 MB / 0.9167 GB Notification: Performance of Templates: time 0.0302/1.627, allocations: 17.96 MB / 1.53 GB, free: 464 kB / 0.9323 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches