Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.775/1.775, allocations: 171.1 MB / 186.1 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003695, allocations: 12 kB / 233.4 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08711/0.08752, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.4604, allocations: 80.74 MB / 352.9 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.4607, allocations: 83.7 kB / 353 MB, free: 8.156 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2783/0.7391, allocations: 63.97 MB / 416.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.7391, allocations: 0 / 416.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002386/0.7394, allocations: 63.88 kB / 417 MB, free: 14.07 MB / 346.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.009073/0.7484, allocations: 2.511 MB / 419.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.7485, allocations: 8.031 kB / 419.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001207/0.7497, allocations: 340.6 kB / 419.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.7511, allocations: 316.7 kB / 420.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004799/0.7559, allocations: 1.576 MB / 421.7 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.7561, allocations: 164.4 kB / 421.9 MB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005826/0.7567, allocations: 212 kB / 422.1 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0084/0.7651, allocations: 3.098 MB / 425.2 MB, free: 5.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.056e-05/0.7652, allocations: 4 kB / 425.2 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003666/0.7656, allocations: 103.9 kB / 425.3 MB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001805/0.7658, allocations: 108.4 kB / 425.4 MB, free: 5.363 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007733/0.7735, allocations: 2.543 MB / 427.9 MB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2532/1.027, allocations: 8.909 MB / 436.9 MB, free: 68.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005185/1.032, allocations: 3.353 MB / 440.2 MB, free: 67.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/1.032, allocations: 139.4 kB / 440.3 MB, free: 67.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/1.033, allocations: 46.31 kB / 440.4 MB, free: 66.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.887e-06/1.033, allocations: 0 / 440.4 MB, free: 66.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.01688/1.049, allocations: 5.694 MB / 446.1 MB, free: 65.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.05, allocations: 74.14 kB / 446.2 MB, free: 65.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/1.053, allocations: 1.342 MB / 447.5 MB, free: 65.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002873/1.053, allocations: 49.02 kB / 447.5 MB, free: 65.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007324/1.054, allocations: 0.9438 MB / 448.5 MB, free: 65.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004642/1.054, allocations: 439.1 kB / 448.9 MB, free: 65.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/1.054, allocations: 27.38 kB / 448.9 MB, free: 65.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/1.054, allocations: 360.2 kB / 449.3 MB, free: 64.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/1.056, allocations: 0.691 MB / 450 MB, free: 64.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/1.058, allocations: 0.8563 MB / 450.8 MB, free: 64.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/1.059, allocations: 0.8123 MB / 451.7 MB, free: 64.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.06, allocations: 3.25 kB / 451.7 MB, free: 64.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005499/1.065, allocations: 2.304 MB / 454 MB, free: 64.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/1.065, allocations: 9.438 kB / 454 MB, free: 64.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/1.065, allocations: 3.531 kB / 454 MB, free: 64.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002734/1.068, allocations: 0.7066 MB / 454.7 MB, free: 64.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/1.069, allocations: 203.7 kB / 454.9 MB, free: 64.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/1.085, allocations: 10.73 MB / 465.6 MB, free: 58.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/1.087, allocations: 53.47 kB / 465.7 MB, free: 58.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/1.087, allocations: 35.94 kB / 465.7 MB, free: 58.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (103): * Single equations (assignments): 99 * 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.001939/1.089, allocations: 0.8235 MB / 466.5 MB, free: 58.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006204/1.09, allocations: 160.7 kB / 466.7 MB, free: 58.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005517/1.095, allocations: 2.189 MB / 468.9 MB, free: 58.51 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/1.095, allocations: 14.06 kB / 468.9 MB, free: 58.51 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.095, allocations: 3.438 kB / 468.9 MB, free: 58.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/1.095, allocations: 7.406 kB / 468.9 MB, free: 58.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/1.107, allocations: 4.757 MB / 473.6 MB, free: 56.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.107, allocations: 0 / 473.6 MB, free: 56.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.108, allocations: 162.5 kB / 473.8 MB, free: 56.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002677/1.111, allocations: 0.6914 MB / 474.5 MB, free: 56.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/1.111, allocations: 30.33 kB / 474.5 MB, free: 56.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/1.127, allocations: 10.61 MB / 485.1 MB, free: 48.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.127, allocations: 3.828 kB / 485.1 MB, free: 48.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007122/1.134, allocations: 3.253 MB / 488.4 MB, free: 47.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/1.135, allocations: 411.2 kB / 488.8 MB, free: 47.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003842/1.136, allocations: 30.66 kB / 488.8 MB, free: 47.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/1.137, allocations: 71.44 kB / 488.9 MB, free: 47.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004405/1.138, allocations: 116.9 kB / 489 MB, free: 47.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.138, allocations: 38.86 kB / 489.1 MB, free: 47 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002218/1.14, allocations: 1.057 MB / 490.1 MB, free: 46.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.14, allocations: 6.797 kB / 490.1 MB, free: 46.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002713/1.143, allocations: 0.5293 MB / 490.6 MB, free: 46.54 MB / 346.7 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.007713/1.15, allocations: 4.056 MB / 494.7 MB, free: 44.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005341/1.156, allocations: 2.419 MB / 497.1 MB, free: 43.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.156, allocations: 0 / 497.1 MB, free: 43.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003603/1.159, allocations: 1.627 MB / 498.7 MB, free: 42.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003575/1.163, allocations: 475.8 kB / 499.2 MB, free: 42.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03286/1.196, allocations: 15.72 MB / 0.5029 GB, free: 33.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/1.198, allocations: 2.085 MB / 0.5049 GB, free: 31.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001682/1.2, allocations: 311.5 kB / 0.5052 GB, free: 31.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/1.201, allocations: 0.7807 MB / 0.506 GB, free: 30.46 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/1.201, allocations: 0 / 0.506 GB, free: 30.46 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1217/1.323, allocations: 47.36 MB / 0.5522 GB, free: 5.223 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003394/1.324, allocations: 230.8 kB / 0.5524 GB, free: 4.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.268/5.592, allocations: 0 / 0.5524 GB, free: 4.98 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat