Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.405/1.405, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001184/0.001184, allocations: 182.8 kB / 326.5 MB, free: 2.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 2.073/2.073, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008978/0.0008981, allocations: 102.3 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 9.062 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2616, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7348/0.9965, allocations: 164.7 MB / 1.061 GB, free: 154.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/0.9969, allocations: 96.11 kB / 1.061 GB, free: 154.8 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.05374/1.051, allocations: 20.49 MB / 1.081 GB, free: 149.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/1.051, allocations: 0 / 1.081 GB, free: 149.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.496e-05/1.051, allocations: 9.828 kB / 1.081 GB, free: 149.4 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.00139/1.052, allocations: 0.5847 MB / 1.082 GB, free: 148.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.052, allocations: 13.5 kB / 1.082 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/1.053, allocations: 119.2 kB / 1.082 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/1.054, allocations: 276 kB / 1.082 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/1.054, allocations: 16.62 kB / 1.082 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/1.054, allocations: 23.7 kB / 1.082 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008447/1.055, allocations: 417.2 kB / 1.082 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/1.055, allocations: 4.5 kB / 1.082 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/1.055, allocations: 10.08 kB / 1.082 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.593e-05/1.055, allocations: 28.73 kB / 1.082 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008128/1.056, allocations: 356.1 kB / 1.083 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/1.059, allocations: 2.054 MB / 1.085 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008129/1.059, allocations: 354.4 kB / 1.085 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/1.059, allocations: 91.36 kB / 1.085 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/1.059, allocations: 37.16 kB / 1.085 GB, free: 146.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.956e-06/1.06, allocations: 0 / 1.085 GB, free: 146.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.005064/1.065, allocations: 1.76 MB / 1.087 GB, free: 145.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/1.065, allocations: 86.55 kB / 1.087 GB, free: 145.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/1.065, allocations: 214.1 kB / 1.087 GB, free: 145.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/1.065, allocations: 29.52 kB / 1.087 GB, free: 145.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/1.065, allocations: 188.8 kB / 1.087 GB, free: 145.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.582e-05/1.065, allocations: 111 kB / 1.088 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/1.065, allocations: 10.75 kB / 1.088 GB, free: 145.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/1.065, allocations: 337.8 kB / 1.088 GB, free: 145 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/1.066, allocations: 205.5 kB / 1.088 GB, free: 144.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/1.066, allocations: 310.1 kB / 1.088 GB, free: 144.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/1.066, allocations: 243.8 kB / 1.089 GB, free: 144.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.066, allocations: 0 / 1.089 GB, free: 144.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001122/1.068, allocations: 0.6877 MB / 1.089 GB, free: 143.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000236/1.068, allocations: 1.134 MB / 1.09 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.068, allocations: 4 kB / 1.09 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/1.068, allocations: 151.2 kB / 1.091 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/1.069, allocations: 99.86 kB / 1.091 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/1.071, allocations: 3.981 MB / 1.095 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/1.071, allocations: 39.95 kB / 1.095 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/1.071, allocations: 16 kB / 1.095 GB, free: 138.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/1.071, allocations: 6.969 kB / 1.095 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001036/1.072, allocations: 0.6318 MB / 1.095 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.072, allocations: 7.938 kB / 1.095 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003211/1.073, allocations: 143.4 kB / 1.095 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/1.073, allocations: 99.86 kB / 1.095 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003867/1.073, allocations: 1.109 MB / 1.097 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/1.074, allocations: 39.97 kB / 1.097 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/1.074, allocations: 15.98 kB / 1.097 GB, free: 136 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.0002466/1.074, allocations: 249.6 kB / 1.097 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/1.074, allocations: 27.72 kB / 1.097 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/1.075, allocations: 0.6398 MB / 1.098 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/1.075, allocations: 4 kB / 1.098 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.075, allocations: 0 / 1.098 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.075, allocations: 8 kB / 1.098 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/1.077, allocations: 1.23 MB / 1.099 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.077, allocations: 4 kB / 1.099 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/1.077, allocations: 71.81 kB / 1.099 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003832/1.078, allocations: 159.5 kB / 1.099 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/1.078, allocations: 8 kB / 1.099 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/1.08, allocations: 3.985 MB / 1.103 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/1.08, allocations: 7.938 kB / 1.103 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009982/1.081, allocations: 0.8846 MB / 1.104 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/1.081, allocations: 148.7 kB / 1.104 GB, free: 128 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/1.081, allocations: 8 kB / 1.104 GB, free: 128 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/1.081, allocations: 36.06 kB / 1.104 GB, free: 128 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/1.081, allocations: 39.83 kB / 1.104 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/1.081, allocations: 20 kB / 1.104 GB, free: 127.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001334/1.081, allocations: 168.5 kB / 1.104 GB, free: 127.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/1.081, allocations: 0 / 1.104 GB, free: 127.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007884/1.082, allocations: 175.9 kB / 1.104 GB, free: 127.6 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.0002191/1.082, allocations: 155 kB / 1.104 GB, free: 127.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001753/1.084, allocations: 1.221 MB / 1.106 GB, free: 126.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.084, allocations: 0 / 1.106 GB, free: 126.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006046/1.085, allocations: 0.4981 MB / 1.106 GB, free: 125.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/1.085, allocations: 49.45 kB / 1.106 GB, free: 125.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/1.086, allocations: 0.8574 MB / 1.107 GB, free: 124.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/1.087, allocations: 0.8123 MB / 1.108 GB, free: 123.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003323/1.087, allocations: 118.8 kB / 1.108 GB, free: 123.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/1.087, allocations: 23.44 kB / 1.108 GB, free: 123.7 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/1.087, allocations: 0 / 1.108 GB, free: 123.7 MB / 0.698 GB Notification: Performance of Templates: time 0.008664/1.096, allocations: 5.428 MB / 1.113 GB, free: 118.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches