Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.611/1.611, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004778, allocations: 8 kB / 233.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08231/0.08284, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3875/0.4704, allocations: 82.34 MB / 354.5 MB, free: 7.527 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.4707, allocations: 83.95 kB / 354.5 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7116/1.182, allocations: 117.4 MB / 471.9 MB, free: 60.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.577e-06/1.182, allocations: 4 kB / 471.9 MB, free: 60.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004365/1.183, allocations: 106.9 kB / 472 MB, free: 60.8 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.01621/1.199, allocations: 4.26 MB / 476.3 MB, free: 59.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/1.199, allocations: 7.625 kB / 476.3 MB, free: 59.04 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002483/1.202, allocations: 0.5699 MB / 476.9 MB, free: 58.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/1.205, allocations: 0.5566 MB / 477.4 MB, free: 58.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008064/1.213, allocations: 2.733 MB / 480.1 MB, free: 58.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003658/1.213, allocations: 292.9 kB / 480.4 MB, free: 58.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001635/1.215, allocations: 387 kB / 480.8 MB, free: 58.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/1.231, allocations: 5.662 MB / 486.5 MB, free: 57.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/1.231, allocations: 3.281 kB / 486.5 MB, free: 57.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007522/1.232, allocations: 174.3 kB / 486.6 MB, free: 57.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002609/1.232, allocations: 208.6 kB / 486.8 MB, free: 57.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/1.245, allocations: 4.654 MB / 491.5 MB, free: 55.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04085/1.286, allocations: 16.46 MB / 0.496 GB, free: 47.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009681/1.296, allocations: 6.773 MB / 0.5027 GB, free: 42.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000614/1.296, allocations: 149 kB / 0.5028 GB, free: 41.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/1.296, allocations: 64.56 kB / 0.5029 GB, free: 41.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 5.65e-06/1.296, allocations: 0 / 0.5029 GB, free: 41.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.03161/1.328, allocations: 10.34 MB / 0.513 GB, free: 32.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/1.328, allocations: 85.36 kB / 0.513 GB, free: 32.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005534/1.334, allocations: 2.364 MB / 0.5154 GB, free: 30.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005697/1.334, allocations: 69.7 kB / 0.5154 GB, free: 30.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/1.335, allocations: 1.503 MB / 0.5169 GB, free: 28.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.337, allocations: 0.8361 MB / 0.5177 GB, free: 28.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/1.337, allocations: 52 kB / 0.5178 GB, free: 27.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/1.337, allocations: 411.5 kB / 0.5181 GB, free: 27.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/1.34, allocations: 1.332 MB / 0.5195 GB, free: 26.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003715/1.344, allocations: 1.636 MB / 0.521 GB, free: 24.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00383/1.348, allocations: 1.569 MB / 0.5226 GB, free: 22.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/1.348, allocations: 4 kB / 0.5226 GB, free: 22.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01102/1.359, allocations: 4.256 MB / 0.5267 GB, free: 18.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/1.359, allocations: 8 kB / 0.5267 GB, free: 18.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/1.359, allocations: 4 kB / 0.5268 GB, free: 18.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005621/1.365, allocations: 1.413 MB / 0.5281 GB, free: 17.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/1.368, allocations: 391.5 kB / 0.5285 GB, free: 16.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03426/1.402, allocations: 23.89 MB / 0.5518 GB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/1.405, allocations: 95.92 kB / 0.5519 GB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005613/1.406, allocations: 83.98 kB / 0.552 GB, free: 7.402 MB / 362.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.004112/1.41, allocations: 1.403 MB / 0.5534 GB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/1.411, allocations: 300.5 kB / 0.5537 GB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.424, allocations: 4.209 MB / 0.5578 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.672e-05/1.424, allocations: 24 kB / 0.5578 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/1.424, allocations: 8 kB / 0.5578 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.47e-05/1.424, allocations: 11.95 kB / 0.5578 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2754/1.7, allocations: 8.93 MB / 0.5665 GB, free: 68.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-05/1.7, allocations: 1 kB / 0.5665 GB, free: 68.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002555/1.702, allocations: 295.5 kB / 0.5668 GB, free: 68.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005996/1.708, allocations: 1.389 MB / 0.5682 GB, free: 68.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005516/1.709, allocations: 63.27 kB / 0.5682 GB, free: 68.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03286/1.742, allocations: 23.63 MB / 0.5913 GB, free: 54.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.742, allocations: 3.438 kB / 0.5913 GB, free: 54.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/1.756, allocations: 6.169 MB / 0.5973 GB, free: 54.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002423/1.759, allocations: 0.6988 MB / 0.598 GB, free: 54.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008531/1.76, allocations: 55 kB / 0.5981 GB, free: 54.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/1.762, allocations: 135.5 kB / 0.5982 GB, free: 54.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007448/1.763, allocations: 209.9 kB / 0.5984 GB, free: 54.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002378/1.763, allocations: 66.48 kB / 0.5985 GB, free: 54.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003919/1.767, allocations: 1.849 MB / 0.6003 GB, free: 54.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.767, allocations: 0.9844 kB / 0.6003 GB, free: 54.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005238/1.773, allocations: 0.9791 MB / 0.6012 GB, free: 54.18 MB / 362.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.01538/1.788, allocations: 7.027 MB / 0.6081 GB, free: 51.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0108/1.799, allocations: 4.876 MB / 0.6129 GB, free: 48.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.799, allocations: 0 / 0.6129 GB, free: 48.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007559/1.807, allocations: 3.379 MB / 0.6162 GB, free: 46.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006809/1.813, allocations: 0.8911 MB / 0.617 GB, free: 46.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06892/1.882, allocations: 29.85 MB / 0.6462 GB, free: 29.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007233/1.89, allocations: 3.182 MB / 0.6493 GB, free: 27.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004696/1.894, allocations: 1.459 MB / 0.6507 GB, free: 25.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.923e-06/1.895, allocations: 0 / 0.6507 GB, free: 25.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.387/7.282, allocations: 270.6 MB / 0.915 GB, free: 66.19 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat