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.001572/0.001572, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.002146/0.002147, allocations: 198 kB / 18.07 MB, free: 5.41 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.851/1.851, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001467/0.001467, allocations: 47.92 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1409, allocations: 46.63 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.01006/0.151, allocations: 6.793 MB / 333.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00569/0.1568, allocations: 2.315 MB / 335.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/0.1589, allocations: 39.75 kB / 335.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.1615, allocations: 385.8 kB / 336.1 MB, free: 11.31 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.165, allocations: 0.6219 MB / 336.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.1666, allocations: 247.8 kB / 337 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006136/0.1728, allocations: 3.281 MB / 340.3 MB, free: 7.148 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004339/0.1772, allocations: 2.043 MB / 342.3 MB, free: 5.047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005288/0.1825, allocations: 1.112 MB / 343.4 MB, free: 3.941 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004764/0.1873, allocations: 1.467 MB / 344.9 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001281/0.1886, allocations: 212 kB / 345.1 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.1914, allocations: 311.8 kB / 345.4 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001731/0.1931, allocations: 0.7516 MB / 346.2 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003812/0.1969, allocations: 1.376 MB / 347.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006246/0.2032, allocations: 4.447 MB / 352 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.2033, allocations: 3.938 kB / 352 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.474e-06/0.2033, allocations: 3.984 kB / 352 MB, free: 11.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001857/0.2035, allocations: 4 kB / 352 MB, free: 11.35 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.009028/0.2125, allocations: 2.944 MB / 354.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.882e-05/0.2126, allocations: 12.03 kB / 355 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.2138, allocations: 309.6 kB / 355.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/0.2173, allocations: 1.507 MB / 356.8 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.2174, allocations: 164.4 kB / 356.9 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004065/0.2179, allocations: 212 kB / 357.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007074/0.2249, allocations: 3.178 MB / 360.3 MB, free: 2.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/0.225, allocations: 0 / 360.3 MB, free: 2.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/0.2253, allocations: 88 kB / 360.4 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.2255, allocations: 112.4 kB / 360.5 MB, free: 2.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005991/0.2315, allocations: 2.727 MB / 363.2 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.25, allocations: 8.896 MB / 372.1 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004472/0.2545, allocations: 3.382 MB / 375.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.2567, allocations: 1.327 MB / 376.8 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.257, allocations: 118.4 kB / 377 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.2571, allocations: 59.81 kB / 377 MB, free: 1.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.078e-06/0.2571, allocations: 0 / 377 MB, free: 1.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2541/0.5112, allocations: 5.626 MB / 382.6 MB, free: 50.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.5113, allocations: 69.31 kB / 382.7 MB, free: 50.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003858/0.5152, allocations: 1.495 MB / 384.2 MB, free: 49.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002717/0.5155, allocations: 47.11 kB / 384.2 MB, free: 49.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009992/0.5165, allocations: 0.9382 MB / 385.2 MB, free: 48.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006398/0.5172, allocations: 444.4 kB / 385.6 MB, free: 48.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000679/0.5179, allocations: 223.6 kB / 385.8 MB, free: 48.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.518, allocations: 359.1 kB / 386.2 MB, free: 48.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.5198, allocations: 0.6904 MB / 386.9 MB, free: 47.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/0.5218, allocations: 0.8667 MB / 387.7 MB, free: 47.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/0.525, allocations: 1.611 MB / 389.4 MB, free: 46.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.525, allocations: 5.719 kB / 389.4 MB, free: 46.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005038/0.53, allocations: 2.306 MB / 391.7 MB, free: 45.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.5301, allocations: 7.875 kB / 391.7 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.5302, allocations: 7.766 kB / 391.7 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/0.5329, allocations: 0.8204 MB / 392.5 MB, free: 45.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.534, allocations: 203.7 kB / 392.7 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/0.5467, allocations: 10.52 MB / 403.2 MB, free: 37.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.549, allocations: 57.98 kB / 403.3 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/0.5494, allocations: 40.94 kB / 403.3 MB, free: 37.4 MB / 318.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.001891/0.5513, allocations: 0.8222 MB / 404.1 MB, free: 36.85 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006665/0.552, allocations: 161.3 kB / 404.3 MB, free: 36.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003855/0.5558, allocations: 2.269 MB / 406.6 MB, free: 35.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5559, allocations: 15.94 kB / 406.6 MB, free: 35.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.5559, allocations: 7.719 kB / 406.6 MB, free: 35.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.5559, allocations: 7.969 kB / 406.6 MB, free: 35.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008581/0.5645, allocations: 4.742 MB / 411.3 MB, free: 30.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.5645, allocations: 0 / 411.3 MB, free: 30.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.5651, allocations: 155.8 kB / 411.5 MB, free: 30.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002352/0.5675, allocations: 0.8102 MB / 412.3 MB, free: 29.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.896e-05/0.5676, allocations: 27.98 kB / 412.3 MB, free: 29.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008927/0.5766, allocations: 10.41 MB / 422.7 MB, free: 18.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.5766, allocations: 4.031 kB / 422.7 MB, free: 18.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004418/0.581, allocations: 3.23 MB / 426 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.5821, allocations: 403.1 kB / 426.4 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004563/0.5826, allocations: 28 kB / 426.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008231/0.5834, allocations: 71.94 kB / 426.5 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.5837, allocations: 113.5 kB / 426.6 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.496e-05/0.5838, allocations: 35.98 kB / 426.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001218/0.585, allocations: 1.056 MB / 427.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.585, allocations: 0 / 427.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001929/0.5869, allocations: 0.5183 MB / 428.2 MB, free: 12.95 MB / 318.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.0004618/0.5874, allocations: 215.2 kB / 428.4 MB, free: 12.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00301/0.5904, allocations: 2.385 MB / 430.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5905, allocations: 0 / 430.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00192/0.5924, allocations: 1.637 MB / 432.4 MB, free: 8.621 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.5946, allocations: 486.9 kB / 432.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007282/0.6019, allocations: 5.605 MB / 438.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/0.6033, allocations: 2.043 MB / 440.5 MB, free: 452 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009757/0.6043, allocations: 309.5 kB / 440.8 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.6045, allocations: 91.42 kB / 440.9 MB, free: 44 kB / 318.1 MB Notification: Performance of SimCode: time 1.473e-06/0.6045, allocations: 3.938 kB / 440.9 MB, free: 40 kB / 318.1 MB Notification: Performance of Templates: time 0.06126/0.6658, allocations: 31.06 MB / 472 MB, free: 0.9492 MB / 350.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","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches