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.Rectifier12pulse.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.Rectifier12pulse,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.671/1.671, allocations: 171.2 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005188/0.0005188, allocations: 16 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08376/0.08433, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.4402, allocations: 82.33 MB / 354.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.4405, allocations: 92 kB / 354.6 MB, free: 6.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7331/1.174, allocations: 117.4 MB / 471.9 MB, free: 37.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.807e-06/1.174, allocations: 0 / 471.9 MB, free: 37.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006477/1.174, allocations: 116.8 kB / 472 MB, free: 37.69 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.02396/1.198, allocations: 4.255 MB / 476.3 MB, free: 35.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/1.198, allocations: 7.844 kB / 476.3 MB, free: 35.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003395/1.202, allocations: 0.5674 MB / 476.9 MB, free: 35.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004716/1.207, allocations: 0.5618 MB / 477.4 MB, free: 35.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/1.22, allocations: 2.728 MB / 480.2 MB, free: 35.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004857/1.221, allocations: 294.1 kB / 480.4 MB, free: 35.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002247/1.223, allocations: 391.6 kB / 480.8 MB, free: 35.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02584/1.249, allocations: 5.666 MB / 486.5 MB, free: 34.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000221/1.249, allocations: 0 / 486.5 MB, free: 34.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001984/1.251, allocations: 173.1 kB / 486.7 MB, free: 34.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004342/1.252, allocations: 205.7 kB / 486.9 MB, free: 34.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02094/1.273, allocations: 4.661 MB / 491.5 MB, free: 34.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06325/1.336, allocations: 16.46 MB / 0.4961 GB, free: 26.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01418/1.35, allocations: 6.767 MB / 0.5027 GB, free: 21.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008073/1.351, allocations: 150.2 kB / 0.5028 GB, free: 20.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.809e-05/1.351, allocations: 64.19 kB / 0.5029 GB, free: 20.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 9.398e-06/1.351, allocations: 0 / 0.5029 GB, free: 20.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.04184/1.393, allocations: 10.35 MB / 0.513 GB, free: 16.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/1.393, allocations: 78.52 kB / 0.5131 GB, free: 16.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005805/1.399, allocations: 2.367 MB / 0.5154 GB, free: 15.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006009/1.4, allocations: 75.98 kB / 0.5155 GB, free: 15.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/1.401, allocations: 1.63 MB / 0.517 GB, free: 13.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001145/1.402, allocations: 0.844 MB / 0.5179 GB, free: 13.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/1.403, allocations: 49.91 kB / 0.5179 GB, free: 13.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/1.403, allocations: 410.4 kB / 0.5183 GB, free: 12.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/1.406, allocations: 1.335 MB / 0.5196 GB, free: 12.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003868/1.41, allocations: 1.629 MB / 0.5212 GB, free: 11.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004069/1.414, allocations: 1.571 MB / 0.5227 GB, free: 10.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/1.414, allocations: 4 kB / 0.5227 GB, free: 10.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0124/1.427, allocations: 4.43 MB / 0.5271 GB, free: 5.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/1.427, allocations: 8 kB / 0.5271 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/1.427, allocations: 8 kB / 0.5271 GB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005784/1.432, allocations: 1.417 MB / 0.5285 GB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/1.436, allocations: 391.5 kB / 0.5288 GB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03993/1.476, allocations: 23.89 MB / 0.5522 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/1.479, allocations: 95.92 kB / 0.5523 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006736/1.48, allocations: 83.98 kB / 0.5523 GB, free: 10.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * 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 initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.004506/1.484, allocations: 1.407 MB / 0.5537 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.485, allocations: 300.5 kB / 0.554 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/1.499, allocations: 4.197 MB / 0.5581 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.574e-05/1.499, allocations: 27.8 kB / 0.5581 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-05/1.499, allocations: 12 kB / 0.5581 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.717e-05/1.499, allocations: 19.89 kB / 0.5582 GB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2809/1.78, allocations: 8.923 MB / 0.5669 GB, free: 69.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/1.78, allocations: 0.5156 kB / 0.5669 GB, free: 69.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/1.783, allocations: 295.6 kB / 0.5672 GB, free: 69.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00593/1.789, allocations: 1.388 MB / 0.5685 GB, free: 69.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000563/1.789, allocations: 58.95 kB / 0.5686 GB, free: 69.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03402/1.823, allocations: 23.64 MB / 0.5916 GB, free: 56.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.823, allocations: 3.953 kB / 0.5916 GB, free: 56.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/1.839, allocations: 6.163 MB / 0.5977 GB, free: 55.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/1.841, allocations: 0.6954 MB / 0.5983 GB, free: 55.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/1.843, allocations: 56.61 kB / 0.5984 GB, free: 55.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/1.846, allocations: 132.4 kB / 0.5985 GB, free: 55.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008701/1.847, allocations: 219 kB / 0.5987 GB, free: 55.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/1.847, allocations: 68.09 kB / 0.5988 GB, free: 55.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004599/1.852, allocations: 1.848 MB / 0.6006 GB, free: 55.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.61e-07/1.852, allocations: 0 / 0.6006 GB, free: 55.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005687/1.857, allocations: 0.975 MB / 0.6016 GB, free: 55.59 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01639/1.874, allocations: 7.026 MB / 0.6084 GB, free: 54.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01086/1.885, allocations: 4.882 MB / 0.6132 GB, free: 53.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.885, allocations: 5.375 kB / 0.6132 GB, free: 53.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007682/1.892, allocations: 3.373 MB / 0.6165 GB, free: 51.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006906/1.899, allocations: 0.8927 MB / 0.6174 GB, free: 51.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07295/1.972, allocations: 29.99 MB / 0.6466 GB, free: 34.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005537/1.978, allocations: 3.252 MB / 0.6498 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003189/1.981, allocations: 0.569 MB / 0.6504 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003366/1.985, allocations: 1.454 MB / 0.6518 GB, free: 31.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/1.985, allocations: 0 / 0.6518 GB, free: 31.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4532/2.438, allocations: 88.26 MB / 0.738 GB, free: 64.12 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/2.438, allocations: 243.8 kB / 0.7382 GB, free: 63.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.901/8.339, allocations: 0 / 0.7382 GB, free: 63.86 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat