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.435/1.435, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 176.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0008274/0.0008272, allocations: 90.48 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.541e-05/1.543e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2197, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8318/1.052, allocations: 166.4 MB / 1.048 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.052, allocations: 94.88 kB / 1.048 GB, free: 5.824 MB / 0.6667 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.04877/1.101, allocations: 20.54 MB / 1.068 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.814e-06/1.101, allocations: 0 / 1.068 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.905e-05/1.101, allocations: 8 kB / 1.068 GB, free: 4.902 MB / 0.6823 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.0009335/1.102, allocations: 0.5686 MB / 1.068 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.102, allocations: 15.97 kB / 1.068 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009501/1.103, allocations: 111.9 kB / 1.069 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/1.103, allocations: 278.9 kB / 1.069 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/1.103, allocations: 8 kB / 1.069 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/1.103, allocations: 12 kB / 1.069 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003962/1.104, allocations: 253.5 kB / 1.069 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/1.104, allocations: 358.1 kB / 1.069 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/1.104, allocations: 7.938 kB / 1.069 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/1.104, allocations: 7.984 kB / 1.069 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/1.104, allocations: 31.91 kB / 1.069 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/1.106, allocations: 1.999 MB / 1.071 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/1.107, allocations: 326.4 kB / 1.072 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/1.107, allocations: 167.1 kB / 1.072 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/1.108, allocations: 88.8 kB / 1.072 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/1.108, allocations: 38.73 kB / 1.072 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/1.108, allocations: 3.938 kB / 1.072 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34): time 0.001992/1.11, allocations: 0.8748 MB / 1.073 GB, free: 184 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/1.11, allocations: 81.09 kB / 1.073 GB, free: 84 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/1.11, allocations: 195.5 kB / 1.073 GB, free: 15.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/1.11, allocations: 25.7 kB / 1.073 GB, free: 15.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/1.11, allocations: 181.9 kB / 1.073 GB, free: 15.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.651e-05/1.11, allocations: 117.7 kB / 1.073 GB, free: 15.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/1.11, allocations: 0 / 1.073 GB, free: 15.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.11, allocations: 332 kB / 1.074 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/1.111, allocations: 164.5 kB / 1.074 GB, free: 15.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/1.111, allocations: 261.2 kB / 1.074 GB, free: 14.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/1.111, allocations: 229.9 kB / 1.074 GB, free: 14.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.111, allocations: 3.938 kB / 1.074 GB, free: 14.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009643/1.112, allocations: 0.5658 MB / 1.075 GB, free: 14.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000492/1.113, allocations: 1.234 MB / 1.076 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.113, allocations: 0 / 1.076 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/1.113, allocations: 132.5 kB / 1.076 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/1.113, allocations: 99.75 kB / 1.076 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/1.116, allocations: 3.834 MB / 1.08 GB, free: 8.922 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/1.117, allocations: 35.86 kB / 1.08 GB, free: 8.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/1.117, allocations: 19.47 kB / 1.08 GB, free: 8.871 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/1.117, allocations: 4 kB / 1.08 GB, free: 8.867 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009163/1.118, allocations: 0.5186 MB / 1.081 GB, free: 8.469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/1.118, allocations: 4 kB / 1.081 GB, free: 8.465 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/1.118, allocations: 124.2 kB / 1.081 GB, free: 8.355 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/1.118, allocations: 99.31 kB / 1.081 GB, free: 8.262 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006203/1.119, allocations: 1.114 MB / 1.082 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/1.119, allocations: 32.14 kB / 1.082 GB, free: 7.098 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/1.119, allocations: 24.81 kB / 1.082 GB, free: 7.078 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] 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.0001844/1.119, allocations: 113.5 kB / 1.082 GB, free: 6.961 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/1.119, allocations: 27.62 kB / 1.082 GB, free: 6.934 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009678/1.12, allocations: 0.5314 MB / 1.083 GB, free: 6.531 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.12, allocations: 4 kB / 1.083 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.12, allocations: 3.938 kB / 1.083 GB, free: 6.523 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.12, allocations: 4 kB / 1.083 GB, free: 6.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/1.122, allocations: 1.195 MB / 1.084 GB, free: 5.457 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.122, allocations: 4 kB / 1.084 GB, free: 5.453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/1.123, allocations: 63.89 kB / 1.084 GB, free: 5.391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003542/1.123, allocations: 147.4 kB / 1.084 GB, free: 5.262 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/1.123, allocations: 4 kB / 1.084 GB, free: 5.258 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002752/1.126, allocations: 3.864 MB / 1.088 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/1.126, allocations: 4.031 kB / 1.088 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/1.127, allocations: 0.8116 MB / 1.089 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/1.127, allocations: 139.9 kB / 1.089 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/1.127, allocations: 0 / 1.089 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/1.127, allocations: 31.95 kB / 1.089 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/1.127, allocations: 38.23 kB / 1.089 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/1.127, allocations: 12.03 kB / 1.089 GB, free: 332 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001462/1.128, allocations: 154.4 kB / 1.089 GB, free: 200 kB / 0.698 GB Notification: Performance of sort global known variables: time 2.775e-06/1.128, allocations: 0 / 1.089 GB, free: 200 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007881/1.128, allocations: 163.5 kB / 1.089 GB, free: 40 kB / 0.698 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.0002696/1.129, allocations: 155.1 kB / 1.089 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001355/1.13, allocations: 1.017 MB / 1.09 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.13, allocations: 0.5 kB / 1.09 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005109/1.131, allocations: 437.5 kB / 1.091 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/1.131, allocations: 40.16 kB / 1.091 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/1.132, allocations: 0.5438 MB / 1.091 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/1.132, allocations: 0.8157 MB / 1.092 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003531/1.133, allocations: 123.1 kB / 1.092 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/1.133, allocations: 23.44 kB / 1.092 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.133, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.009577/1.142, allocations: 5.492 MB / 1.098 GB, free: 7.664 MB / 0.7136 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