Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_9_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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001222/0.001222, allocations: 179.3 kB / 498.1 MB, free: 5.723 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.616/1.616, allocations: 223.2 MB / 0.7948 GB, free: 18.89 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.0009238/0.0009237, allocations: 104.1 kB / 0.9346 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003884, allocations: 7.688 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3697, allocations: 142.4 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2437/0.6134, allocations: 184 MB / 1.403 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.6137, allocations: 103.9 kB / 1.403 GB, free: 1.215 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.6381/1.252, allocations: 23.07 MB / 1.425 GB, free: 177.8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.553e-06/1.252, allocations: 0 / 1.425 GB, free: 177.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.619e-05/1.252, allocations: 6.5 kB / 1.425 GB, free: 177.8 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00126/1.253, allocations: 0.5924 MB / 1.426 GB, free: 177.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.253, allocations: 9.625 kB / 1.426 GB, free: 177.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/1.254, allocations: 123.2 kB / 1.426 GB, free: 177.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/1.255, allocations: 270 kB / 1.426 GB, free: 177 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/1.255, allocations: 18.34 kB / 1.426 GB, free: 177 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/1.255, allocations: 24.5 kB / 1.426 GB, free: 177 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007529/1.256, allocations: 409.9 kB / 1.427 GB, free: 176.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.256, allocations: 5 kB / 1.427 GB, free: 176.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/1.256, allocations: 14.16 kB / 1.427 GB, free: 176.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.637e-05/1.256, allocations: 29.14 kB / 1.427 GB, free: 176.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/1.256, allocations: 359.4 kB / 1.427 GB, free: 176.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/1.259, allocations: 2.044 MB / 1.429 GB, free: 175 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/1.26, allocations: 352.1 kB / 1.429 GB, free: 174.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.689e-05/1.26, allocations: 84.33 kB / 1.429 GB, free: 174.8 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/1.26, allocations: 41.84 kB / 1.429 GB, free: 174.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=22): time 2.825e-06/1.26, allocations: 0 / 1.429 GB, free: 174.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=34): time 0.005493/1.265, allocations: 1.782 MB / 1.431 GB, free: 174.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/1.265, allocations: 82.08 kB / 1.431 GB, free: 174.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/1.265, allocations: 211.8 kB / 1.431 GB, free: 173.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/1.266, allocations: 30.89 kB / 1.431 GB, free: 173.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/1.266, allocations: 180.6 kB / 1.432 GB, free: 173.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/1.266, allocations: 115.7 kB / 1.432 GB, free: 173.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/1.266, allocations: 9.156 kB / 1.432 GB, free: 173.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.514e-05/1.266, allocations: 338.7 kB / 1.432 GB, free: 173.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/1.266, allocations: 208.6 kB / 1.432 GB, free: 173.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/1.267, allocations: 311.5 kB / 1.433 GB, free: 173.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/1.267, allocations: 246.8 kB / 1.433 GB, free: 173.1 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.267, allocations: 1.281 kB / 1.433 GB, free: 173.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001336/1.269, allocations: 0.6863 MB / 1.433 GB, free: 172.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002771/1.269, allocations: 1.134 MB / 1.435 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.269, allocations: 2.375 kB / 1.435 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/1.269, allocations: 148.6 kB / 1.435 GB, free: 171.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/1.27, allocations: 100.3 kB / 1.435 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/1.272, allocations: 3.98 MB / 1.439 GB, free: 167.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/1.273, allocations: 46.14 kB / 1.439 GB, free: 167.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/1.273, allocations: 16.78 kB / 1.439 GB, free: 167.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/1.273, allocations: 3.281 kB / 1.439 GB, free: 167.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001284/1.274, allocations: 0.6359 MB / 1.439 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.274, allocations: 3.031 kB / 1.439 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/1.274, allocations: 143.1 kB / 1.44 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/1.275, allocations: 105 kB / 1.44 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004774/1.275, allocations: 1.106 MB / 1.441 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/1.276, allocations: 40.17 kB / 1.441 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/1.276, allocations: 12.09 kB / 1.441 GB, free: 166.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (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.0003298/1.276, allocations: 249.8 kB / 1.441 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/1.276, allocations: 32.33 kB / 1.441 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/1.278, allocations: 0.6405 MB / 1.442 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/1.278, allocations: 3.656 kB / 1.442 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.278, allocations: 1.312 kB / 1.442 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/1.278, allocations: 9.234 kB / 1.442 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/1.28, allocations: 1.241 MB / 1.443 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.28, allocations: 2.094 kB / 1.443 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/1.281, allocations: 73.58 kB / 1.443 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004689/1.281, allocations: 151.4 kB / 1.443 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/1.281, allocations: 7.688 kB / 1.443 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/1.284, allocations: 3.996 MB / 1.447 GB, free: 161.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/1.284, allocations: 6.766 kB / 1.447 GB, free: 161.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/1.285, allocations: 0.8787 MB / 1.448 GB, free: 160.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/1.285, allocations: 141.4 kB / 1.448 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/1.285, allocations: 8.406 kB / 1.448 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/1.286, allocations: 40.02 kB / 1.448 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/1.286, allocations: 38.56 kB / 1.448 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/1.286, allocations: 13.97 kB / 1.448 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001784/1.286, allocations: 169 kB / 1.448 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.5e-07/1.286, allocations: 0 / 1.448 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001213/1.287, allocations: 178.6 kB / 1.448 GB, free: 160.6 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 (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.0003328/1.288, allocations: 162.9 kB / 1.449 GB, free: 160.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00219/1.29, allocations: 1.22 MB / 1.45 GB, free: 159.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.29, allocations: 0 / 1.45 GB, free: 159.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007616/1.291, allocations: 0.4974 MB / 1.45 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/1.291, allocations: 49.25 kB / 1.45 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/1.292, allocations: 0.8531 MB / 1.451 GB, free: 158.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/1.293, allocations: 0.8126 MB / 1.452 GB, free: 157.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000395/1.293, allocations: 121.3 kB / 1.452 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/1.293, allocations: 28.88 kB / 1.452 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of SimCode: time 5.11e-07/1.293, allocations: 0 / 1.452 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of Templates: time 0.01018/1.303, allocations: 5.413 MB / 1.457 GB, free: 155.2 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches