Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Rectifier6pulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1284, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4223/0.5508, allocations: 86.07 MB / 394.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5511, allocations: 89.55 kB / 394.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2355/0.7866, allocations: 63.8 MB / 458.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7867, allocations: 0 / 458.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002542/0.7869, allocations: 63.88 kB / 458.6 MB, free: 11.82 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.009517/0.7965, allocations: 2.495 MB / 461.1 MB, free: 9.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.7965, allocations: 8.031 kB / 461.1 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001352/0.7979, allocations: 336.5 kB / 461.4 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.7993, allocations: 316.6 kB / 461.7 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/0.8042, allocations: 1.574 MB / 463.3 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.8044, allocations: 171.4 kB / 463.5 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006594/0.8051, allocations: 216 kB / 463.7 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009317/0.8144, allocations: 3.097 MB / 466.8 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.394e-05/0.8145, allocations: 0 / 466.8 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/0.8149, allocations: 96 kB / 466.9 MB, free: 3.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001919/0.8151, allocations: 112.4 kB / 467 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008257/0.8234, allocations: 2.543 MB / 469.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02444/0.8479, allocations: 8.92 MB / 478.4 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005905/0.8538, allocations: 3.35 MB / 481.8 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004824/0.8544, allocations: 134.4 kB / 481.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/0.8544, allocations: 51.81 kB / 482 MB, free: 3.738 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 3.707e-06/0.8544, allocations: 0 / 482 MB, free: 3.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=132): time 0.01911/0.8736, allocations: 5.692 MB / 487.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.8737, allocations: 68.67 kB / 487.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003433/0.8771, allocations: 1.335 MB / 489.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003565/0.8775, allocations: 53.69 kB / 489.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009383/0.8785, allocations: 0.8913 MB / 490 MB, free: 11.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006965/0.8792, allocations: 445 kB / 490.4 MB, free: 11.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.8793, allocations: 20 kB / 490.5 MB, free: 11.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.8795, allocations: 370.8 kB / 490.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/0.8815, allocations: 0.6973 MB / 491.5 MB, free: 9.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.8836, allocations: 0.8542 MB / 492.4 MB, free: 9.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.8859, allocations: 0.8145 MB / 493.2 MB, free: 8.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.8859, allocations: 0 / 493.2 MB, free: 8.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006162/0.8921, allocations: 2.209 MB / 495.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.8921, allocations: 8 kB / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.8922, allocations: 0 / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003108/0.8953, allocations: 0.7019 MB / 496.1 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.8971, allocations: 207.7 kB / 496.3 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02063/0.9177, allocations: 10.71 MB / 0.4951 GB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.9195, allocations: 51.95 kB / 0.4952 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/0.9197, allocations: 44 kB / 0.4952 GB, free: 9.785 MB / 394.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.002242/0.9219, allocations: 0.8176 MB / 0.496 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005811/0.9225, allocations: 158.1 kB / 0.4962 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/0.9287, allocations: 2.187 MB / 0.4983 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/0.9288, allocations: 20 kB / 0.4983 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.9288, allocations: 4 kB / 0.4983 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/0.9288, allocations: 3.984 kB / 0.4983 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.9419, allocations: 4.749 MB / 0.503 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.9419, allocations: 7.938 kB / 0.503 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.9433, allocations: 156.1 kB / 0.5031 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003035/0.9463, allocations: 0.7104 MB / 0.5038 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/0.9465, allocations: 28 kB / 0.5038 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01966/0.9662, allocations: 10.6 MB / 0.5142 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.968e-06/0.9663, allocations: 4.031 kB / 0.5142 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009076/0.9753, allocations: 3.256 MB / 0.5174 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/0.9768, allocations: 411.1 kB / 0.5178 GB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/0.9772, allocations: 28 kB / 0.5178 GB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.9786, allocations: 71.94 kB / 0.5179 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004655/0.9791, allocations: 113.1 kB / 0.518 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.9793, allocations: 36 kB / 0.518 GB, free: 1.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002625/0.9819, allocations: 1.048 MB / 0.519 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.9819, allocations: 0 / 0.519 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003202/0.9851, allocations: 0.5312 MB / 0.5196 GB, free: 152 kB / 410.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.298/1.283, allocations: 4.037 MB / 0.5235 GB, free: 97.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006013/1.289, allocations: 2.414 MB / 0.5259 GB, free: 97.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.289, allocations: 4.031 kB / 0.5259 GB, free: 97.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00401/1.293, allocations: 1.625 MB / 0.5274 GB, free: 96.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003764/1.297, allocations: 477.9 kB / 0.5279 GB, free: 96.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03486/1.332, allocations: 15.66 MB / 0.5432 GB, free: 90.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/1.334, allocations: 2.031 MB / 0.5452 GB, free: 90.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/1.336, allocations: 0.7848 MB / 0.5459 GB, free: 90.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/1.336, allocations: 2.625 kB / 0.546 GB, free: 90.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.645/4.981, allocations: 84.74 MB / 0.6287 GB, free: 42.04 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat