Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json 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) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 223.1 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001047, allocations: 98.59 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 8 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3507, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4741, allocations: 90.31 MB / 466.1 MB, free: 6.348 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.4744, allocations: 91.89 kB / 466.2 MB, free: 6.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3838/0.8583, allocations: 63.28 MB / 0.5171 GB, free: 88.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.8583, allocations: 0 / 0.5171 GB, free: 88.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001577/0.8585, allocations: 67.72 kB / 0.5171 GB, free: 88.01 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005222/0.8637, allocations: 2.506 MB / 0.5196 GB, free: 86.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.8638, allocations: 9.5 kB / 0.5196 GB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006885/0.8645, allocations: 312.8 kB / 0.5199 GB, free: 86.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/0.8671, allocations: 1.569 MB / 0.5214 GB, free: 86.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.259e-05/0.8672, allocations: 168.6 kB / 0.5216 GB, free: 86.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.8675, allocations: 214.6 kB / 0.5218 GB, free: 86.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004097/0.8716, allocations: 3.104 MB / 0.5248 GB, free: 84.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.8717, allocations: 0 / 0.5248 GB, free: 84.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/0.8719, allocations: 99.55 kB / 0.5249 GB, free: 84.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.872, allocations: 117.8 kB / 0.525 GB, free: 84.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00382/0.8758, allocations: 2.537 MB / 0.5275 GB, free: 83.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.8887, allocations: 8.91 MB / 0.5362 GB, free: 78.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.8911, allocations: 3.356 MB / 0.5395 GB, free: 74.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002763/0.8915, allocations: 134.4 kB / 0.5396 GB, free: 74.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.8915, allocations: 55.81 kB / 0.5397 GB, free: 74.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.978e-06/0.8915, allocations: 0 / 0.5397 GB, free: 74.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.009243/0.9007, allocations: 5.683 MB / 0.5452 GB, free: 68.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.9008, allocations: 72.66 kB / 0.5453 GB, free: 68.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.9027, allocations: 1.339 MB / 0.5466 GB, free: 67.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.657e-05/0.9028, allocations: 45.7 kB / 0.5466 GB, free: 66.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/0.9033, allocations: 0.9395 MB / 0.5476 GB, free: 66.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.9036, allocations: 444.4 kB / 0.548 GB, free: 65.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.9036, allocations: 24 kB / 0.548 GB, free: 65.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.9037, allocations: 361.9 kB / 0.5484 GB, free: 65.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00084/0.9046, allocations: 0.6935 MB / 0.549 GB, free: 64.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008957/0.9055, allocations: 0.8556 MB / 0.5499 GB, free: 63.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009319/0.9064, allocations: 0.8106 MB / 0.5507 GB, free: 62.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.9065, allocations: 8 kB / 0.5507 GB, free: 62.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00323/0.9097, allocations: 2.306 MB / 0.5529 GB, free: 60.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.9097, allocations: 4 kB / 0.5529 GB, free: 60.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.9098, allocations: 4 kB / 0.5529 GB, free: 60.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.9114, allocations: 0.7092 MB / 0.5536 GB, free: 59.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.9121, allocations: 211.7 kB / 0.5538 GB, free: 59.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009101/0.9212, allocations: 10.7 MB / 0.5643 GB, free: 48.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.9228, allocations: 55.95 kB / 0.5643 GB, free: 48.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.923, allocations: 47.83 kB / 0.5644 GB, free: 48.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001747/0.9247, allocations: 0.8103 MB / 0.5652 GB, free: 47.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.9251, allocations: 166.1 kB / 0.5653 GB, free: 47.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/0.9281, allocations: 2.195 MB / 0.5675 GB, free: 45.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.9282, allocations: 15.66 kB / 0.5675 GB, free: 45.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.9282, allocations: 4 kB / 0.5675 GB, free: 45.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.9282, allocations: 7.969 kB / 0.5675 GB, free: 45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006713/0.9349, allocations: 4.736 MB / 0.5721 GB, free: 40.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.935, allocations: 0 / 0.5721 GB, free: 40.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/0.9356, allocations: 163.8 kB / 0.5723 GB, free: 40.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/0.9372, allocations: 0.6939 MB / 0.573 GB, free: 39.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-05/0.9373, allocations: 31.98 kB / 0.573 GB, free: 39.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009477/0.9467, allocations: 10.61 MB / 0.5833 GB, free: 28.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.9468, allocations: 7.891 kB / 0.5834 GB, free: 28.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004612/0.9514, allocations: 3.248 MB / 0.5865 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/0.9529, allocations: 407.1 kB / 0.5869 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004774/0.9534, allocations: 35.98 kB / 0.5869 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.9546, allocations: 73.44 kB / 0.587 GB, free: 24.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/0.9549, allocations: 113.1 kB / 0.5871 GB, free: 24.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.747e-05/0.955, allocations: 39.66 kB / 0.5872 GB, free: 24.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001711/0.9568, allocations: 1.052 MB / 0.5882 GB, free: 23.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.9568, allocations: 3.938 kB / 0.5882 GB, free: 23.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002358/0.9591, allocations: 0.5273 MB / 0.5887 GB, free: 22.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000454/0.9596, allocations: 191.4 kB / 0.5889 GB, free: 22.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.963, allocations: 2.428 MB / 0.5913 GB, free: 19.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.963, allocations: 0 / 0.5913 GB, free: 19.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002092/0.9651, allocations: 1.625 MB / 0.5928 GB, free: 18.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.9673, allocations: 474.1 kB / 0.5933 GB, free: 17.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008911/0.9763, allocations: 5.447 MB / 0.5986 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001926/0.9782, allocations: 2.078 MB / 0.6006 GB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001184/0.9794, allocations: 305.4 kB / 0.6009 GB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.9797, allocations: 91.44 kB / 0.601 GB, free: 9.848 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.9797, allocations: 4 kB / 0.601 GB, free: 9.844 MB / 378.7 MB Notification: Performance of Templates: time 0.05129/1.031, allocations: 30.65 MB / 0.631 GB, free: 11.18 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches