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.455/1.455, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.0009551/0.0009551, allocations: 178.6 kB / 321.3 MB, free: 14.66 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.503/1.503, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001001/0.001001, allocations: 92.86 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.401e-05, allocations: 4 kB / 0.788 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2348, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8507/1.086, allocations: 166.1 MB / 1.054 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/1.086, allocations: 95.17 kB / 1.054 GB, free: 3.066 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.05044/1.136, allocations: 20.61 MB / 1.074 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.553e-06/1.136, allocations: 0 / 1.074 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.456e-05/1.136, allocations: 8 kB / 1.074 GB, free: 1.941 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.0009285/1.137, allocations: 0.5683 MB / 1.075 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.137, allocations: 16.02 kB / 1.075 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/1.138, allocations: 115.9 kB / 1.075 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/1.139, allocations: 273.4 kB / 1.075 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/1.139, allocations: 11.88 kB / 1.075 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/1.139, allocations: 26.55 kB / 1.075 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005841/1.14, allocations: 387.7 kB / 1.076 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/1.14, allocations: 3.938 kB / 1.076 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/1.14, allocations: 11.5 kB / 1.076 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/1.14, allocations: 24.55 kB / 1.076 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/1.14, allocations: 316.7 kB / 1.076 GB, free: 348 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/1.143, allocations: 2.062 MB / 1.078 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006909/1.143, allocations: 336.9 kB / 1.078 GB, free: 14.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/1.144, allocations: 177.4 kB / 1.078 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/1.144, allocations: 89.28 kB / 1.079 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/1.144, allocations: 38.56 kB / 1.079 GB, free: 13.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 2.054e-06/1.144, allocations: 0 / 1.079 GB, free: 13.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.004588/1.148, allocations: 1.45 MB / 1.08 GB, free: 12.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/1.149, allocations: 85.05 kB / 1.08 GB, free: 12.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/1.149, allocations: 209.8 kB / 1.08 GB, free: 12.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/1.149, allocations: 37.12 kB / 1.08 GB, free: 12.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/1.149, allocations: 178.9 kB / 1.08 GB, free: 12.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/1.149, allocations: 118.3 kB / 1.081 GB, free: 11.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/1.149, allocations: 10.19 kB / 1.081 GB, free: 11.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.149, allocations: 339.8 kB / 1.081 GB, free: 11.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/1.15, allocations: 163.1 kB / 1.081 GB, free: 11.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/1.15, allocations: 273.9 kB / 1.081 GB, free: 11.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/1.15, allocations: 209 kB / 1.082 GB, free: 11.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.15, allocations: 7.938 kB / 1.082 GB, free: 11.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009889/1.151, allocations: 0.5868 MB / 1.082 GB, free: 10.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005306/1.152, allocations: 1.228 MB / 1.083 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.152, allocations: 4 kB / 1.083 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/1.152, allocations: 142 kB / 1.083 GB, free: 9.234 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/1.153, allocations: 98.69 kB / 1.084 GB, free: 9.141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00304/1.156, allocations: 3.946 MB / 1.087 GB, free: 5.094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/1.156, allocations: 42.69 kB / 1.087 GB, free: 5.059 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/1.156, allocations: 15.56 kB / 1.087 GB, free: 5.047 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/1.156, allocations: 4 kB / 1.087 GB, free: 5.043 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009447/1.157, allocations: 0.5565 MB / 1.088 GB, free: 4.629 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.157, allocations: 7.938 kB / 1.088 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/1.158, allocations: 146.6 kB / 1.088 GB, free: 4.492 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/1.158, allocations: 94.94 kB / 1.088 GB, free: 4.402 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006242/1.159, allocations: 1.105 MB / 1.089 GB, free: 3.277 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/1.159, allocations: 42.64 kB / 1.089 GB, free: 3.242 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/1.159, allocations: 15.31 kB / 1.089 GB, free: 3.23 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.0001506/1.159, allocations: 132 kB / 1.089 GB, free: 3.105 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/1.159, allocations: 35.58 kB / 1.09 GB, free: 3.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/1.16, allocations: 0.5482 MB / 1.09 GB, free: 2.668 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.16, allocations: 4 kB / 1.09 GB, free: 2.664 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/1.16, allocations: 4 kB / 1.09 GB, free: 2.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/1.16, allocations: 3.953 kB / 1.09 GB, free: 2.656 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/1.162, allocations: 1.265 MB / 1.091 GB, free: 1.539 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.162, allocations: 8.031 kB / 1.091 GB, free: 1.531 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/1.162, allocations: 63.89 kB / 1.091 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/1.163, allocations: 145.6 kB / 1.092 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/1.163, allocations: 18.58 kB / 1.092 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/1.166, allocations: 3.961 MB / 1.095 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.166, allocations: 0 / 1.095 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000995/1.167, allocations: 0.8139 MB / 1.096 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/1.167, allocations: 140.8 kB / 1.096 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/1.167, allocations: 21.94 kB / 1.096 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/1.167, allocations: 34.03 kB / 1.096 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/1.167, allocations: 27.34 kB / 1.096 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/1.167, allocations: 15.48 kB / 1.096 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001722/1.168, allocations: 171.7 kB / 1.097 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/1.168, allocations: 0 / 1.097 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009972/1.169, allocations: 174 kB / 1.097 GB, free: 11.96 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.0002605/1.169, allocations: 163 kB / 1.097 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001594/1.17, allocations: 1.077 MB / 1.098 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.17, allocations: 4 kB / 1.098 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006085/1.171, allocations: 457.3 kB / 1.098 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/1.172, allocations: 53.36 kB / 1.098 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009654/1.172, allocations: 0.5559 MB / 1.099 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/1.173, allocations: 0.8123 MB / 1.1 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003625/1.173, allocations: 126.9 kB / 1.1 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/1.173, allocations: 27.44 kB / 1.1 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of SimCode: time 2.725e-06/1.173, allocations: 0 / 1.1 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of Templates: time 0.01062/1.184, allocations: 5.735 MB / 1.106 GB, free: 2.832 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