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.001517/0.001517, allocations: 92.41 kB / 16.93 MB, free: 5.977 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.001687/0.001687, allocations: 184.8 kB / 17.82 MB, free: 5.641 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.863/1.863, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004608/0.0004608, allocations: 8 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1061, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007075/0.1133, allocations: 5.531 MB / 333.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.118, allocations: 2.273 MB / 336.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009366/0.119, allocations: 31.81 kB / 336.2 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009484/0.1199, allocations: 374.1 kB / 336.5 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.1215, allocations: 0.5492 MB / 337.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.122, allocations: 179.7 kB / 337.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.1243, allocations: 1.844 MB / 339.1 MB, free: 9.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.1262, allocations: 1.586 MB / 340.7 MB, free: 7.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.1276, allocations: 0.8954 MB / 341.6 MB, free: 6.762 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.1291, allocations: 1.082 MB / 342.7 MB, free: 5.676 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.1293, allocations: 152 kB / 342.8 MB, free: 5.527 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.1298, allocations: 223.8 kB / 343 MB, free: 5.309 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005633/0.1304, allocations: 0.6309 MB / 343.7 MB, free: 4.676 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.131, allocations: 0.5278 MB / 344.2 MB, free: 4.141 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00321/0.1342, allocations: 3.716 MB / 347.9 MB, free: 424 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1342, allocations: 0 / 347.9 MB, free: 424 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1342, allocations: 0 / 347.9 MB, free: 424 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001008/0.1343, allocations: 0 / 347.9 MB, free: 424 kB / 286.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.005117/0.1395, allocations: 2.535 MB / 350.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1395, allocations: 8.031 kB / 350.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008374/0.1403, allocations: 308.7 kB / 350.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/0.143, allocations: 1.448 MB / 352.2 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.1431, allocations: 168.3 kB / 352.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/0.1434, allocations: 215.9 kB / 352.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005301/0.1487, allocations: 3.147 MB / 355.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.1488, allocations: 7.953 kB / 355.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.149, allocations: 91.98 kB / 355.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.1492, allocations: 108.4 kB / 355.9 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004518/0.1537, allocations: 2.715 MB / 358.6 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.1681, allocations: 8.959 MB / 367.6 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/0.1714, allocations: 3.386 MB / 371 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.1716, allocations: 126.4 kB / 371.1 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.1717, allocations: 51.88 kB / 371.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 6.192e-06/0.1717, allocations: 0 / 371.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01083/0.1826, allocations: 5.708 MB / 376.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.1827, allocations: 64.72 kB / 376.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.1849, allocations: 1.478 MB / 378.4 MB, free: 1.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-05/0.185, allocations: 49.7 kB / 378.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1882/0.3732, allocations: 0.9376 MB / 379.4 MB, free: 50.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000782/0.3741, allocations: 444.3 kB / 379.8 MB, free: 50.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.3742, allocations: 25.44 kB / 379.9 MB, free: 50.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3744, allocations: 356.1 kB / 380.2 MB, free: 50.24 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.3758, allocations: 0.7059 MB / 380.9 MB, free: 50.24 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.3773, allocations: 0.8733 MB / 381.8 MB, free: 50.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.3788, allocations: 0.8287 MB / 382.6 MB, free: 50.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.3789, allocations: 1.375 kB / 382.6 MB, free: 50.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004343/0.3832, allocations: 2.335 MB / 384.9 MB, free: 49.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.3833, allocations: 6.625 kB / 384.9 MB, free: 49.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.3833, allocations: 4.891 kB / 385 MB, free: 49.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002896/0.3862, allocations: 0.8184 MB / 385.8 MB, free: 49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/0.3871, allocations: 207.9 kB / 386 MB, free: 48.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.3982, allocations: 10.72 MB / 396.7 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.3995, allocations: 54.48 kB / 396.8 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/0.3996, allocations: 43.56 kB / 396.8 MB, free: 41.13 MB / 318.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 (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 initialization (104): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001352/0.401, allocations: 0.8104 MB / 397.6 MB, free: 40.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/0.4013, allocations: 164.1 kB / 397.8 MB, free: 40.63 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/0.4049, allocations: 2.31 MB / 400.1 MB, free: 39.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.405, allocations: 13.75 kB / 400.1 MB, free: 39.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.405, allocations: 4.125 kB / 400.1 MB, free: 39.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.405, allocations: 11.97 kB / 400.1 MB, free: 39.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006499/0.4115, allocations: 4.757 MB / 404.9 MB, free: 36.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4115, allocations: 1.062 kB / 404.9 MB, free: 36.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.4122, allocations: 163 kB / 405 MB, free: 36.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002188/0.4144, allocations: 0.8136 MB / 405.8 MB, free: 36.03 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.817e-05/0.4145, allocations: 31.98 kB / 405.9 MB, free: 36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008419/0.4229, allocations: 10.6 MB / 416.5 MB, free: 24.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4229, allocations: 4.031 kB / 416.5 MB, free: 24.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/0.427, allocations: 3.287 MB / 419.8 MB, free: 21.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009013/0.4279, allocations: 407.1 kB / 420.2 MB, free: 21.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.4281, allocations: 28 kB / 420.2 MB, free: 21.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007258/0.4289, allocations: 75.94 kB / 420.3 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.4291, allocations: 117 kB / 420.4 MB, free: 20.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/0.4292, allocations: 39.98 kB / 420.4 MB, free: 20.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001293/0.4305, allocations: 1.048 MB / 421.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4305, allocations: 4 kB / 421.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001798/0.4323, allocations: 0.5078 MB / 422 MB, free: 19.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004193/0.4328, allocations: 184 kB / 422.2 MB, free: 19.12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002987/0.4358, allocations: 2.413 MB / 424.6 MB, free: 16.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4358, allocations: 4.062 kB / 424.6 MB, free: 16.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.4376, allocations: 1.624 MB / 426.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.4392, allocations: 477.9 kB / 426.7 MB, free: 14.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006388/0.4456, allocations: 5.45 MB / 432.1 MB, free: 9.031 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.4469, allocations: 2.082 MB / 434.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008184/0.4477, allocations: 313.4 kB / 434.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.4479, allocations: 99.42 kB / 434.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4479, allocations: 0 / 434.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of Templates: time 0.0461/0.494, allocations: 29.73 MB / 464.3 MB, free: 8.742 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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