Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001413, allocations: 178.5 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007115/0.0007116, allocations: 84.98 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003283, allocations: 8 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.222, allocations: 47.57 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005232/0.2273, allocations: 5.971 MB / 381.1 MB, free: 40.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003905/0.2312, allocations: 2.228 MB / 383.3 MB, free: 38.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008004/0.2321, allocations: 36.41 kB / 383.3 MB, free: 38.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008426/0.2329, allocations: 348 kB / 383.7 MB, free: 38.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.2344, allocations: 0.6029 MB / 384.3 MB, free: 38.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.2348, allocations: 173.4 kB / 384.4 MB, free: 38.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002866/0.2377, allocations: 3.014 MB / 387.4 MB, free: 36.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.2396, allocations: 2.023 MB / 389.5 MB, free: 34.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.2414, allocations: 0.9666 MB / 390.4 MB, free: 33.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.243, allocations: 1.249 MB / 391.7 MB, free: 32.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.2432, allocations: 152 kB / 391.8 MB, free: 31.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006311/0.2439, allocations: 251.8 kB / 392.1 MB, free: 31.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004166/0.2443, allocations: 0.6619 MB / 392.7 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.2453, allocations: 1.246 MB / 394 MB, free: 29.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002239/0.2476, allocations: 3.728 MB / 397.7 MB, free: 25.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2476, allocations: 0 / 397.7 MB, free: 25.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.2476, allocations: 0 / 397.7 MB, free: 25.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.03e-05/0.2477, allocations: 4 kB / 397.7 MB, free: 25.96 MB / 298.7 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.004049/0.2518, allocations: 2.507 MB / 400.2 MB, free: 23.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2518, allocations: 8.031 kB / 400.2 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006899/0.2525, allocations: 309.7 kB / 400.5 MB, free: 23.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.2544, allocations: 1.507 MB / 402 MB, free: 21.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.961e-05/0.2545, allocations: 164.4 kB / 402.2 MB, free: 21.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.2548, allocations: 212 kB / 402.4 MB, free: 21.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004302/0.2591, allocations: 3.163 MB / 405.6 MB, free: 17.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/0.2592, allocations: 3.938 kB / 405.6 MB, free: 17.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/0.2594, allocations: 91.98 kB / 405.7 MB, free: 17.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.2595, allocations: 112.4 kB / 405.8 MB, free: 17.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003807/0.2633, allocations: 2.719 MB / 408.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/0.2744, allocations: 8.97 MB / 417.5 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.2768, allocations: 3.378 MB / 420.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.2784, allocations: 1.343 MB / 422.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.2786, allocations: 122.4 kB / 422.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.2787, allocations: 51.81 kB / 422.4 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 3.267e-06/0.2787, allocations: 7.938 kB / 422.4 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.01035/0.289, allocations: 5.667 MB / 428 MB, free: 10.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.2891, allocations: 68.72 kB / 428.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.2915, allocations: 1.482 MB / 429.6 MB, free: 9.195 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.2917, allocations: 49.7 kB / 429.6 MB, free: 9.141 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006479/0.2923, allocations: 0.9448 MB / 430.6 MB, free: 8.184 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.2927, allocations: 441.6 kB / 431 MB, free: 7.746 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.2927, allocations: 24 kB / 431 MB, free: 7.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2929, allocations: 357.9 kB / 431.4 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.294, allocations: 0.6935 MB / 432.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.2953, allocations: 0.8715 MB / 432.9 MB, free: 5.754 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.2977, allocations: 1.605 MB / 434.5 MB, free: 4.098 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.2977, allocations: 4 kB / 434.6 MB, free: 4.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003808/0.3016, allocations: 2.31 MB / 436.9 MB, free: 1.762 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.3016, allocations: 8 kB / 436.9 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.3016, allocations: 4 kB / 436.9 MB, free: 1.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/0.3043, allocations: 0.815 MB / 437.7 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/0.3051, allocations: 207.7 kB / 437.9 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.317, allocations: 10.52 MB / 448.4 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.3182, allocations: 55.91 kB / 448.5 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.3183, allocations: 47.98 kB / 448.5 MB, free: 5.551 MB / 330.7 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 (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.001437/0.3198, allocations: 0.818 MB / 449.3 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.3202, allocations: 162.1 kB / 449.5 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/0.3242, allocations: 2.269 MB / 451.8 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.885e-05/0.3242, allocations: 12 kB / 451.8 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.3242, allocations: 8 kB / 451.8 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.3243, allocations: 3.984 kB / 451.8 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008459/0.3327, allocations: 4.761 MB / 456.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.3328, allocations: 0 / 456.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.3335, allocations: 167.9 kB / 456.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002744/0.3362, allocations: 0.8074 MB / 457.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.3364, allocations: 35.98 kB / 457.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/0.348, allocations: 10.42 MB / 468 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3481, allocations: 0 / 468 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005256/0.3534, allocations: 3.238 MB / 471.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009127/0.3543, allocations: 403.1 kB / 471.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.3546, allocations: 31.98 kB / 471.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008371/0.3555, allocations: 75.94 kB / 471.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002918/0.3558, allocations: 117.1 kB / 471.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.608e-05/0.3559, allocations: 32 kB / 471.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001669/0.3576, allocations: 1.048 MB / 472.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3576, allocations: 0 / 472.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001802/0.3594, allocations: 0.5195 MB / 473.4 MB, free: 11.89 MB / 362.7 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 (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.000494/0.3599, allocations: 199 kB / 473.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003663/0.3636, allocations: 2.401 MB / 476 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3636, allocations: 0 / 476 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002393/0.366, allocations: 1.628 MB / 477.6 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.3684, allocations: 495.3 kB / 478.1 MB, free: 7.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008337/0.3768, allocations: 5.455 MB / 483.6 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/0.3787, allocations: 1.987 MB / 485.6 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/0.3792, allocations: 95.42 kB / 485.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3792, allocations: 0 / 485.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of Templates: time 0.2199/0.5992, allocations: 75.14 MB / 0.5477 GB, free: 55.01 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches