Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00182/0.00182, allocations: 181.4 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.667/1.667, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.001064/0.001063, allocations: 92.16 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.0002791, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3082, allocations: 47.58 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.42, allocations: 91.9 MB / 467.7 MB, free: 4.754 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.4203, allocations: 91.94 kB / 467.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5257/0.946, allocations: 116.1 MB / 0.5703 GB, free: 44.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.946, allocations: 0 / 0.5703 GB, free: 44.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004916/0.9465, allocations: 111.9 kB / 0.5704 GB, free: 44.23 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01953/0.9661, allocations: 4.253 MB / 0.5745 GB, free: 39.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.9662, allocations: 12.03 kB / 0.5745 GB, free: 39.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003685/0.9699, allocations: 0.557 MB / 0.5751 GB, free: 39.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007815/0.9777, allocations: 2.729 MB / 0.5777 GB, free: 36.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003342/0.9781, allocations: 287.8 kB / 0.578 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/0.9798, allocations: 391.9 kB / 0.5784 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/0.9962, allocations: 5.663 MB / 0.5839 GB, free: 30.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001346/0.9964, allocations: 0 / 0.5839 GB, free: 30.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/0.9978, allocations: 175.9 kB / 0.5841 GB, free: 29.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003218/0.9982, allocations: 211.9 kB / 0.5843 GB, free: 29.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/1.013, allocations: 4.661 MB / 0.5888 GB, free: 24.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04252/1.055, allocations: 16.45 MB / 0.6049 GB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009068/1.064, allocations: 6.772 MB / 0.6115 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005095/1.065, allocations: 159 kB / 0.6117 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/1.065, allocations: 60.56 kB / 0.6117 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=249): time 6.642e-06/1.065, allocations: 0 / 0.6117 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of matching and sorting (n=256): time 0.03396/1.099, allocations: 10.34 MB / 0.6218 GB, free: 6.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/1.099, allocations: 77.42 kB / 0.6219 GB, free: 6.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005775/1.105, allocations: 2.363 MB / 0.6242 GB, free: 3.629 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005801/1.105, allocations: 69.7 kB / 0.6243 GB, free: 3.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001695/1.107, allocations: 1.628 MB / 0.6259 GB, free: 1.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001268/1.108, allocations: 0.851 MB / 0.6267 GB, free: 1.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/1.109, allocations: 52 kB / 0.6267 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002566/1.109, allocations: 398.7 kB / 0.6271 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/1.112, allocations: 1.336 MB / 0.6284 GB, free: 15.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003311/1.115, allocations: 1.632 MB / 0.63 GB, free: 13.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003434/1.119, allocations: 1.565 MB / 0.6315 GB, free: 11.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/1.119, allocations: 4 kB / 0.6315 GB, free: 11.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01123/1.13, allocations: 4.437 MB / 0.6359 GB, free: 7.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/1.13, allocations: 8 kB / 0.6359 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.491e-05/1.13, allocations: 7.984 kB / 0.6359 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005057/1.135, allocations: 1.413 MB / 0.6373 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/1.138, allocations: 391.5 kB / 0.6377 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3103/1.448, allocations: 23.88 MB / 0.661 GB, free: 65.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003199/1.451, allocations: 100 kB / 0.6611 GB, free: 65.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004561/1.452, allocations: 76.56 kB / 0.6611 GB, free: 65.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.003902/1.456, allocations: 1.414 MB / 0.6625 GB, free: 65.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009337/1.457, allocations: 293.6 kB / 0.6628 GB, free: 65.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006494/1.463, allocations: 4.2 MB / 0.6669 GB, free: 65.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/1.463, allocations: 26.31 kB / 0.6669 GB, free: 65.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.463, allocations: 16.36 kB / 0.6669 GB, free: 65.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/1.463, allocations: 15.16 kB / 0.667 GB, free: 65.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/1.479, allocations: 8.92 MB / 0.6757 GB, free: 64.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/1.479, allocations: 0 / 0.6757 GB, free: 64.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.48, allocations: 302.5 kB / 0.676 GB, free: 64.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003291/1.483, allocations: 1.381 MB / 0.6773 GB, free: 64.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003049/1.484, allocations: 62.36 kB / 0.6774 GB, free: 64.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02137/1.505, allocations: 23.64 MB / 0.7004 GB, free: 48.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.505, allocations: 6.719 kB / 0.7005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009503/1.514, allocations: 6.162 MB / 0.7065 GB, free: 46.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/1.517, allocations: 0.6884 MB / 0.7071 GB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006194/1.518, allocations: 53.66 kB / 0.7072 GB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.519, allocations: 134.8 kB / 0.7073 GB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005491/1.52, allocations: 207.9 kB / 0.7075 GB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.52, allocations: 67.08 kB / 0.7076 GB, free: 45.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002857/1.523, allocations: 1.842 MB / 0.7094 GB, free: 44.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.322e-06/1.523, allocations: 0 / 0.7094 GB, free: 44.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004236/1.527, allocations: 0.9814 MB / 0.7103 GB, free: 44.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006198/1.528, allocations: 258.1 kB / 0.7106 GB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007945/1.536, allocations: 4.88 MB / 0.7154 GB, free: 42.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.536, allocations: 0 / 0.7154 GB, free: 42.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006156/1.542, allocations: 3.365 MB / 0.7186 GB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005473/1.547, allocations: 0.8929 MB / 0.7195 GB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/1.568, allocations: 9.958 MB / 0.7292 GB, free: 35.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005346/1.573, allocations: 3.25 MB / 0.7324 GB, free: 33.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002933/1.576, allocations: 0.5618 MB / 0.733 GB, free: 33.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000836/1.577, allocations: 160.9 kB / 0.7331 GB, free: 33.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.213e-06/1.577, allocations: 0 / 0.7331 GB, free: 33.74 MB / 410.7 MB Notification: Performance of Templates: time 0.1011/1.678, allocations: 58.35 MB / 0.7901 GB, free: 2.027 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches