Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 179.3 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008373/0.0008372, allocations: 98.19 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 9.188 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2365, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8177/1.054, allocations: 166.2 MB / 1.062 GB, free: 64.53 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/1.055, allocations: 96.86 kB / 1.062 GB, free: 64.53 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43: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.05724/1.112, allocations: 20.77 MB / 1.083 GB, free: 62.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/1.112, allocations: 0 / 1.083 GB, free: 62.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.405e-05/1.112, allocations: 3.906 kB / 1.083 GB, free: 62.58 MB / 0.698 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.001279/1.113, allocations: 0.5992 MB / 1.083 GB, free: 62.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.113, allocations: 7.844 kB / 1.083 GB, free: 62.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/1.114, allocations: 120.9 kB / 1.083 GB, free: 62.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/1.115, allocations: 269 kB / 1.084 GB, free: 61.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/1.115, allocations: 27.03 kB / 1.084 GB, free: 61.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/1.115, allocations: 23.38 kB / 1.084 GB, free: 61.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/1.116, allocations: 414.1 kB / 1.084 GB, free: 61.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.116, allocations: 0 / 1.084 GB, free: 61.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/1.116, allocations: 10.61 kB / 1.084 GB, free: 61.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/1.116, allocations: 28.95 kB / 1.084 GB, free: 61.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005913/1.116, allocations: 353.8 kB / 1.085 GB, free: 61.72 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/1.119, allocations: 2.053 MB / 1.087 GB, free: 60.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/1.12, allocations: 352.6 kB / 1.087 GB, free: 60.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.9e-05/1.12, allocations: 83.78 kB / 1.087 GB, free: 60.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/1.12, allocations: 42.47 kB / 1.087 GB, free: 60.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.915e-06/1.12, allocations: 3.984 kB / 1.087 GB, free: 60.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.004858/1.125, allocations: 1.772 MB / 1.089 GB, free: 59.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/1.125, allocations: 84.95 kB / 1.089 GB, free: 59.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/1.125, allocations: 212.7 kB / 1.089 GB, free: 59.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/1.125, allocations: 29.39 kB / 1.089 GB, free: 59.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/1.125, allocations: 184.2 kB / 1.089 GB, free: 59.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.81e-05/1.125, allocations: 115.1 kB / 1.089 GB, free: 59.31 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/1.125, allocations: 11.22 kB / 1.089 GB, free: 59.31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.551e-05/1.125, allocations: 341.1 kB / 1.09 GB, free: 58.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/1.126, allocations: 206.5 kB / 1.09 GB, free: 58.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/1.126, allocations: 305.7 kB / 1.09 GB, free: 58.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/1.126, allocations: 247.6 kB / 1.09 GB, free: 58.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.126, allocations: 3.969 kB / 1.09 GB, free: 58.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001233/1.128, allocations: 0.6765 MB / 1.091 GB, free: 58.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004176/1.128, allocations: 1.136 MB / 1.092 GB, free: 57.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.128, allocations: 3.906 kB / 1.092 GB, free: 57.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/1.129, allocations: 143.6 kB / 1.092 GB, free: 57.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/1.129, allocations: 98.62 kB / 1.092 GB, free: 57.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/1.132, allocations: 3.975 MB / 1.096 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/1.132, allocations: 37.33 kB / 1.096 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/1.132, allocations: 15.59 kB / 1.096 GB, free: 53.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/1.132, allocations: 12.06 kB / 1.096 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001133/1.133, allocations: 0.632 MB / 1.097 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/1.133, allocations: 3.906 kB / 1.097 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003248/1.133, allocations: 147.3 kB / 1.097 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/1.134, allocations: 97.64 kB / 1.097 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004154/1.134, allocations: 1.112 MB / 1.098 GB, free: 52.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/1.134, allocations: 36.33 kB / 1.098 GB, free: 52.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/1.135, allocations: 19.19 kB / 1.098 GB, free: 52.77 MB / 0.698 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.0002254/1.135, allocations: 256 kB / 1.099 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/1.135, allocations: 31.39 kB / 1.099 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/1.136, allocations: 0.636 MB / 1.099 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.136, allocations: 7.422 kB / 1.099 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/1.136, allocations: 0 / 1.099 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.136, allocations: 0 / 1.099 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/1.138, allocations: 1.239 MB / 1.1 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/1.138, allocations: 3.969 kB / 1.1 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/1.138, allocations: 65.25 kB / 1.101 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000368/1.138, allocations: 148.6 kB / 1.101 GB, free: 51.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/1.138, allocations: 14.73 kB / 1.101 GB, free: 51.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/1.14, allocations: 4.003 MB / 1.105 GB, free: 48.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.14, allocations: 7.375 kB / 1.105 GB, free: 48.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/1.141, allocations: 0.8813 MB / 1.105 GB, free: 47.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/1.142, allocations: 146.6 kB / 1.106 GB, free: 47.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/1.142, allocations: 10.78 kB / 1.106 GB, free: 47.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/1.142, allocations: 36.31 kB / 1.106 GB, free: 47.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/1.142, allocations: 34.22 kB / 1.106 GB, free: 47.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/1.142, allocations: 15.75 kB / 1.106 GB, free: 47.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001338/1.142, allocations: 166.4 kB / 1.106 GB, free: 47.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.8e-07/1.142, allocations: 0 / 1.106 GB, free: 47.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007584/1.143, allocations: 178.6 kB / 1.106 GB, free: 47.71 MB / 0.698 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.0002095/1.143, allocations: 156.3 kB / 1.106 GB, free: 47.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001721/1.145, allocations: 1.216 MB / 1.107 GB, free: 47.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.145, allocations: 0.625 kB / 1.107 GB, free: 47.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005906/1.146, allocations: 0.4932 MB / 1.108 GB, free: 46.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/1.146, allocations: 60.55 kB / 1.108 GB, free: 46.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/1.147, allocations: 0.8553 MB / 1.109 GB, free: 46.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/1.147, allocations: 0.8147 MB / 1.11 GB, free: 45.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003388/1.148, allocations: 119 kB / 1.11 GB, free: 45.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/1.148, allocations: 24.78 kB / 1.11 GB, free: 45.72 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/1.148, allocations: 0 / 1.11 GB, free: 45.72 MB / 0.698 GB Notification: Performance of Templates: time 0.008933/1.157, allocations: 5.425 MB / 1.115 GB, free: 45.41 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches