Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.587/1.587, allocations: 171.1 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 15.94 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07812/0.07851, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3385/0.4171, allocations: 70.98 MB / 343.1 MB, free: 2.355 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.4174, allocations: 69.16 kB / 343.2 MB, free: 2.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06872/0.4861, allocations: 16.03 MB / 359.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4862, allocations: 0 / 359.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.423e-05/0.4863, allocations: 28 kB / 359.2 MB, free: 4.727 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00415/0.4904, allocations: 1.284 MB / 360.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.4905, allocations: 15.97 kB / 360.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004741/0.491, allocations: 138.2 kB / 360.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.4914, allocations: 122.6 kB / 360.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.4933, allocations: 0.7194 MB / 361.5 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/0.4934, allocations: 62.12 kB / 361.6 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.4937, allocations: 88.56 kB / 361.6 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/0.4969, allocations: 1.211 MB / 362.8 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/0.4969, allocations: 7.922 kB / 362.9 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.4971, allocations: 35.19 kB / 362.9 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.4971, allocations: 20 kB / 362.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003141/0.5003, allocations: 1.067 MB / 364 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009593/0.5099, allocations: 3.778 MB / 367.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/0.513, allocations: 1.976 MB / 369.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.954e-05/0.5131, allocations: 4.656 kB / 369.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/0.5131, allocations: 46.55 kB / 369.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 6.362e-06/0.5132, allocations: 3.984 kB / 369.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.01045/0.5236, allocations: 3.25 MB / 373 MB, free: 9.402 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.5237, allocations: 60.06 kB / 373.1 MB, free: 9.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.525, allocations: 0.6292 MB / 373.7 MB, free: 8.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.5252, allocations: 39.39 kB / 373.8 MB, free: 8.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.5256, allocations: 411.1 kB / 374.2 MB, free: 8.512 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.5259, allocations: 233 kB / 374.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.526, allocations: 14.5 kB / 374.4 MB, free: 8.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.5262, allocations: 382.7 kB / 374.8 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.5272, allocations: 365.7 kB / 375.1 MB, free: 7.707 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.5283, allocations: 422.6 kB / 375.5 MB, free: 7.324 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.5294, allocations: 395 kB / 375.9 MB, free: 6.941 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.5295, allocations: 0 / 375.9 MB, free: 6.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003381/0.5329, allocations: 1.214 MB / 377.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.5329, allocations: 9.406 kB / 377.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.533, allocations: 0 / 377.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/0.5348, allocations: 459 kB / 377.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.5356, allocations: 91.88 kB / 377.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/0.549, allocations: 8.604 MB / 386.3 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007947/0.5499, allocations: 35.97 kB / 386.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.55, allocations: 16 kB / 386.3 MB, free: 11.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009567/0.5509, allocations: 405.6 kB / 386.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.5512, allocations: 83.03 kB / 386.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.5515, allocations: 102.9 kB / 386.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.5516, allocations: 8 kB / 386.9 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.5516, allocations: 0 / 386.9 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.5516, allocations: 3.984 kB / 386.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007087/0.5587, allocations: 2.507 MB / 389.4 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.5588, allocations: 4.062 kB / 389.5 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007111/0.5595, allocations: 83.89 kB / 389.5 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001804/0.5613, allocations: 455.2 kB / 390 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.5615, allocations: 19.98 kB / 390 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/0.575, allocations: 8.526 MB / 398.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/0.575, allocations: 16 kB / 398.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/0.5803, allocations: 1.873 MB / 400.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007269/0.5811, allocations: 236.2 kB / 400.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.5812, allocations: 20 kB / 400.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/0.5819, allocations: 35.95 kB / 400.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/0.5822, allocations: 76.39 kB / 400.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-05/0.5823, allocations: 20 kB / 400.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00108/0.5834, allocations: 0.5068 MB / 401.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-07/0.5834, allocations: 0 / 401.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002004/0.5855, allocations: 248 kB / 401.5 MB, free: 12.05 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005621/0.5911, allocations: 2.59 MB / 404.1 MB, free: 9.414 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003633/0.5948, allocations: 1.476 MB / 405.6 MB, free: 7.883 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.5949, allocations: 0 / 405.6 MB, free: 7.883 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002612/0.5975, allocations: 1.095 MB / 406.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.5991, allocations: 194.9 kB / 406.9 MB, free: 6.547 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.6152, allocations: 6.729 MB / 413.6 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.6165, allocations: 1.259 MB / 414.9 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006143/0.6171, allocations: 122.3 kB / 415 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/0.6177, allocations: 315.3 kB / 415.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6177, allocations: 0 / 415.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3042/0.922, allocations: 22.54 MB / 437.8 MB, free: 105.8 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/0.9224, allocations: 213 kB / 438.1 MB, free: 105.6 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.469/4.392, allocations: 1.203 kB / 438.1 MB, free: 105.6 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat