Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.399/2.399, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 191.9 kB / 0.4902 GB, free: 2.262 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.1 MB / 0.7992 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 93.98 kB / 0.9396 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004187, allocations: 8.625 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2765, allocations: 143 MB / 1.229 GB, free: 85.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8767/1.153, allocations: 184.8 MB / 1.41 GB, free: 175.9 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/1.154, allocations: 95.89 kB / 1.41 GB, free: 175.9 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:42:5-42: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.07112/1.225, allocations: 23.07 MB / 1.432 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.064e-06/1.225, allocations: 1.031 kB / 1.432 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.065e-05/1.225, allocations: 5.281 kB / 1.432 GB, free: 171.6 MB / 0.9011 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.001494/1.226, allocations: 0.5902 MB / 1.433 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/1.226, allocations: 8.688 kB / 1.433 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/1.228, allocations: 128.3 kB / 1.433 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/1.228, allocations: 283.1 kB / 1.433 GB, free: 170.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/1.228, allocations: 16.83 kB / 1.433 GB, free: 170.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/1.228, allocations: 17.97 kB / 1.433 GB, free: 170.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008528/1.229, allocations: 410.4 kB / 1.434 GB, free: 170.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/1.229, allocations: 5.219 kB / 1.434 GB, free: 170.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/1.229, allocations: 10.52 kB / 1.434 GB, free: 170.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-05/1.229, allocations: 32.48 kB / 1.434 GB, free: 170.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007828/1.23, allocations: 359.2 kB / 1.434 GB, free: 170.5 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/1.233, allocations: 2.044 MB / 1.436 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008521/1.234, allocations: 363.1 kB / 1.436 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/1.234, allocations: 91.8 kB / 1.437 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/1.234, allocations: 40.66 kB / 1.437 GB, free: 168.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/1.234, allocations: 1.219 kB / 1.437 GB, free: 168.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=34): time 0.005255/1.239, allocations: 1.764 MB / 1.438 GB, free: 168 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/1.239, allocations: 79.89 kB / 1.438 GB, free: 167.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/1.24, allocations: 212.3 kB / 1.439 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/1.24, allocations: 30.8 kB / 1.439 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/1.24, allocations: 192.8 kB / 1.439 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/1.24, allocations: 116.9 kB / 1.439 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/1.24, allocations: 5.938 kB / 1.439 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/1.24, allocations: 336.4 kB / 1.439 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/1.241, allocations: 208.5 kB / 1.439 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/1.241, allocations: 311.4 kB / 1.44 GB, free: 167 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/1.242, allocations: 243.7 kB / 1.44 GB, free: 167 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.242, allocations: 5.031 kB / 1.44 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001521/1.243, allocations: 0.675 MB / 1.441 GB, free: 166.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002602/1.243, allocations: 1.137 MB / 1.442 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.243, allocations: 3.219 kB / 1.442 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006036/1.244, allocations: 152.3 kB / 1.442 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/1.245, allocations: 104.5 kB / 1.442 GB, free: 165.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/1.247, allocations: 3.97 MB / 1.446 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/1.247, allocations: 41.91 kB / 1.446 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/1.247, allocations: 16.22 kB / 1.446 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/1.247, allocations: 5.531 kB / 1.446 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/1.249, allocations: 0.6383 MB / 1.447 GB, free: 161.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.249, allocations: 6.25 kB / 1.447 GB, free: 161.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00039/1.249, allocations: 151.9 kB / 1.447 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/1.25, allocations: 100.3 kB / 1.447 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004496/1.25, allocations: 1.11 MB / 1.448 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/1.25, allocations: 34.44 kB / 1.448 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/1.25, allocations: 16.69 kB / 1.448 GB, free: 160.4 MB / 0.9011 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.0002678/1.251, allocations: 248.2 kB / 1.448 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.609e-05/1.251, allocations: 32.73 kB / 1.448 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/1.252, allocations: 0.6386 MB / 1.449 GB, free: 160 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.252, allocations: 4.406 kB / 1.449 GB, free: 160 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.252, allocations: 5.125 kB / 1.449 GB, free: 160 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/1.252, allocations: 7.938 kB / 1.449 GB, free: 160 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/1.255, allocations: 1.232 MB / 1.45 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.255, allocations: 2.281 kB / 1.45 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/1.255, allocations: 72.83 kB / 1.45 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004307/1.255, allocations: 159.5 kB / 1.45 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/1.255, allocations: 7.656 kB / 1.45 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/1.258, allocations: 3.982 MB / 1.454 GB, free: 155.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.258, allocations: 7.484 kB / 1.454 GB, free: 155.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/1.259, allocations: 0.8911 MB / 1.455 GB, free: 154.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/1.259, allocations: 141.2 kB / 1.455 GB, free: 154.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/1.259, allocations: 12.41 kB / 1.455 GB, free: 154.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/1.26, allocations: 33.69 kB / 1.455 GB, free: 154.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.26, allocations: 36.69 kB / 1.455 GB, free: 154.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/1.26, allocations: 9.438 kB / 1.455 GB, free: 154.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001568/1.26, allocations: 170.2 kB / 1.455 GB, free: 154.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.31e-07/1.26, allocations: 0 / 1.455 GB, free: 154.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009296/1.261, allocations: 178 kB / 1.456 GB, free: 154.2 MB / 0.9011 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.0003131/1.261, allocations: 156.2 kB / 1.456 GB, free: 154.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002096/1.263, allocations: 1.222 MB / 1.457 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.263, allocations: 0.5 kB / 1.457 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009192/1.264, allocations: 0.5017 MB / 1.457 GB, free: 152.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/1.265, allocations: 55.03 kB / 1.457 GB, free: 152.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/1.266, allocations: 0.8599 MB / 1.458 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/1.267, allocations: 0.8177 MB / 1.459 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003535/1.267, allocations: 116.9 kB / 1.459 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/1.267, allocations: 27.3 kB / 1.459 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of SimCode: time 2.1e-07/1.267, allocations: 0 / 1.459 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of Templates: time 0.009622/1.277, allocations: 5.424 MB / 1.465 GB, free: 147.3 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches