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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 106.4 kB / 17.73 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001216, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 55.92 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07781/0.07897, allocations: 46.6 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.1851/0.2641, allocations: 6.818 MB / 382 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004235/0.2683, allocations: 2.334 MB / 384.3 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007401/0.2691, allocations: 43.09 kB / 384.3 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.2702, allocations: 455.8 kB / 384.8 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.2723, allocations: 0.666 MB / 385.4 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.2728, allocations: 284.8 kB / 385.7 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002571/0.2754, allocations: 2.916 MB / 388.6 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003164/0.2786, allocations: 2.446 MB / 391.1 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/0.281, allocations: 1.315 MB / 392.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.2831, allocations: 1.528 MB / 393.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004478/0.2835, allocations: 353.7 kB / 394.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009422/0.2845, allocations: 432.2 kB / 394.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.2852, allocations: 0.8951 MB / 395.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.2866, allocations: 1.522 MB / 397.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004255/0.2909, allocations: 4.615 MB / 401.7 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2909, allocations: 1.125 kB / 401.7 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2909, allocations: 0 / 401.7 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.886e-05/0.291, allocations: 0 / 401.7 MB, free: 0.5469 MB / 318.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.005397/0.2964, allocations: 2.952 MB / 404.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.2964, allocations: 10.31 kB / 404.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007795/0.2972, allocations: 311 kB / 405 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.2995, allocations: 1.516 MB / 406.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.2997, allocations: 168.7 kB / 406.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003151/0.3, allocations: 217.8 kB / 406.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004769/0.3048, allocations: 3.169 MB / 410.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/0.3048, allocations: 4 kB / 410.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/0.3051, allocations: 90.92 kB / 410.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.3052, allocations: 114.8 kB / 410.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004336/0.3095, allocations: 2.723 MB / 413 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/0.3227, allocations: 8.787 MB / 421.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/0.326, allocations: 3.37 MB / 425.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.3279, allocations: 1.319 MB / 426.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.3282, allocations: 130.4 kB / 426.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.3283, allocations: 51.75 kB / 426.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.917e-06/0.3283, allocations: 4 kB / 426.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01114/0.3394, allocations: 5.636 MB / 432.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3395, allocations: 68.66 kB / 432.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.3418, allocations: 1.494 MB / 433.8 MB, free: 4.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.3419, allocations: 49.7 kB / 433.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006422/0.3426, allocations: 0.9408 MB / 434.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/0.3429, allocations: 441.5 kB / 435.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.3433, allocations: 222.9 kB / 435.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3434, allocations: 357.9 kB / 435.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.3445, allocations: 0.6935 MB / 436.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.3457, allocations: 0.8715 MB / 437.4 MB, free: 372 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.3479, allocations: 1.605 MB / 439 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.3479, allocations: 0 / 439 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003795/0.3517, allocations: 2.314 MB / 441.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.3518, allocations: 4 kB / 441.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.3518, allocations: 4 kB / 441.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002543/0.3544, allocations: 0.8228 MB / 442.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/0.3551, allocations: 199.7 kB / 442.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.3667, allocations: 11.51 MB / 453.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.368, allocations: 51.88 kB / 453.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.98e-05/0.3681, allocations: 43.98 kB / 453.9 MB, free: 15.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.001397/0.3695, allocations: 0.8214 MB / 454.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/0.3699, allocations: 162.1 kB / 454.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/0.3739, allocations: 2.277 MB / 457.2 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3739, allocations: 12 kB / 457.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.374, allocations: 4 kB / 457.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.374, allocations: 3.984 kB / 457.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008456/0.3824, allocations: 4.719 MB / 461.9 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.3825, allocations: 0 / 461.9 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/0.3831, allocations: 159.8 kB / 462.1 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002569/0.3857, allocations: 0.8078 MB / 462.9 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.3859, allocations: 27.98 kB / 462.9 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.3992, allocations: 11.38 MB / 474.3 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3992, allocations: 0 / 474.3 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/0.4049, allocations: 3.243 MB / 477.6 MB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.4062, allocations: 407.1 kB / 478 MB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006066/0.4068, allocations: 28 kB / 478 MB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.4079, allocations: 67.84 kB / 478 MB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/0.4082, allocations: 121.1 kB / 478.2 MB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.4084, allocations: 32 kB / 478.2 MB, free: 6.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002033/0.4104, allocations: 1.06 MB / 479.3 MB, free: 5.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4104, allocations: 0 / 479.3 MB, free: 5.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002544/0.413, allocations: 0.5195 MB / 479.8 MB, free: 4.566 MB / 398.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.0005148/0.4135, allocations: 202.5 kB / 480 MB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003905/0.4174, allocations: 2.405 MB / 482.4 MB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4174, allocations: 0 / 482.4 MB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002458/0.4199, allocations: 1.644 MB / 484 MB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.4226, allocations: 0.5053 MB / 484.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00957/0.4322, allocations: 4.614 MB / 489.1 MB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002772/0.435, allocations: 2.043 MB / 491.2 MB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00139/0.4365, allocations: 309.5 kB / 491.5 MB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.437, allocations: 91.44 kB / 491.6 MB, free: 8.562 MB / 414.1 MB Notification: Performance of SimCode: time 1.623e-06/0.437, allocations: 0 / 491.6 MB, free: 8.562 MB / 414.1 MB Notification: Performance of Templates: time 0.05955/0.4965, allocations: 33.05 MB / 0.5123 GB, free: 7.445 MB / 446.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches