Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.376/2.376, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001362/0.001362, allocations: 185.8 kB / 0.4902 GB, free: 2.25 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.659/1.659, allocations: 223.2 MB / 0.7992 GB, free: 15.65 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.0009957/0.0009957, allocations: 107 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005014, allocations: 11.59 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.375, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.412, allocations: 182 MB / 1.407 GB, free: 71.05 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/1.412, allocations: 99.08 kB / 1.407 GB, free: 71.05 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.05306/1.465, allocations: 20.44 MB / 1.427 GB, free: 69.29 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.452e-06/1.465, allocations: 0 / 1.427 GB, free: 69.29 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.417e-05/1.465, allocations: 9.25 kB / 1.427 GB, free: 69.28 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001189/1.467, allocations: 0.5382 MB / 1.428 GB, free: 68.83 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.467, allocations: 12.06 kB / 1.428 GB, free: 68.82 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008907/1.468, allocations: 106.9 kB / 1.428 GB, free: 68.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/1.468, allocations: 258.6 kB / 1.428 GB, free: 68.59 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/1.468, allocations: 11.44 kB / 1.428 GB, free: 68.59 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/1.468, allocations: 20.88 kB / 1.428 GB, free: 68.59 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/1.469, allocations: 379.7 kB / 1.428 GB, free: 68.48 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/1.469, allocations: 0 / 1.428 GB, free: 68.48 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/1.469, allocations: 15.56 kB / 1.428 GB, free: 68.48 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/1.469, allocations: 22.52 kB / 1.428 GB, free: 68.48 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/1.47, allocations: 376.4 kB / 1.429 GB, free: 68.46 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/1.472, allocations: 1.722 MB / 1.43 GB, free: 67.23 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/1.472, allocations: 353.2 kB / 1.431 GB, free: 67.17 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/1.473, allocations: 89.08 kB / 1.431 GB, free: 67.07 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/1.473, allocations: 40 kB / 1.431 GB, free: 67.03 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/1.473, allocations: 0 / 1.431 GB, free: 67.03 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.007229/1.48, allocations: 1.974 MB / 1.433 GB, free: 66.88 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/1.48, allocations: 81.11 kB / 1.433 GB, free: 66.79 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/1.48, allocations: 170.2 kB / 1.433 GB, free: 66.68 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/1.48, allocations: 31.05 kB / 1.433 GB, free: 66.65 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/1.48, allocations: 145.6 kB / 1.433 GB, free: 66.54 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/1.48, allocations: 127 kB / 1.433 GB, free: 66.45 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/1.48, allocations: 5.406 kB / 1.433 GB, free: 66.45 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.609e-05/1.48, allocations: 338.9 kB / 1.434 GB, free: 66.14 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/1.481, allocations: 252.1 kB / 1.434 GB, free: 66.14 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/1.481, allocations: 348.6 kB / 1.434 GB, free: 66.04 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/1.482, allocations: 300.6 kB / 1.435 GB, free: 66.02 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.482, allocations: 0 / 1.435 GB, free: 66.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00121/1.483, allocations: 0.6549 MB / 1.435 GB, free: 65.96 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001994/1.483, allocations: 0.8714 MB / 1.436 GB, free: 65.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.483, allocations: 2.656 kB / 1.436 GB, free: 65.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/1.484, allocations: 4 kB / 1.436 GB, free: 65.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.485, allocations: 182.4 kB / 1.436 GB, free: 65.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/1.485, allocations: 3.844 kB / 1.436 GB, free: 65.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/1.485, allocations: 44.86 kB / 1.436 GB, free: 65.03 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/1.485, allocations: 17.98 kB / 1.436 GB, free: 65.03 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/1.485, allocations: 7.594 kB / 1.436 GB, free: 65.03 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001107/1.486, allocations: 0.5923 MB / 1.437 GB, free: 65 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/1.486, allocations: 2.594 kB / 1.437 GB, free: 65 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/1.486, allocations: 4.469 kB / 1.437 GB, free: 65 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009735/1.487, allocations: 171.5 kB / 1.437 GB, free: 64.99 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/1.487, allocations: 3.969 kB / 1.437 GB, free: 64.99 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/1.488, allocations: 49.7 kB / 1.437 GB, free: 64.99 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/1.488, allocations: 18.83 kB / 1.437 GB, free: 64.98 MB / 0.9011 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.0002483/1.488, allocations: 245.8 kB / 1.437 GB, free: 64.79 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/1.488, allocations: 21.64 kB / 1.437 GB, free: 64.78 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/1.489, allocations: 0.679 MB / 1.438 GB, free: 64.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.489, allocations: 5.156 kB / 1.438 GB, free: 64.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.489, allocations: 3.422 kB / 1.438 GB, free: 64.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/1.489, allocations: 1.125 kB / 1.438 GB, free: 64.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/1.492, allocations: 1.379 MB / 1.439 GB, free: 64.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.492, allocations: 1.469 kB / 1.439 GB, free: 64.15 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005733/1.492, allocations: 132.1 kB / 1.439 GB, free: 64.13 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/1.492, allocations: 8.797 kB / 1.439 GB, free: 64.13 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/1.492, allocations: 10.25 kB / 1.439 GB, free: 64.13 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/1.492, allocations: 7.141 kB / 1.439 GB, free: 64.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.492, allocations: 3.031 kB / 1.439 GB, free: 64.12 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/1.493, allocations: 0.8294 MB / 1.44 GB, free: 63.69 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/1.494, allocations: 140.3 kB / 1.44 GB, free: 63.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/1.494, allocations: 12.69 kB / 1.44 GB, free: 63.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/1.494, allocations: 45.75 kB / 1.44 GB, free: 63.58 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/1.494, allocations: 33.58 kB / 1.441 GB, free: 63.57 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/1.494, allocations: 10.06 kB / 1.441 GB, free: 63.57 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001142/1.494, allocations: 149.7 kB / 1.441 GB, free: 63.49 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.3e-07/1.494, allocations: 0 / 1.441 GB, free: 63.49 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007627/1.495, allocations: 166 kB / 1.441 GB, free: 63.48 MB / 0.9011 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.0002687/1.495, allocations: 160 kB / 1.441 GB, free: 63.36 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001546/1.497, allocations: 0.8653 MB / 1.442 GB, free: 63.34 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.497, allocations: 5.031 kB / 1.442 GB, free: 63.33 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004946/1.497, allocations: 262.9 kB / 1.442 GB, free: 63.32 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/1.498, allocations: 41.92 kB / 1.442 GB, free: 63.31 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/1.499, allocations: 0.8212 MB / 1.443 GB, free: 62.92 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/1.499, allocations: 0.7939 MB / 1.444 GB, free: 62.22 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004855/1.5, allocations: 166.3 kB / 1.444 GB, free: 62.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/1.5, allocations: 32.75 kB / 1.444 GB, free: 62.19 MB / 0.9011 GB Notification: Performance of SimCode: time 6.51e-07/1.5, allocations: 0 / 1.444 GB, free: 62.19 MB / 0.9011 GB Notification: Performance of Templates: time 0.007004/1.507, allocations: 4.323 MB / 1.448 GB, free: 61.95 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches