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.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_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.089/2.089, allocations: 194.8 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005033, allocations: 8 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2993, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.4522, allocations: 86.08 MB / 394.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.4526, allocations: 91.89 kB / 394.7 MB, free: 6.355 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4948/0.9474, allocations: 63.79 MB / 458.5 MB, free: 65.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.9475, allocations: 0 / 458.5 MB, free: 65.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002166/0.9477, allocations: 59.94 kB / 458.6 MB, free: 65.26 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.00862/0.9563, allocations: 2.511 MB / 461.1 MB, free: 62.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.9564, allocations: 8.031 kB / 461.1 MB, free: 62.68 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001137/0.9576, allocations: 332.7 kB / 461.4 MB, free: 62.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.9587, allocations: 320.6 kB / 461.7 MB, free: 62.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/0.9632, allocations: 1.576 MB / 463.3 MB, free: 60.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.9634, allocations: 160.4 kB / 463.5 MB, free: 60.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005311/0.9639, allocations: 219.9 kB / 463.7 MB, free: 60.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007822/0.9718, allocations: 3.098 MB / 466.8 MB, free: 56.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.659e-05/0.9719, allocations: 3.938 kB / 466.8 MB, free: 56.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003307/0.9723, allocations: 100 kB / 466.9 MB, free: 56.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.9724, allocations: 112.4 kB / 467 MB, free: 56.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007257/0.9797, allocations: 2.532 MB / 469.5 MB, free: 54.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02147/1.001, allocations: 8.92 MB / 478.5 MB, free: 44.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/1.005, allocations: 3.354 MB / 481.8 MB, free: 41.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003832/1.006, allocations: 138.4 kB / 481.9 MB, free: 41.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/1.006, allocations: 55.81 kB / 482 MB, free: 41.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 4.318e-06/1.006, allocations: 0 / 482 MB, free: 41.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.01492/1.021, allocations: 5.687 MB / 487.7 MB, free: 35.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/1.021, allocations: 68.67 kB / 487.8 MB, free: 35.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/1.023, allocations: 1.339 MB / 489.1 MB, free: 33.76 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001364/1.024, allocations: 49.7 kB / 489.1 MB, free: 33.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006633/1.024, allocations: 0.9371 MB / 490.1 MB, free: 32.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/1.025, allocations: 441.6 kB / 490.5 MB, free: 32.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/1.025, allocations: 24 kB / 490.5 MB, free: 32.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/1.025, allocations: 353.9 kB / 490.9 MB, free: 31.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/1.026, allocations: 0.6935 MB / 491.6 MB, free: 31.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/1.028, allocations: 0.8581 MB / 492.4 MB, free: 30.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/1.03, allocations: 0.8144 MB / 493.2 MB, free: 29.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.03, allocations: 4 kB / 493.2 MB, free: 29.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005396/1.035, allocations: 2.306 MB / 495.6 MB, free: 27.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/1.035, allocations: 6.5 kB / 495.6 MB, free: 27.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.035, allocations: 8 kB / 495.6 MB, free: 27.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002642/1.038, allocations: 0.7019 MB / 496.3 MB, free: 26.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/1.039, allocations: 207.7 kB / 496.5 MB, free: 26.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/1.055, allocations: 10.7 MB / 0.4953 GB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/1.057, allocations: 63.95 kB / 0.4953 GB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/1.057, allocations: 44 kB / 0.4954 GB, free: 14.93 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.001816/1.059, allocations: 0.8152 MB / 0.4962 GB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005353/1.059, allocations: 162.1 kB / 0.4963 GB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00522/1.064, allocations: 2.192 MB / 0.4985 GB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/1.065, allocations: 12 kB / 0.4985 GB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/1.065, allocations: 4 kB / 0.4985 GB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/1.065, allocations: 11.91 kB / 0.4985 GB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/1.077, allocations: 4.75 MB / 0.5031 GB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/1.077, allocations: 3.938 kB / 0.5031 GB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.078, allocations: 159.9 kB / 0.5033 GB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002731/1.081, allocations: 0.7023 MB / 0.504 GB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/1.081, allocations: 31.98 kB / 0.504 GB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/1.098, allocations: 10.61 MB / 0.5144 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.098, allocations: 0 / 0.5144 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008686/1.107, allocations: 3.253 MB / 0.5176 GB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/1.108, allocations: 411.1 kB / 0.5179 GB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005746/1.109, allocations: 24 kB / 0.518 GB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/1.111, allocations: 79.94 kB / 0.518 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004725/1.111, allocations: 109.1 kB / 0.5181 GB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/1.111, allocations: 39.98 kB / 0.5182 GB, free: 6.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002667/1.114, allocations: 1.048 MB / 0.5192 GB, free: 5.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.31e-07/1.114, allocations: 0 / 0.5192 GB, free: 5.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003051/1.117, allocations: 0.5234 MB / 0.5197 GB, free: 5.254 MB / 362.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.009848/1.127, allocations: 4.058 MB / 0.5237 GB, free: 1.141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006654/1.134, allocations: 2.412 MB / 0.526 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.134, allocations: 0 / 0.526 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004311/1.138, allocations: 1.629 MB / 0.5276 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003895/1.142, allocations: 481.9 kB / 0.5281 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03963/1.182, allocations: 15.71 MB / 0.5434 GB, free: 12.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003268/1.185, allocations: 2.082 MB / 0.5455 GB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001781/1.187, allocations: 309.3 kB / 0.5458 GB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002055/1.189, allocations: 0.7766 MB / 0.5465 GB, free: 9.191 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/1.189, allocations: 0 / 0.5465 GB, free: 9.191 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4237/1.613, allocations: 47.35 MB / 0.5928 GB, free: 95.82 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/1.613, allocations: 223.4 kB / 0.593 GB, free: 95.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.255/5.868, allocations: 0 / 0.593 GB, free: 95.59 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat