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.267/2.267, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001125/0.001125, allocations: 188.4 kB / 487.4 MB, free: 5.039 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.543/1.543, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009269/0.0009271, allocations: 90.94 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.498e-05/1.5e-05, allocations: 5.188 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 142.3 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.918/1.2, allocations: 180.5 MB / 1.382 GB, free: 17.76 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.2, allocations: 92.06 kB / 1.382 GB, free: 17.74 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04181/1.242, allocations: 20.23 MB / 1.402 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.172e-06/1.242, allocations: 0 / 1.402 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.724e-05/1.242, allocations: 11.47 kB / 1.402 GB, free: 25.31 MB / 0.8386 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.0006874/1.242, allocations: 0.5332 MB / 1.403 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/1.242, allocations: 11.56 kB / 1.403 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007599/1.243, allocations: 93.73 kB / 1.403 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/1.243, allocations: 266.8 kB / 1.403 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/1.243, allocations: 11.62 kB / 1.403 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/1.244, allocations: 11.56 kB / 1.403 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003388/1.244, allocations: 255 kB / 1.403 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/1.244, allocations: 334.9 kB / 1.404 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.244, allocations: 3.984 kB / 1.404 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/1.244, allocations: 4 kB / 1.404 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/1.244, allocations: 30.89 kB / 1.404 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/1.246, allocations: 1.666 MB / 1.405 GB, free: 22.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/1.246, allocations: 313.6 kB / 1.406 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/1.246, allocations: 159.4 kB / 1.406 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/1.247, allocations: 96.72 kB / 1.406 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/1.247, allocations: 38.44 kB / 1.406 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.432e-06/1.247, allocations: 0 / 1.406 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.002509/1.249, allocations: 1.102 MB / 1.407 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/1.249, allocations: 81.11 kB / 1.407 GB, free: 21.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/1.249, allocations: 155.1 kB / 1.407 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/1.249, allocations: 25.7 kB / 1.407 GB, free: 20.92 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/1.249, allocations: 146.7 kB / 1.407 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/1.249, allocations: 117.2 kB / 1.407 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/1.249, allocations: 4 kB / 1.407 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.25, allocations: 333.5 kB / 1.408 GB, free: 20.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/1.25, allocations: 212.5 kB / 1.408 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/1.25, allocations: 290.4 kB / 1.408 GB, free: 20 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/1.251, allocations: 305.9 kB / 1.408 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.251, allocations: 0 / 1.408 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008525/1.251, allocations: 0.5989 MB / 1.409 GB, free: 19.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000317/1.252, allocations: 0.8732 MB / 1.41 GB, free: 18.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.252, allocations: 7.953 kB / 1.41 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/1.252, allocations: 4 kB / 1.41 GB, free: 18.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007873/1.253, allocations: 147.7 kB / 1.41 GB, free: 18.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.253, allocations: 8 kB / 1.41 GB, free: 18.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/1.253, allocations: 43.94 kB / 1.41 GB, free: 18.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/1.253, allocations: 19.05 kB / 1.41 GB, free: 18.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/1.253, allocations: 4 kB / 1.41 GB, free: 18.2 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007145/1.254, allocations: 460.1 kB / 1.411 GB, free: 17.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/1.254, allocations: 0 / 1.411 GB, free: 17.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/1.254, allocations: 8 kB / 1.411 GB, free: 17.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/1.254, allocations: 135.2 kB / 1.411 GB, free: 17.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/1.254, allocations: 11.88 kB / 1.411 GB, free: 17.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/1.255, allocations: 36.08 kB / 1.411 GB, free: 17.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/1.255, allocations: 15.38 kB / 1.411 GB, free: 17.68 MB / 0.8386 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 () * 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.0001263/1.255, allocations: 108.9 kB / 1.411 GB, free: 17.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/1.255, allocations: 23.72 kB / 1.411 GB, free: 17.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009871/1.256, allocations: 0.6269 MB / 1.412 GB, free: 17.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.256, allocations: 4 kB / 1.412 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.256, allocations: 0 / 1.412 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.256, allocations: 0 / 1.412 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/1.258, allocations: 1.272 MB / 1.413 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.258, allocations: 0 / 1.413 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/1.258, allocations: 127.3 kB / 1.413 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/1.258, allocations: 7.984 kB / 1.413 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/1.258, allocations: 3.984 kB / 1.413 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.258, allocations: 4 kB / 1.413 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.258, allocations: 11.94 kB / 1.413 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/1.259, allocations: 0.7621 MB / 1.414 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.259, allocations: 143 kB / 1.414 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/1.259, allocations: 4 kB / 1.414 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/1.259, allocations: 43.44 kB / 1.414 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/1.259, allocations: 27.34 kB / 1.414 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/1.26, allocations: 8 kB / 1.414 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.466e-05/1.26, allocations: 141.3 kB / 1.414 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.26, allocations: 0 / 1.414 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006151/1.26, allocations: 151.4 kB / 1.414 GB, free: 14.64 MB / 0.8386 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 () * 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.0001998/1.26, allocations: 146.9 kB / 1.414 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007629/1.261, allocations: 0.6882 MB / 1.415 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.261, allocations: 0 / 1.415 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/1.261, allocations: 222.3 kB / 1.415 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/1.262, allocations: 33.44 kB / 1.415 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007802/1.263, allocations: 0.5398 MB / 1.416 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/1.263, allocations: 0.7908 MB / 1.417 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005195/1.263, allocations: 171.1 kB / 1.417 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/1.264, allocations: 27.44 kB / 1.417 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.264, allocations: 0 / 1.417 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of Templates: time 0.008126/1.272, allocations: 4.406 MB / 1.421 GB, free: 7.996 MB / 0.8386 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