Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.333/2.333, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001098/0.001098, allocations: 184.8 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.618/1.618, 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.00106/0.00106, allocations: 91.88 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.499e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3323, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.442, allocations: 184.8 MB / 1.399 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/1.442, allocations: 92 kB / 1.399 GB, free: 3.703 MB / 0.8542 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:42:5-42:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.05471/1.497, allocations: 22.91 MB / 1.422 GB, free: 400 kB / 0.8698 GB Notification: Performance of FrontEnd: time 4.569e-06/1.497, allocations: 0 / 1.422 GB, free: 400 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.932e-05/1.497, allocations: 11.94 kB / 1.422 GB, free: 388 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000959/1.498, allocations: 0.5675 MB / 1.422 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/1.498, allocations: 12.03 kB / 1.422 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000975/1.499, allocations: 115.9 kB / 1.422 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/1.5, allocations: 276 kB / 1.423 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/1.5, allocations: 17.98 kB / 1.423 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/1.5, allocations: 19.88 kB / 1.423 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/1.5, allocations: 385.9 kB / 1.423 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.5, allocations: 7.938 kB / 1.423 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/1.5, allocations: 14.42 kB / 1.423 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.001e-05/1.5, allocations: 31.78 kB / 1.423 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/1.501, allocations: 313.9 kB / 1.423 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/1.503, allocations: 2.057 MB / 1.425 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/1.504, allocations: 331.1 kB / 1.426 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/1.504, allocations: 192.7 kB / 1.426 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/1.504, allocations: 81.3 kB / 1.426 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/1.504, allocations: 41.67 kB / 1.426 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=22): time 1.844e-06/1.504, allocations: 0 / 1.426 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.004356/1.509, allocations: 1.445 MB / 1.427 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/1.509, allocations: 81.11 kB / 1.427 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/1.509, allocations: 217.6 kB / 1.428 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/1.509, allocations: 33.45 kB / 1.428 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/1.509, allocations: 183.5 kB / 1.428 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.739e-05/1.509, allocations: 122.9 kB / 1.428 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/1.509, allocations: 10.66 kB / 1.428 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.509, allocations: 336.8 kB / 1.428 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/1.51, allocations: 158.8 kB / 1.428 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/1.51, allocations: 274.5 kB / 1.429 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/1.51, allocations: 213.7 kB / 1.429 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.51, allocations: 0 / 1.429 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009584/1.511, allocations: 0.5979 MB / 1.43 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005481/1.512, allocations: 1.227 MB / 1.431 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.512, allocations: 4 kB / 1.431 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005071/1.512, allocations: 139.5 kB / 1.431 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/1.513, allocations: 99.56 kB / 1.431 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/1.516, allocations: 3.932 MB / 1.435 GB, free: 3.535 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/1.516, allocations: 46.8 kB / 1.435 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/1.516, allocations: 18 kB / 1.435 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/1.516, allocations: 4 kB / 1.435 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009022/1.517, allocations: 0.5549 MB / 1.435 GB, free: 3.066 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.517, allocations: 4 kB / 1.435 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/1.517, allocations: 148.3 kB / 1.436 GB, free: 2.934 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/1.518, allocations: 96.03 kB / 1.436 GB, free: 2.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006355/1.518, allocations: 1.105 MB / 1.437 GB, free: 1.715 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/1.519, allocations: 46.83 kB / 1.437 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/1.519, allocations: 15.19 kB / 1.437 GB, free: 1.664 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001294/1.519, allocations: 125.8 kB / 1.437 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/1.519, allocations: 35.56 kB / 1.437 GB, free: 1.512 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009871/1.52, allocations: 0.5557 MB / 1.437 GB, free: 1.102 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/1.52, allocations: 7.953 kB / 1.437 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/1.52, allocations: 0 / 1.437 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/1.52, allocations: 0 / 1.437 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/1.522, allocations: 1.27 MB / 1.439 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.522, allocations: 7.953 kB / 1.439 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/1.522, allocations: 63.89 kB / 1.439 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004138/1.523, allocations: 151 kB / 1.439 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/1.523, allocations: 13.88 kB / 1.439 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002811/1.525, allocations: 3.963 MB / 1.443 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.525, allocations: 8.156 kB / 1.443 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/1.527, allocations: 0.8163 MB / 1.444 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/1.527, allocations: 144.7 kB / 1.444 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/1.527, allocations: 11.98 kB / 1.444 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/1.527, allocations: 35.97 kB / 1.444 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/1.527, allocations: 31.95 kB / 1.444 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/1.527, allocations: 16 kB / 1.444 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001819/1.527, allocations: 161.4 kB / 1.444 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/1.527, allocations: 0 / 1.444 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007655/1.528, allocations: 175.9 kB / 1.444 GB, free: 10.15 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002486/1.528, allocations: 171 kB / 1.444 GB, free: 9.969 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001619/1.53, allocations: 1.074 MB / 1.445 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.53, allocations: 0 / 1.445 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006/1.531, allocations: 457.9 kB / 1.446 GB, free: 8.355 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/1.531, allocations: 62.03 kB / 1.446 GB, free: 8.297 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009358/1.532, allocations: 0.5556 MB / 1.446 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/1.532, allocations: 0.8123 MB / 1.447 GB, free: 6.852 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003594/1.533, allocations: 122.8 kB / 1.447 GB, free: 6.734 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/1.533, allocations: 23.44 kB / 1.447 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of SimCode: time 4.81e-07/1.533, allocations: 0 / 1.447 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of Templates: time 0.01008/1.543, allocations: 5.722 MB / 1.453 GB, free: 1.035 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches