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.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_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.641/1.641, allocations: 171.2 MB / 186.8 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004753, allocations: 8 kB / 233.3 MB, free: 2.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07905/0.07955, allocations: 38.78 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.4577, allocations: 80.73 MB / 352.8 MB, free: 9.215 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.4581, allocations: 86.58 kB / 352.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.269/0.7271, allocations: 63.97 MB / 416.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7272, allocations: 0 / 416.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000289/0.7275, allocations: 63.88 kB / 417 MB, free: 14.78 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.01013/0.7377, allocations: 2.511 MB / 419.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.7377, allocations: 8.031 kB / 419.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001432/0.7392, allocations: 332.7 kB / 419.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.7406, allocations: 312.7 kB / 420.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00514/0.7458, allocations: 1.584 MB / 421.7 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.7461, allocations: 160.4 kB / 421.9 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000848/0.7469, allocations: 220 kB / 422.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009826/0.7568, allocations: 3.098 MB / 425.2 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.197e-05/0.7569, allocations: 0 / 425.2 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003886/0.7573, allocations: 95.95 kB / 425.3 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/0.7575, allocations: 108.4 kB / 425.4 MB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008656/0.7662, allocations: 2.543 MB / 427.9 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2812/1.047, allocations: 8.914 MB / 436.8 MB, free: 69.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005352/1.053, allocations: 3.357 MB / 440.2 MB, free: 67.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005277/1.053, allocations: 135.2 kB / 440.3 MB, free: 67.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/1.053, allocations: 48.66 kB / 440.4 MB, free: 67.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 4.639e-06/1.053, allocations: 0 / 440.4 MB, free: 67.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.01989/1.073, allocations: 5.693 MB / 446.1 MB, free: 66.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/1.073, allocations: 70.16 kB / 446.1 MB, free: 66.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005221/1.079, allocations: 1.344 MB / 447.5 MB, free: 66.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004252/1.079, allocations: 49.81 kB / 447.5 MB, free: 66.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00121/1.08, allocations: 0.8988 MB / 448.4 MB, free: 65.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/1.082, allocations: 440.8 kB / 448.8 MB, free: 65.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/1.082, allocations: 26.12 kB / 448.9 MB, free: 65.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002288/1.082, allocations: 364.6 kB / 449.2 MB, free: 65.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/1.085, allocations: 0.6943 MB / 449.9 MB, free: 65.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002876/1.088, allocations: 0.8544 MB / 450.8 MB, free: 65.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/1.09, allocations: 0.8167 MB / 451.6 MB, free: 65.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/1.09, allocations: 0 / 451.6 MB, free: 65.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005555/1.096, allocations: 2.207 MB / 453.8 MB, free: 64.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/1.096, allocations: 7.281 kB / 453.8 MB, free: 64.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.096, allocations: 3.969 kB / 453.8 MB, free: 64.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00281/1.099, allocations: 0.7033 MB / 454.5 MB, free: 64.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/1.101, allocations: 210.1 kB / 454.7 MB, free: 64.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/1.116, allocations: 10.72 MB / 465.4 MB, free: 59.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/1.118, allocations: 51.97 kB / 465.5 MB, free: 59.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/1.118, allocations: 44.56 kB / 465.5 MB, free: 59.43 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.002018/1.12, allocations: 0.816 MB / 466.3 MB, free: 59.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006078/1.121, allocations: 174.7 kB / 466.5 MB, free: 59.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005252/1.126, allocations: 2.185 MB / 468.7 MB, free: 59.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/1.126, allocations: 11.19 kB / 468.7 MB, free: 59.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.126, allocations: 3.438 kB / 468.7 MB, free: 59.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/1.126, allocations: 11.33 kB / 468.7 MB, free: 59.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/1.139, allocations: 4.75 MB / 473.5 MB, free: 57.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.139, allocations: 6.844 kB / 473.5 MB, free: 57.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/1.14, allocations: 160.8 kB / 473.6 MB, free: 57.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002719/1.143, allocations: 0.6873 MB / 474.3 MB, free: 57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/1.143, allocations: 33.94 kB / 474.4 MB, free: 56.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01556/1.159, allocations: 10.61 MB / 485 MB, free: 49.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.159, allocations: 6.781 kB / 485 MB, free: 49.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007411/1.166, allocations: 3.255 MB / 488.2 MB, free: 47.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.167, allocations: 414.9 kB / 488.6 MB, free: 47.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004928/1.168, allocations: 27.5 kB / 488.7 MB, free: 47.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/1.17, allocations: 73.77 kB / 488.7 MB, free: 47.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004399/1.17, allocations: 113.3 kB / 488.8 MB, free: 47.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/1.17, allocations: 40.17 kB / 488.9 MB, free: 47.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00226/1.172, allocations: 1.056 MB / 489.9 MB, free: 47.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.172, allocations: 3.25 kB / 489.9 MB, free: 47.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002997/1.175, allocations: 0.529 MB / 490.5 MB, free: 47.15 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.008043/1.184, allocations: 4.057 MB / 494.5 MB, free: 45.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005344/1.189, allocations: 2.406 MB / 496.9 MB, free: 43.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/1.189, allocations: 3.875 kB / 496.9 MB, free: 43.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003581/1.193, allocations: 1.633 MB / 498.6 MB, free: 43.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/1.196, allocations: 486.6 kB / 499.1 MB, free: 42.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03284/1.229, allocations: 15.68 MB / 0.5027 GB, free: 34.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/1.231, allocations: 2.036 MB / 0.5047 GB, free: 32.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/1.233, allocations: 0.7846 MB / 0.5054 GB, free: 31.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.834e-06/1.233, allocations: 0 / 0.5054 GB, free: 31.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.756/4.989, allocations: 84.73 MB / 0.5882 GB, free: 82.62 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat