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.234/2.234, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001054/0.001054, allocations: 180.2 kB / 492.3 MB, free: 0.6289 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.61/1.61, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009378/0.0009373, allocations: 101.2 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.787e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2747, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.944/1.219, allocations: 192 MB / 1.4 GB, free: 8.379 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/1.219, allocations: 91.94 kB / 1.4 GB, free: 8.328 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1181/1.337, allocations: 49.58 MB / 1.448 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.154e-06/1.337, allocations: 0 / 1.448 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.773e-05/1.337, allocations: 20 kB / 1.448 GB, free: 14.17 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.002432/1.34, allocations: 0.9105 MB / 1.449 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/1.34, allocations: 11.97 kB / 1.449 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009684/1.349, allocations: 1.555 MB / 1.451 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/1.351, allocations: 0.5481 MB / 1.451 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/1.351, allocations: 45.55 kB / 1.451 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/1.351, allocations: 58.92 kB / 1.451 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/1.353, allocations: 1.346 MB / 1.453 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/1.353, allocations: 11.89 kB / 1.453 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/1.354, allocations: 29.3 kB / 1.453 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002474/1.354, allocations: 98.62 kB / 1.453 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/1.356, allocations: 1.499 MB / 1.454 GB, free: 8.859 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.009272/1.366, allocations: 6.368 MB / 1.461 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/1.367, allocations: 1.012 MB / 1.462 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008361/1.368, allocations: 0.5733 MB / 1.462 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002672/1.371, allocations: 2.228 MB / 1.464 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/1.371, allocations: 54.42 kB / 1.464 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=69): time 2.355e-06/1.371, allocations: 0 / 1.464 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=93): time 0.01311/1.384, allocations: 4.563 MB / 1.469 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.936e-05/1.384, allocations: 199.6 kB / 1.469 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/1.385, allocations: 470.9 kB / 1.469 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.524e-05/1.385, allocations: 44.64 kB / 1.47 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/1.385, allocations: 386.1 kB / 1.47 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/1.386, allocations: 326.6 kB / 1.47 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/1.386, allocations: 22.12 kB / 1.47 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.386, allocations: 383.6 kB / 1.471 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009694/1.387, allocations: 0.6394 MB / 1.471 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/1.388, allocations: 0.9228 MB / 1.472 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/1.389, allocations: 0.7316 MB / 1.473 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/1.389, allocations: 0 / 1.473 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005301/1.395, allocations: 2.47 MB / 1.475 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001282/1.396, allocations: 3.139 MB / 1.478 GB, free: 3.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/1.396, allocations: 8 kB / 1.478 GB, free: 3.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003267/1.399, allocations: 0.9064 MB / 1.479 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/1.401, allocations: 458.7 kB / 1.48 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008474/1.41, allocations: 7.403 MB / 1.487 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/1.412, allocations: 314.1 kB / 1.487 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003395/1.413, allocations: 66.16 kB / 1.487 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/1.413, allocations: 0 / 1.487 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005214/1.418, allocations: 2.184 MB / 1.489 GB, free: 9.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/1.418, allocations: 12 kB / 1.489 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/1.42, allocations: 0.6141 MB / 1.49 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/1.423, allocations: 486.9 kB / 1.49 GB, free: 8.406 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008202/1.431, allocations: 6.677 MB / 1.497 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/1.433, allocations: 295.5 kB / 1.497 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/1.434, allocations: 59.95 kB / 1.497 GB, free: 1.555 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.0004739/1.434, allocations: 172.9 kB / 1.497 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/1.434, allocations: 75.16 kB / 1.498 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005614/1.44, allocations: 2.278 MB / 1.5 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/1.44, allocations: 12 kB / 1.5 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/1.44, allocations: 4 kB / 1.5 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/1.44, allocations: 7.984 kB / 1.5 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008072/1.448, allocations: 4.215 MB / 1.504 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.448, allocations: 4 kB / 1.504 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/1.45, allocations: 363.9 kB / 1.504 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002968/1.453, allocations: 0.8578 MB / 1.505 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/1.453, allocations: 39.91 kB / 1.505 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009685/1.463, allocations: 8.592 MB / 1.513 GB, free: 224 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.463, allocations: 4 kB / 1.513 GB, free: 220 kB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004985/1.468, allocations: 2.685 MB / 1.516 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006818/1.469, allocations: 316.1 kB / 1.516 GB, free: 12.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/1.469, allocations: 24 kB / 1.516 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.471, allocations: 291.5 kB / 1.517 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/1.471, allocations: 87.78 kB / 1.517 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/1.471, allocations: 43.91 kB / 1.517 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004954/1.472, allocations: 357.6 kB / 1.517 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.11e-07/1.472, allocations: 0 / 1.517 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002143/1.474, allocations: 0.5195 MB / 1.518 GB, free: 11.67 MB / 0.9323 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.0002985/1.474, allocations: 155 kB / 1.518 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006721/1.481, allocations: 3.62 MB / 1.521 GB, free: 7.816 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.481, allocations: 4.062 kB / 1.521 GB, free: 7.812 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0023/1.483, allocations: 1.385 MB / 1.523 GB, free: 6.375 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008328/1.484, allocations: 101.2 kB / 1.523 GB, free: 6.281 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008731/1.493, allocations: 2.569 MB / 1.525 GB, free: 3.609 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009205/1.494, allocations: 1.056 MB / 1.526 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002348/1.496, allocations: 0.5022 MB / 1.527 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/1.496, allocations: 83.36 kB / 1.527 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of SimCode: time 1.232e-06/1.496, allocations: 0 / 1.527 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of Templates: time 0.03118/1.528, allocations: 19.3 MB / 1.546 GB, free: 14.68 MB / 0.9636 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