Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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 4.0.0+maint.om/package.mo", uses=false) 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 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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 110.3 kB / 17.06 MB, free: 6 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.001021/0.001021, allocations: 198.8 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 43.94 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2662, allocations: 49.44 MB / 400.8 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01156/0.2778, allocations: 10.71 MB / 411.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006767/0.2846, allocations: 3.189 MB / 414.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.2868, allocations: 87.62 kB / 414.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.2893, allocations: 0.7138 MB / 415.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003959/0.2933, allocations: 1.177 MB / 416.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.2947, allocations: 463.4 kB / 417.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006465/0.3012, allocations: 5.139 MB / 422.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006595/0.3078, allocations: 4.783 MB / 427 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004294/0.3121, allocations: 2.398 MB / 429.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00442/0.3166, allocations: 2.771 MB / 432.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001785/0.3184, allocations: 0.6211 MB / 432.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.3205, allocations: 0.703 MB / 433.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002143/0.3227, allocations: 1.632 MB / 435.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004948/0.3276, allocations: 2.773 MB / 437.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007787/0.3354, allocations: 8.405 MB / 446.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3355, allocations: 0 / 446.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3355, allocations: 0 / 446.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001937/0.3357, allocations: 0 / 446.3 MB, free: 11.11 MB / 366.1 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.009797/0.3455, allocations: 5.111 MB / 451.4 MB, free: 5.926 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3455, allocations: 12.03 kB / 451.4 MB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.3468, allocations: 0.5498 MB / 452 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/0.3514, allocations: 2.841 MB / 454.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.3516, allocations: 287.8 kB / 455.1 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005207/0.3521, allocations: 384 kB / 455.5 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009102/0.3612, allocations: 5.809 MB / 461.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.337e-05/0.3613, allocations: 0 / 461.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.3617, allocations: 160 kB / 461.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000175/0.3619, allocations: 212 kB / 461.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00788/0.3698, allocations: 5.024 MB / 466.7 MB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02466/0.3944, allocations: 16.19 MB / 482.9 MB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006232/0.4007, allocations: 6.802 MB / 489.7 MB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003453/0.4042, allocations: 2.615 MB / 492.3 MB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.4045, allocations: 135.1 kB / 492.4 MB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.4046, allocations: 56.56 kB / 492.5 MB, free: 11.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 3.987e-06/0.4046, allocations: 0 / 492.5 MB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02015/0.4247, allocations: 10.7 MB / 0.4914 GB, free: 0.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.4248, allocations: 81.42 kB / 0.4915 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/0.4287, allocations: 2.636 MB / 0.494 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001988/0.429, allocations: 69.7 kB / 0.4941 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.4301, allocations: 1.64 MB / 0.4957 GB, free: 12.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006435/0.4307, allocations: 0.8433 MB / 0.4965 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006261/0.4314, allocations: 412.6 kB / 0.4969 GB, free: 11.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.4315, allocations: 309 kB / 0.4972 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.4334, allocations: 1.336 MB / 0.4985 GB, free: 9.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/0.4355, allocations: 1.651 MB / 0.5001 GB, free: 7.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004103/0.4396, allocations: 3.083 MB / 0.5031 GB, free: 4.527 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.4396, allocations: 4 kB / 0.5031 GB, free: 4.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007165/0.4468, allocations: 4.461 MB / 0.5075 GB, free: 15.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4469, allocations: 8 kB / 0.5075 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.4469, allocations: 12.06 kB / 0.5075 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005033/0.4519, allocations: 1.64 MB / 0.5091 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.4534, allocations: 387.5 kB / 0.5095 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02488/0.4783, allocations: 25.74 MB / 0.5346 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.4807, allocations: 91.92 kB / 0.5347 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/0.481, allocations: 76 kB / 0.5348 GB, free: 2.621 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.00268/0.4837, allocations: 1.419 MB / 0.5362 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007402/0.4845, allocations: 296.5 kB / 0.5364 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2546/0.7391, allocations: 4.382 MB / 0.5407 GB, free: 128.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.7391, allocations: 23.72 kB / 0.5407 GB, free: 128.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.7392, allocations: 9.531 kB / 0.5408 GB, free: 128.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/0.7392, allocations: 11.95 kB / 0.5408 GB, free: 128.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.7514, allocations: 8.772 MB / 0.5493 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.7514, allocations: 0 / 0.5493 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.7525, allocations: 287.3 kB / 0.5496 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004472/0.757, allocations: 1.618 MB / 0.5512 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/0.7573, allocations: 58.95 kB / 0.5512 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.7756, allocations: 25.48 MB / 0.5761 GB, free: 98.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7756, allocations: 4.031 kB / 0.5761 GB, free: 98.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007483/0.7831, allocations: 6.091 MB / 0.5821 GB, free: 92.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.7845, allocations: 0.6757 MB / 0.5827 GB, free: 92.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/0.7848, allocations: 55.98 kB / 0.5828 GB, free: 92.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.786, allocations: 119.9 kB / 0.5829 GB, free: 92.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004642/0.7865, allocations: 217.6 kB / 0.5831 GB, free: 91.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.7866, allocations: 63.98 kB / 0.5832 GB, free: 91.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002099/0.7887, allocations: 1.848 MB / 0.585 GB, free: 89.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7888, allocations: 0 / 0.585 GB, free: 89.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002939/0.7917, allocations: 0.9514 MB / 0.5859 GB, free: 88.98 MB / 462.1 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 (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004883/0.7922, allocations: 260.4 kB / 0.5862 GB, free: 88.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005396/0.7976, allocations: 4.876 MB / 0.5909 GB, free: 83.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7976, allocations: 7.938 kB / 0.5909 GB, free: 83.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003485/0.8011, allocations: 3.352 MB / 0.5942 GB, free: 80.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/0.8044, allocations: 0.9539 MB / 0.5951 GB, free: 79.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.8156, allocations: 8.471 MB / 0.6034 GB, free: 70.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/0.8178, allocations: 3.169 MB / 0.6065 GB, free: 67.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001569/0.8194, allocations: 0.5713 MB / 0.6071 GB, free: 67.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/0.8198, allocations: 167.4 kB / 0.6072 GB, free: 67.01 MB / 462.1 MB Notification: Performance of SimCode: time 7.31e-07/0.8198, allocations: 0 / 0.6072 GB, free: 67.01 MB / 462.1 MB Notification: Performance of Templates: time 0.07638/0.8962, allocations: 60.03 MB / 0.6658 GB, free: 7.699 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches