Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.427/1.427, allocations: 227.7 MB / 247.7 MB, free: 10.38 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001963, allocations: 60.8 kB / 307.9 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09255, allocations: 50.55 MB / 358.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008727/0.1013, allocations: 6.87 MB / 365.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004377/0.1057, allocations: 2.336 MB / 367.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007882/0.1066, allocations: 47.81 kB / 367.7 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.1077, allocations: 453 kB / 368.1 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.1094, allocations: 0.6641 MB / 368.8 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.11, allocations: 279.7 kB / 369.1 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00329/0.1133, allocations: 2.836 MB / 371.9 MB, free: 468 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1418/0.2552, allocations: 2.566 MB / 374.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.2578, allocations: 1.316 MB / 375.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.2602, allocations: 1.533 MB / 377.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006252/0.2608, allocations: 348.9 kB / 377.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.2619, allocations: 443.9 kB / 378.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007312/0.2626, allocations: 0.894 MB / 379 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.2642, allocations: 1.531 MB / 380.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004669/0.2688, allocations: 4.588 MB / 385.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2689, allocations: 0 / 385.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.2689, allocations: 0 / 385.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001415/0.269, allocations: 0 / 385.1 MB, free: 6.895 MB / 302.1 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.006584/0.2756, allocations: 2.974 MB / 388.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2757, allocations: 9.375 kB / 388.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.2768, allocations: 341.4 kB / 388.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.2792, allocations: 1.606 MB / 390 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.875e-05/0.2793, allocations: 163.7 kB / 390.2 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/0.2797, allocations: 216.7 kB / 390.4 MB, free: 3.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00474/0.2844, allocations: 3.185 MB / 393.6 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.259e-05/0.2845, allocations: 6.625 kB / 393.6 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/0.2847, allocations: 87.78 kB / 393.7 MB, free: 1.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.2848, allocations: 109.1 kB / 393.8 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004149/0.2889, allocations: 2.732 MB / 396.5 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/0.3033, allocations: 8.87 MB / 405.4 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.3072, allocations: 3.382 MB / 408.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/0.3094, allocations: 1.33 MB / 410.1 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.3097, allocations: 122.4 kB / 410.2 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.3097, allocations: 47.88 kB / 410.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.136e-06/0.3097, allocations: 0 / 410.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01193/0.3217, allocations: 5.754 MB / 416 MB, free: 14.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.3218, allocations: 64.72 kB / 416.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.3243, allocations: 1.502 MB / 417.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.3244, allocations: 45.7 kB / 417.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008186/0.3253, allocations: 0.9456 MB / 418.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004542/0.3257, allocations: 444.2 kB / 419 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/0.3261, allocations: 218.8 kB / 419.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3263, allocations: 353.9 kB / 419.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.3275, allocations: 0.6974 MB / 420.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.3288, allocations: 0.8588 MB / 421.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/0.3314, allocations: 1.603 MB / 422.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3314, allocations: 4 kB / 422.7 MB, free: 7.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00425/0.3357, allocations: 2.311 MB / 425 MB, free: 5.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3357, allocations: 10.97 kB / 425.1 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3357, allocations: 4 kB / 425.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002814/0.3385, allocations: 0.8263 MB / 425.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008575/0.3394, allocations: 209.9 kB / 426.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.3532, allocations: 11.5 MB / 437.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3544, allocations: 56.02 kB / 437.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.3546, allocations: 40 kB / 437.7 MB, free: 8.488 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001429/0.356, allocations: 0.82 MB / 438.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/0.3564, allocations: 162.1 kB / 438.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004201/0.3606, allocations: 2.275 MB / 440.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.3606, allocations: 12 kB / 440.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3606, allocations: 4 kB / 441 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.3607, allocations: 11.97 kB / 441 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008588/0.3693, allocations: 4.741 MB / 445.7 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.3693, allocations: 0 / 445.7 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007033/0.37, allocations: 155.8 kB / 445.9 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/0.3727, allocations: 0.8155 MB / 446.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-05/0.3729, allocations: 32.27 kB / 446.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.3862, allocations: 11.39 MB / 458.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3862, allocations: 0 / 458.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005415/0.3917, allocations: 3.226 MB / 461.3 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009512/0.3926, allocations: 407 kB / 461.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.3929, allocations: 32.08 kB / 461.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007897/0.3937, allocations: 67.89 kB / 461.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/0.394, allocations: 117.1 kB / 461.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-05/0.3941, allocations: 46.64 kB / 462 MB, free: 15.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001624/0.3957, allocations: 1.056 MB / 463 MB, free: 14.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3957, allocations: 0 / 463 MB, free: 14.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001925/0.3977, allocations: 0.5156 MB / 463.5 MB, free: 14.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005397/0.3982, allocations: 206.6 kB / 463.7 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005147/0.4034, allocations: 2.93 MB / 466.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4034, allocations: 0 / 466.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002516/0.4059, allocations: 1.626 MB / 468.3 MB, free: 9.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.4084, allocations: 0.5078 MB / 468.8 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008297/0.4167, allocations: 4.683 MB / 473.5 MB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001895/0.4186, allocations: 1.991 MB / 475.5 MB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.419, allocations: 103.4 kB / 475.6 MB, free: 1.91 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4191, allocations: 3.375 kB / 475.6 MB, free: 1.91 MB / 382.1 MB Notification: Performance of Templates: time 0.2319/0.6509, allocations: 75.69 MB / 0.5384 GB, free: 148.8 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches