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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 104.5 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008191/0.0008193, allocations: 43.92 kB / 350 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2556, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.008147/0.2638, allocations: 10.63 MB / 410.1 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004975/0.2688, allocations: 3.132 MB / 413.2 MB, free: 19.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.27, allocations: 87.62 kB / 413.3 MB, free: 19.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.2714, allocations: 0.6058 MB / 413.9 MB, free: 18.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.2736, allocations: 1.061 MB / 415 MB, free: 17.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.2743, allocations: 415.7 kB / 415.4 MB, free: 17.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003828/0.2781, allocations: 5.916 MB / 421.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003335/0.2815, allocations: 4.019 MB / 425.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/0.2859, allocations: 2.022 MB / 427.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00327/0.2892, allocations: 2.65 MB / 430 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006845/0.2899, allocations: 388 kB / 430.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.2911, allocations: 479.8 kB / 430.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000837/0.2919, allocations: 1.378 MB / 432.2 MB, free: 448 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002543/0.2945, allocations: 2.484 MB / 434.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007154/0.3016, allocations: 8.108 MB / 442.8 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.3017, allocations: 0 / 442.8 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.3017, allocations: 0 / 442.8 MB, free: 5.809 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002636/0.302, allocations: 3.938 kB / 442.8 MB, free: 5.805 MB / 314.7 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.01207/0.3141, allocations: 5.099 MB / 447.9 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.3141, allocations: 12.03 kB / 447.9 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.3156, allocations: 0.5498 MB / 448.5 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005548/0.3211, allocations: 2.748 MB / 451.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.3214, allocations: 295.8 kB / 451.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005913/0.322, allocations: 383.8 kB / 451.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009923/0.3319, allocations: 5.805 MB / 457.7 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.817e-05/0.332, allocations: 7.938 kB / 457.7 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003663/0.3324, allocations: 160 kB / 457.9 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002071/0.3326, allocations: 208 kB / 458.1 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008418/0.341, allocations: 5.02 MB / 463.1 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0289/0.3699, allocations: 16.4 MB / 479.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006853/0.3768, allocations: 6.794 MB / 486.3 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003845/0.3807, allocations: 2.642 MB / 488.9 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/0.3811, allocations: 131.1 kB / 489.1 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.3811, allocations: 72.5 kB / 489.1 MB, free: 6.391 MB / 362.7 MB Notification: Performance of pre-optimization done (n=249): time 4.809e-06/0.3811, allocations: 0 / 489.1 MB, free: 6.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=256): time 0.02076/0.4019, allocations: 10.7 MB / 499.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.402, allocations: 77.42 kB / 499.9 MB, free: 11.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004747/0.4068, allocations: 2.624 MB / 0.4907 GB, free: 8.703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003345/0.4071, allocations: 81.64 kB / 0.4908 GB, free: 8.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.4083, allocations: 1.636 MB / 0.4924 GB, free: 6.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009922/0.4093, allocations: 0.8354 MB / 0.4932 GB, free: 6.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009089/0.4103, allocations: 416.6 kB / 0.4936 GB, free: 5.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.4104, allocations: 305.1 kB / 0.4939 GB, free: 5.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/0.4124, allocations: 1.336 MB / 0.4952 GB, free: 4.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/0.4147, allocations: 1.654 MB / 0.4968 GB, free: 2.309 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2028/0.6175, allocations: 3.078 MB / 0.4998 GB, free: 93.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.6176, allocations: 2.75 kB / 0.4999 GB, free: 93.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00801/0.6256, allocations: 4.462 MB / 0.5042 GB, free: 91.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.6257, allocations: 8.531 kB / 0.5042 GB, free: 91.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.6257, allocations: 5.5 kB / 0.5042 GB, free: 91.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004928/0.6306, allocations: 1.641 MB / 0.5058 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.6323, allocations: 387.1 kB / 0.5062 GB, free: 91.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01784/0.6501, allocations: 23.49 MB / 0.5291 GB, free: 71.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.6521, allocations: 98.8 kB / 0.5292 GB, free: 71.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.6522, allocations: 80.06 kB / 0.5293 GB, free: 71.41 MB / 378.7 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.001739/0.654, allocations: 1.402 MB / 0.5307 GB, free: 70 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000439/0.6544, allocations: 301.7 kB / 0.531 GB, free: 69.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005746/0.6602, allocations: 4.376 MB / 0.5352 GB, free: 65.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.6602, allocations: 27.94 kB / 0.5353 GB, free: 65.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.6602, allocations: 8 kB / 0.5353 GB, free: 65.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.6603, allocations: 15.95 kB / 0.5353 GB, free: 65.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.6719, allocations: 8.874 MB / 0.5439 GB, free: 56.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.6719, allocations: 0 / 0.5439 GB, free: 56.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.673, allocations: 287.6 kB / 0.5442 GB, free: 56.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004458/0.6775, allocations: 1.623 MB / 0.5458 GB, free: 54.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.6777, allocations: 59.92 kB / 0.5459 GB, free: 54.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0171/0.6948, allocations: 23.22 MB / 0.5685 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6948, allocations: 160 / 0.5685 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0544/0.7492, allocations: 47.55 MB / 0.615 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/0.7506, allocations: 0.6809 MB / 0.6156 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/0.751, allocations: 52 kB / 0.6157 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.7523, allocations: 124 kB / 0.6158 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004982/0.7528, allocations: 209.7 kB / 0.616 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.7529, allocations: 71.97 kB / 0.6161 GB, free: 11.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002307/0.7552, allocations: 1.848 MB / 0.6179 GB, free: 9.766 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7552, allocations: 0 / 0.6179 GB, free: 9.766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004052/0.7593, allocations: 1.349 MB / 0.6192 GB, free: 8.422 MB / 410.7 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.0004983/0.7598, allocations: 238.9 kB / 0.6194 GB, free: 8.188 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006336/0.7661, allocations: 4.843 MB / 0.6242 GB, free: 3.207 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7662, allocations: 0 / 0.6242 GB, free: 3.207 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004393/0.7706, allocations: 3.357 MB / 0.6274 GB, free: 15.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004796/0.7754, allocations: 0.9084 MB / 0.6283 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/0.7945, allocations: 13.63 MB / 0.6416 GB, free: 1.059 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005254/0.7998, allocations: 3.283 MB / 0.6448 GB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002221/0.8021, allocations: 0.5986 MB / 0.6454 GB, free: 13.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004776/0.8026, allocations: 171.4 kB / 0.6456 GB, free: 12.97 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.8026, allocations: 0 / 0.6456 GB, free: 12.97 MB / 442.7 MB Notification: Performance of Templates: time 0.2962/1.099, allocations: 70.06 MB / 0.714 GB, free: 93.21 MB / 442.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches