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.265/2.265, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.00125/0.00125, allocations: 168.9 kB / 496.1 MB, free: 12.87 MB / 410.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.3 MB / 0.7915 GB, free: 5.41 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.001043/0.001043, allocations: 91.97 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.711e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3528, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.44, allocations: 182 MB / 1.396 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/1.44, allocations: 93.81 kB / 1.397 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05071/1.491, allocations: 20.3 MB / 1.416 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.599e-06/1.491, allocations: 3.984 kB / 1.416 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.606e-05/1.491, allocations: 8 kB / 1.416 GB, free: 4.711 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001105/1.492, allocations: 0.5334 MB / 1.417 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/1.492, allocations: 12.03 kB / 1.417 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/1.493, allocations: 103.5 kB / 1.417 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/1.493, allocations: 249.8 kB / 1.417 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/1.493, allocations: 16.36 kB / 1.417 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/1.494, allocations: 23.31 kB / 1.417 GB, free: 3.742 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/1.494, allocations: 358.9 kB / 1.418 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/1.494, allocations: 4 kB / 1.418 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/1.494, allocations: 7.562 kB / 1.418 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.624e-05/1.494, allocations: 27.64 kB / 1.418 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005386/1.495, allocations: 340 kB / 1.418 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/1.497, allocations: 1.717 MB / 1.42 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/1.498, allocations: 327.9 kB / 1.42 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/1.498, allocations: 173.5 kB / 1.42 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/1.498, allocations: 93.09 kB / 1.42 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/1.498, allocations: 45.25 kB / 1.42 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 2.384e-06/1.498, allocations: 0 / 1.42 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.006162/1.504, allocations: 1.715 MB / 1.422 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/1.504, allocations: 88.72 kB / 1.422 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/1.504, allocations: 159 kB / 1.422 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/1.505, allocations: 29.45 kB / 1.422 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/1.505, allocations: 153.7 kB / 1.422 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/1.505, allocations: 120.5 kB / 1.423 GB, free: 15 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/1.505, allocations: 6.25 kB / 1.423 GB, free: 15 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.505, allocations: 340 kB / 1.423 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/1.505, allocations: 215.5 kB / 1.423 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/1.506, allocations: 314.4 kB / 1.423 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/1.506, allocations: 254.3 kB / 1.424 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.506, allocations: 7.969 kB / 1.424 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009018/1.507, allocations: 0.5776 MB / 1.424 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004079/1.507, allocations: 0.8828 MB / 1.425 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.507, allocations: 0 / 1.425 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.507, allocations: 4 kB / 1.425 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/1.508, allocations: 171.8 kB / 1.425 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/1.509, allocations: 7.938 kB / 1.425 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/1.509, allocations: 50.06 kB / 1.425 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/1.509, allocations: 19.61 kB / 1.425 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.509, allocations: 4 kB / 1.425 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008106/1.51, allocations: 0.5132 MB / 1.426 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.51, allocations: 0 / 1.426 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/1.51, allocations: 8 kB / 1.426 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009494/1.511, allocations: 171.3 kB / 1.426 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/1.511, allocations: 8 kB / 1.426 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/1.511, allocations: 47.27 kB / 1.426 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/1.511, allocations: 19.73 kB / 1.426 GB, free: 11.95 MB / 0.8855 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.0001354/1.511, allocations: 119.5 kB / 1.426 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.614e-05/1.511, allocations: 23.72 kB / 1.426 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/1.513, allocations: 0.6154 MB / 1.427 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/1.513, allocations: 4 kB / 1.427 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.513, allocations: 0 / 1.427 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/1.513, allocations: 7.984 kB / 1.427 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/1.515, allocations: 1.3 MB / 1.428 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/1.515, allocations: 4 kB / 1.428 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/1.515, allocations: 124 kB / 1.428 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/1.515, allocations: 11.94 kB / 1.428 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/1.515, allocations: 7.938 kB / 1.428 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/1.515, allocations: 4 kB / 1.428 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.515, allocations: 4 kB / 1.428 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/1.516, allocations: 0.7541 MB / 1.429 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/1.516, allocations: 143.3 kB / 1.429 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/1.516, allocations: 7.5 kB / 1.429 GB, free: 9.254 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/1.517, allocations: 42.89 kB / 1.429 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/1.517, allocations: 34.91 kB / 1.429 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/1.517, allocations: 12 kB / 1.429 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001283/1.517, allocations: 148 kB / 1.429 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/1.517, allocations: 3.938 kB / 1.429 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000688/1.518, allocations: 166.3 kB / 1.429 GB, free: 8.898 MB / 0.8855 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.0002954/1.518, allocations: 154.2 kB / 1.43 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.519, allocations: 0.7663 MB / 1.43 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.519, allocations: 1.125 kB / 1.43 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/1.519, allocations: 226.7 kB / 1.431 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/1.52, allocations: 41.59 kB / 1.431 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/1.521, allocations: 0.5573 MB / 1.431 GB, free: 7.543 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/1.521, allocations: 0.7872 MB / 1.432 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005691/1.522, allocations: 186.8 kB / 1.432 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/1.522, allocations: 31.42 kB / 1.432 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/1.522, allocations: 0 / 1.432 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of Templates: time 0.009214/1.531, allocations: 4.521 MB / 1.437 GB, free: 2.047 MB / 0.8855 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