Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.001382/0.001382, allocations: 187.6 kB / 498.1 MB, free: 5.781 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.824/1.824, allocations: 223.2 MB / 0.7949 GB, free: 17.97 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.001032/0.001032, allocations: 88.34 kB / 0.9346 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004454/0.0004452, allocations: 8.234 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3314, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2382/0.5697, allocations: 181.2 MB / 1.4 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.5701, allocations: 99.88 kB / 1.4 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.05317/0.6233, allocations: 20.42 MB / 1.42 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6233, allocations: 0 / 1.42 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.323e-05/0.6233, allocations: 7.984 kB / 1.42 GB, free: 8.145 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001131/0.6245, allocations: 0.5573 MB / 1.42 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.6245, allocations: 8.031 kB / 1.42 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008942/0.6254, allocations: 107.5 kB / 1.421 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/0.6259, allocations: 253.1 kB / 1.421 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.6259, allocations: 16.44 kB / 1.421 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.626, allocations: 19.94 kB / 1.421 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007227/0.6267, allocations: 382 kB / 1.421 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.6268, allocations: 3.938 kB / 1.421 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.6268, allocations: 4 kB / 1.421 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.6269, allocations: 23.77 kB / 1.421 GB, free: 6.664 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007047/0.6276, allocations: 375.7 kB / 1.422 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.6297, allocations: 1.726 MB / 1.423 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.6304, allocations: 345.2 kB / 1.424 GB, free: 4.07 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.6306, allocations: 93.09 kB / 1.424 GB, free: 3.961 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.6306, allocations: 42.45 kB / 1.424 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/0.6306, allocations: 0 / 1.424 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35): time 0.006927/0.6375, allocations: 1.979 MB / 1.426 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.6376, allocations: 81.11 kB / 1.426 GB, free: 1.828 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.6378, allocations: 162.1 kB / 1.426 GB, free: 1.656 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.6379, allocations: 29.7 kB / 1.426 GB, free: 1.621 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.638, allocations: 156.4 kB / 1.426 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.6381, allocations: 122.2 kB / 1.426 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.6382, allocations: 8 kB / 1.426 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6383, allocations: 334.8 kB / 1.427 GB, free: 1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.6388, allocations: 255.8 kB / 1.427 GB, free: 0.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.6393, allocations: 345.2 kB / 1.427 GB, free: 388 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.6399, allocations: 290.1 kB / 1.427 GB, free: 100 kB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6399, allocations: 0 / 1.427 GB, free: 100 kB / 0.9167 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.7134/1.353, allocations: 0.6517 MB / 1.428 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/1.354, allocations: 0.8775 MB / 1.429 GB, free: 190.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.354, allocations: 2.469 kB / 1.429 GB, free: 190.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/1.354, allocations: 4.375 kB / 1.429 GB, free: 190.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.355, allocations: 170.4 kB / 1.429 GB, free: 190.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/1.355, allocations: 11.7 kB / 1.429 GB, free: 190.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/1.355, allocations: 50.61 kB / 1.429 GB, free: 190.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/1.355, allocations: 16.88 kB / 1.429 GB, free: 190.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/1.355, allocations: 6.531 kB / 1.429 GB, free: 190.7 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001145/1.356, allocations: 0.5873 MB / 1.43 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.356, allocations: 4.5 kB / 1.43 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/1.356, allocations: 5.031 kB / 1.43 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.358, allocations: 171.2 kB / 1.43 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/1.358, allocations: 3.688 kB / 1.43 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/1.358, allocations: 47.66 kB / 1.43 GB, free: 190.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/1.358, allocations: 16.05 kB / 1.43 GB, free: 190.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002625/1.358, allocations: 247.2 kB / 1.43 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/1.358, allocations: 24.56 kB / 1.43 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/1.36, allocations: 0.6843 MB / 1.431 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.36, allocations: 4.312 kB / 1.431 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/1.36, allocations: 5.781 kB / 1.431 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.36, allocations: 1.828 kB / 1.431 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/1.362, allocations: 1.376 MB / 1.432 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.362, allocations: 0.8125 kB / 1.432 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000594/1.363, allocations: 119.5 kB / 1.432 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/1.363, allocations: 9.188 kB / 1.432 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/1.363, allocations: 17.11 kB / 1.432 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/1.363, allocations: 5.828 kB / 1.432 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.363, allocations: 3.594 kB / 1.432 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/1.364, allocations: 0.8238 MB / 1.433 GB, free: 189.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/1.365, allocations: 135.4 kB / 1.433 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/1.365, allocations: 13.14 kB / 1.433 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/1.365, allocations: 44.22 kB / 1.433 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.365, allocations: 27.39 kB / 1.433 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/1.365, allocations: 20.08 kB / 1.433 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001465/1.365, allocations: 144.1 kB / 1.434 GB, free: 189.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.365, allocations: 1 kB / 1.434 GB, free: 189.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008594/1.366, allocations: 166.4 kB / 1.434 GB, free: 189.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002837/1.366, allocations: 154.1 kB / 1.434 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00189/1.368, allocations: 0.87 MB / 1.435 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.368, allocations: 0 / 1.435 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005872/1.369, allocations: 266.5 kB / 1.435 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/1.369, allocations: 34.16 kB / 1.435 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/1.371, allocations: 0.8274 MB / 1.436 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/1.371, allocations: 0.7875 MB / 1.437 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005915/1.372, allocations: 178.9 kB / 1.437 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/1.372, allocations: 32.7 kB / 1.437 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of SimCode: time 8.22e-07/1.372, allocations: 0 / 1.437 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.01067/1.383, allocations: 4.328 MB / 1.441 GB, free: 187.9 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches