Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.76/2.76, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001527/0.001527, allocations: 169.1 kB / 498.1 MB, free: 5.73 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.651/1.651, allocations: 223.2 MB / 0.7949 GB, free: 17.91 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.001006/0.001006, allocations: 96.33 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000514/0.0005141, allocations: 6.906 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3889, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2237/0.6127, allocations: 182.5 MB / 1.401 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/0.6131, allocations: 103.9 kB / 1.401 GB, free: 11.39 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.06163/0.6747, allocations: 22.78 MB / 1.423 GB, free: 4.355 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6748, allocations: 0 / 1.423 GB, free: 4.355 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.198e-05/0.6748, allocations: 11.98 kB / 1.423 GB, free: 4.344 MB / 0.9167 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.001347/0.6762, allocations: 0.585 MB / 1.424 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.6762, allocations: 8.031 kB / 1.424 GB, free: 3.703 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.6774, allocations: 127.5 kB / 1.424 GB, free: 3.578 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.6779, allocations: 274.5 kB / 1.424 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.678, allocations: 12.44 kB / 1.424 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.678, allocations: 27.98 kB / 1.424 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007761/0.6788, allocations: 404 kB / 1.425 GB, free: 2.809 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.6789, allocations: 0 / 1.425 GB, free: 2.809 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.6789, allocations: 19.92 kB / 1.425 GB, free: 2.789 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/0.679, allocations: 28.48 kB / 1.425 GB, free: 2.762 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000696/0.6797, allocations: 361.9 kB / 1.425 GB, free: 2.402 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.6826, allocations: 2.046 MB / 1.427 GB, free: 168 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.623/1.306, allocations: 352 kB / 1.428 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/1.306, allocations: 95.05 kB / 1.428 GB, free: 189.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/1.306, allocations: 33.91 kB / 1.428 GB, free: 189.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 2.925e-06/1.306, allocations: 0 / 1.428 GB, free: 189.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34): time 0.00563/1.311, allocations: 1.77 MB / 1.429 GB, free: 189.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/1.312, allocations: 82.09 kB / 1.43 GB, free: 189.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/1.312, allocations: 213.3 kB / 1.43 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/1.312, allocations: 32.58 kB / 1.43 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/1.312, allocations: 183.3 kB / 1.43 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/1.312, allocations: 117.1 kB / 1.43 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/1.312, allocations: 10.75 kB / 1.43 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/1.312, allocations: 334.8 kB / 1.43 GB, free: 188.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/1.313, allocations: 205.3 kB / 1.431 GB, free: 188.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/1.313, allocations: 309.9 kB / 1.431 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/1.314, allocations: 244.1 kB / 1.431 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.314, allocations: 2.406 kB / 1.431 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001492/1.315, allocations: 0.6804 MB / 1.432 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002803/1.316, allocations: 1.138 MB / 1.433 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.316, allocations: 10.33 kB / 1.433 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/1.316, allocations: 144.5 kB / 1.433 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/1.317, allocations: 104.2 kB / 1.433 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/1.319, allocations: 3.98 MB / 1.437 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/1.32, allocations: 35.78 kB / 1.437 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/1.32, allocations: 21.27 kB / 1.437 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.32, allocations: 4.188 kB / 1.437 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/1.321, allocations: 0.6221 MB / 1.438 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.321, allocations: 7.875 kB / 1.438 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000406/1.322, allocations: 143.4 kB / 1.438 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/1.322, allocations: 97.7 kB / 1.438 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005204/1.323, allocations: 1.108 MB / 1.439 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/1.323, allocations: 38.58 kB / 1.439 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/1.323, allocations: 19.62 kB / 1.439 GB, free: 182.8 MB / 0.9167 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.0003019/1.323, allocations: 263 kB / 1.439 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.89e-05/1.323, allocations: 26.31 kB / 1.439 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/1.325, allocations: 0.6475 MB / 1.44 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/1.325, allocations: 4.281 kB / 1.44 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.325, allocations: 1.375 kB / 1.44 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.325, allocations: 2.203 kB / 1.44 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/1.327, allocations: 1.23 MB / 1.441 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.327, allocations: 2.922 kB / 1.441 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/1.328, allocations: 68.94 kB / 1.441 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/1.328, allocations: 156.8 kB / 1.441 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/1.328, allocations: 8.812 kB / 1.441 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/1.33, allocations: 4.002 MB / 1.445 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.33, allocations: 2.438 kB / 1.445 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/1.332, allocations: 0.9012 MB / 1.446 GB, free: 178 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/1.332, allocations: 149 kB / 1.446 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/1.332, allocations: 8.656 kB / 1.446 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/1.332, allocations: 39.36 kB / 1.446 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/1.333, allocations: 32.27 kB / 1.446 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/1.333, allocations: 10.75 kB / 1.446 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001834/1.333, allocations: 169.8 kB / 1.447 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/1.333, allocations: 0 / 1.447 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009454/1.334, allocations: 178.5 kB / 1.447 GB, free: 177.8 MB / 0.9167 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.0002574/1.334, allocations: 157.7 kB / 1.447 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00216/1.336, allocations: 1.211 MB / 1.448 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.336, allocations: 5.25 kB / 1.448 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007407/1.337, allocations: 0.4899 MB / 1.449 GB, free: 177 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/1.337, allocations: 51.64 kB / 1.449 GB, free: 177 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/1.339, allocations: 0.8656 MB / 1.449 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/1.339, allocations: 0.8138 MB / 1.45 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004052/1.339, allocations: 120 kB / 1.45 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/1.34, allocations: 24.67 kB / 1.45 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/1.34, allocations: 1.75 kB / 1.45 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.01242/1.352, allocations: 5.434 MB / 1.456 GB, free: 175.6 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches