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.399/1.399, allocations: 249.3 MB / 261.9 MB, free: 5.824 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.0009507/0.0009507, allocations: 176.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009191/0.0009189, allocations: 74.56 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.444e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2327, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7988/1.032, allocations: 164.6 MB / 1.053 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.032, allocations: 93.25 kB / 1.053 GB, free: 4.426 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.04705/1.079, allocations: 20.33 MB / 1.072 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.143e-06/1.079, allocations: 3.938 kB / 1.073 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.198e-05/1.079, allocations: 11.98 kB / 1.073 GB, free: 3.535 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.000903/1.08, allocations: 0.5693 MB / 1.073 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.08, allocations: 12.02 kB / 1.073 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009224/1.081, allocations: 123.9 kB / 1.073 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/1.081, allocations: 270.7 kB / 1.073 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/1.081, allocations: 22.38 kB / 1.073 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/1.081, allocations: 22.17 kB / 1.074 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/1.082, allocations: 383 kB / 1.074 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.082, allocations: 3.938 kB / 1.074 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/1.082, allocations: 14.88 kB / 1.074 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-05/1.082, allocations: 27.8 kB / 1.074 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/1.083, allocations: 313.9 kB / 1.074 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/1.085, allocations: 2.062 MB / 1.076 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000687/1.086, allocations: 326.8 kB / 1.077 GB, free: 15.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/1.086, allocations: 185.6 kB / 1.077 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/1.086, allocations: 93.27 kB / 1.077 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/1.086, allocations: 30.75 kB / 1.077 GB, free: 15.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 1.964e-06/1.086, allocations: 0 / 1.077 GB, free: 15.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.004262/1.09, allocations: 1.447 MB / 1.078 GB, free: 14.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/1.09, allocations: 81.11 kB / 1.078 GB, free: 14.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/1.091, allocations: 210.8 kB / 1.079 GB, free: 13.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/1.091, allocations: 29.14 kB / 1.079 GB, free: 13.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/1.091, allocations: 191.1 kB / 1.079 GB, free: 13.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.371e-05/1.091, allocations: 115.7 kB / 1.079 GB, free: 13.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/1.091, allocations: 9.625 kB / 1.079 GB, free: 13.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.091, allocations: 343.8 kB / 1.079 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/1.091, allocations: 165.2 kB / 1.079 GB, free: 13.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/1.092, allocations: 272.8 kB / 1.08 GB, free: 12.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/1.092, allocations: 206 kB / 1.08 GB, free: 12.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.092, allocations: 3.938 kB / 1.08 GB, free: 12.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009176/1.093, allocations: 0.5879 MB / 1.08 GB, free: 12.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004991/1.093, allocations: 1.229 MB / 1.082 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.093, allocations: 4 kB / 1.082 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004752/1.094, allocations: 141.2 kB / 1.082 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/1.094, allocations: 107.2 kB / 1.082 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/1.097, allocations: 3.938 MB / 1.086 GB, free: 6.691 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/1.097, allocations: 47.7 kB / 1.086 GB, free: 6.652 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/1.097, allocations: 15.31 kB / 1.086 GB, free: 6.641 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/1.097, allocations: 5.406 kB / 1.086 GB, free: 6.637 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008816/1.098, allocations: 0.5553 MB / 1.086 GB, free: 6.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.098, allocations: 7.938 kB / 1.086 GB, free: 6.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/1.098, allocations: 137 kB / 1.086 GB, free: 6.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/1.099, allocations: 102.7 kB / 1.087 GB, free: 5.996 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005854/1.099, allocations: 1.105 MB / 1.088 GB, free: 4.871 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/1.1, allocations: 46.92 kB / 1.088 GB, free: 4.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/1.1, allocations: 15.56 kB / 1.088 GB, free: 4.82 MB / 0.698 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.0001268/1.1, allocations: 126.9 kB / 1.088 GB, free: 4.699 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/1.1, allocations: 35.08 kB / 1.088 GB, free: 4.668 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000918/1.101, allocations: 0.5547 MB / 1.088 GB, free: 4.262 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/1.101, allocations: 7.984 kB / 1.088 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/1.101, allocations: 0 / 1.088 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.101, allocations: 3.953 kB / 1.088 GB, free: 4.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/1.103, allocations: 1.261 MB / 1.09 GB, free: 3.133 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.103, allocations: 4 kB / 1.09 GB, free: 3.129 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/1.103, allocations: 67.64 kB / 1.09 GB, free: 3.066 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003884/1.103, allocations: 153.5 kB / 1.09 GB, free: 2.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/1.103, allocations: 19.56 kB / 1.09 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/1.106, allocations: 3.951 MB / 1.094 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.106, allocations: 4 kB / 1.094 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/1.107, allocations: 0.8189 MB / 1.094 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/1.107, allocations: 138 kB / 1.095 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/1.107, allocations: 15.75 kB / 1.095 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/1.107, allocations: 39.47 kB / 1.095 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/1.108, allocations: 27.22 kB / 1.095 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/1.108, allocations: 19.36 kB / 1.095 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001474/1.108, allocations: 160.7 kB / 1.095 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/1.108, allocations: 0 / 1.095 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007291/1.108, allocations: 176.4 kB / 1.095 GB, free: 13.57 MB / 0.7136 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.0002432/1.109, allocations: 166.3 kB / 1.095 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001439/1.11, allocations: 1.075 MB / 1.096 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.11, allocations: 4 kB / 1.096 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000545/1.111, allocations: 454 kB / 1.097 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/1.111, allocations: 57.42 kB / 1.097 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008599/1.112, allocations: 0.5574 MB / 1.097 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/1.112, allocations: 0.8084 MB / 1.098 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003304/1.113, allocations: 118.8 kB / 1.098 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/1.113, allocations: 27.44 kB / 1.098 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of SimCode: time 1.974e-06/1.113, allocations: 0 / 1.098 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of Templates: time 0.009542/1.122, allocations: 5.72 MB / 1.104 GB, free: 4.535 MB / 0.7136 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