Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.232/2.232, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003567, allocations: 12 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2963, allocations: 44.5 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.4516, allocations: 87.69 MB / 396.2 MB, free: 4.965 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/0.452, allocations: 87.95 kB / 396.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7443/1.196, allocations: 117.2 MB / 0.5015 GB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.607e-06/1.196, allocations: 0 / 0.5015 GB, free: 10.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004713/1.197, allocations: 111.9 kB / 0.5016 GB, free: 10.14 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.01598/1.213, allocations: 4.253 MB / 0.5058 GB, free: 5.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/1.213, allocations: 8.031 kB / 0.5058 GB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003354/1.216, allocations: 0.5633 MB / 0.5063 GB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0037/1.22, allocations: 0.557 MB / 0.5069 GB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008607/1.229, allocations: 2.737 MB / 0.5096 GB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003548/1.229, allocations: 291.8 kB / 0.5098 GB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001565/1.231, allocations: 380 kB / 0.5102 GB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/1.247, allocations: 5.667 MB / 0.5157 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/1.248, allocations: 4 kB / 0.5157 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006953/1.248, allocations: 164 kB / 0.5159 GB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003406/1.249, allocations: 208 kB / 0.5161 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/1.264, allocations: 4.665 MB / 0.5206 GB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04471/1.308, allocations: 16.45 MB / 0.5367 GB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/1.32, allocations: 6.783 MB / 0.5433 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005898/1.32, allocations: 151 kB / 0.5435 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.118e-05/1.32, allocations: 64.56 kB / 0.5435 GB, free: 13.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=249): time 5.831e-06/1.32, allocations: 0 / 0.5435 GB, free: 13.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=256): time 0.03441/1.355, allocations: 10.34 MB / 0.5536 GB, free: 3.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/1.355, allocations: 77.42 kB / 0.5537 GB, free: 3.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006343/1.361, allocations: 2.359 MB / 0.556 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005939/1.362, allocations: 73.69 kB / 0.5561 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3207/1.683, allocations: 1.623 MB / 0.5577 GB, free: 67.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001392/1.684, allocations: 0.8378 MB / 0.5585 GB, free: 67.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/1.684, allocations: 46.59 kB / 0.5585 GB, free: 67.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002159/1.685, allocations: 404.9 kB / 0.5589 GB, free: 66.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003627/1.688, allocations: 1.341 MB / 0.5602 GB, free: 66.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004074/1.692, allocations: 1.625 MB / 0.5618 GB, free: 66.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004074/1.696, allocations: 1.572 MB / 0.5633 GB, free: 66.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.937e-05/1.696, allocations: 3.969 kB / 0.5634 GB, free: 66.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01171/1.708, allocations: 4.438 MB / 0.5677 GB, free: 66.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/1.708, allocations: 10.69 kB / 0.5677 GB, free: 66.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/1.708, allocations: 5.812 kB / 0.5677 GB, free: 66.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005774/1.714, allocations: 1.409 MB / 0.5691 GB, free: 66.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/1.717, allocations: 387.3 kB / 0.5694 GB, free: 66.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03227/1.75, allocations: 23.9 MB / 0.5928 GB, free: 52.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/1.753, allocations: 97.41 kB / 0.5929 GB, free: 52.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004095/1.753, allocations: 76.91 kB / 0.5929 GB, free: 52.63 MB / 394.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.003587/1.757, allocations: 1.402 MB / 0.5943 GB, free: 52.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009858/1.758, allocations: 299.4 kB / 0.5946 GB, free: 52.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/1.768, allocations: 4.204 MB / 0.5987 GB, free: 52.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/1.768, allocations: 22.88 kB / 0.5987 GB, free: 52.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/1.768, allocations: 11.31 kB / 0.5987 GB, free: 52.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.22e-05/1.768, allocations: 13.5 kB / 0.5988 GB, free: 52.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02283/1.791, allocations: 8.924 MB / 0.6075 GB, free: 50.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.791, allocations: 6.438 kB / 0.6075 GB, free: 50.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002372/1.794, allocations: 294.5 kB / 0.6078 GB, free: 50.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005525/1.799, allocations: 1.379 MB / 0.6091 GB, free: 50.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004488/1.8, allocations: 57.45 kB / 0.6092 GB, free: 49.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03241/1.832, allocations: 23.64 MB / 0.6322 GB, free: 32.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.832, allocations: 2.719 kB / 0.6322 GB, free: 32.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/1.847, allocations: 6.162 MB / 0.6383 GB, free: 29.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002432/1.849, allocations: 0.692 MB / 0.6389 GB, free: 29.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006901/1.85, allocations: 49.78 kB / 0.639 GB, free: 29.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002622/1.853, allocations: 137.7 kB / 0.6391 GB, free: 29.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007208/1.853, allocations: 214.4 kB / 0.6393 GB, free: 29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/1.854, allocations: 69.05 kB / 0.6394 GB, free: 28.99 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004063/1.858, allocations: 1.84 MB / 0.6412 GB, free: 28.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.858, allocations: 0 / 0.6412 GB, free: 28.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005447/1.863, allocations: 0.9833 MB / 0.6421 GB, free: 28.2 MB / 394.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.01525/1.879, allocations: 7.025 MB / 0.649 GB, free: 24.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01061/1.889, allocations: 4.88 MB / 0.6538 GB, free: 22.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.889, allocations: 12.38 kB / 0.6538 GB, free: 22.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007632/1.897, allocations: 3.361 MB / 0.6571 GB, free: 20.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006822/1.904, allocations: 0.895 MB / 0.6579 GB, free: 19.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07126/1.975, allocations: 29.98 MB / 0.6872 GB, free: 7.527 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006617/1.982, allocations: 3.247 MB / 0.6904 GB, free: 5.035 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003416/1.985, allocations: 0.5681 MB / 0.6909 GB, free: 4.633 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003897/1.989, allocations: 1.451 MB / 0.6924 GB, free: 3.285 MB / 410.7 MB Notification: Performance of SimCode: time 1.644e-06/1.989, allocations: 4 kB / 0.6924 GB, free: 3.281 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.49/2.479, allocations: 88.26 MB / 0.7786 GB, free: 81.59 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/2.48, allocations: 228.3 kB / 0.7788 GB, free: 81.35 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.076/8.556, allocations: 0 / 0.7788 GB, free: 81.35 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat