Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.59/1.59, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 16 kB / 233.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07896/0.07938, allocations: 38.76 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.4177, allocations: 70.97 MB / 343.1 MB, free: 2.887 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.418, allocations: 70.28 kB / 343.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06798/0.486, allocations: 16.02 MB / 359.2 MB, free: 5.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4861, allocations: 7.938 kB / 359.2 MB, free: 5.281 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.836e-05/0.4862, allocations: 28 kB / 359.2 MB, free: 5.254 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.003875/0.4901, allocations: 1.285 MB / 360.5 MB, free: 3.988 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.4902, allocations: 8.031 kB / 360.5 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004317/0.4906, allocations: 144.6 kB / 360.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.4909, allocations: 118.6 kB / 360.7 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.4928, allocations: 0.7278 MB / 361.5 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/0.4929, allocations: 59.38 kB / 361.5 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.4931, allocations: 88.98 kB / 361.6 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.4964, allocations: 1.221 MB / 362.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.4965, allocations: 0 / 362.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.4966, allocations: 35.06 kB / 362.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.4966, allocations: 20 kB / 362.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.4996, allocations: 1.062 MB / 364 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009321/0.509, allocations: 3.776 MB / 367.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/0.512, allocations: 1.973 MB / 369.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.839e-05/0.5121, allocations: 8.656 kB / 369.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.5122, allocations: 46.23 kB / 369.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 3.577e-06/0.5122, allocations: 4 kB / 369.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.01027/0.5225, allocations: 3.253 MB / 373 MB, free: 9.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.5226, allocations: 60.06 kB / 373.1 MB, free: 9.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.5239, allocations: 0.6299 MB / 373.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.5241, allocations: 40.83 kB / 373.7 MB, free: 9.332 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.5244, allocations: 428.7 kB / 374.2 MB, free: 9.008 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.5247, allocations: 239.5 kB / 374.4 MB, free: 8.801 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.5248, allocations: 9.812 kB / 374.4 MB, free: 8.801 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5249, allocations: 337.9 kB / 374.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009734/0.5259, allocations: 366.4 kB / 375.1 MB, free: 8.227 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.527, allocations: 422.5 kB / 375.5 MB, free: 7.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.528, allocations: 397.3 kB / 375.9 MB, free: 7.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.5281, allocations: 4 kB / 375.9 MB, free: 7.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003185/0.5313, allocations: 1.164 MB / 377.1 MB, free: 6.395 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.5313, allocations: 7.938 kB / 377.1 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.5314, allocations: 0 / 377.1 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.5332, allocations: 459 kB / 377.5 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/0.534, allocations: 91.88 kB / 377.6 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.5474, allocations: 8.593 MB / 386.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008191/0.5483, allocations: 36 kB / 386.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.5484, allocations: 20 kB / 386.3 MB, free: 12.64 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.0009092/0.5493, allocations: 409.5 kB / 386.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.5495, allocations: 83.05 kB / 386.7 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.5498, allocations: 102.9 kB / 386.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.5498, allocations: 4.469 kB / 386.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.5499, allocations: 4 kB / 386.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.5499, allocations: 3.984 kB / 386.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006732/0.5566, allocations: 2.5 MB / 389.3 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.5567, allocations: 8.062 kB / 389.4 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006982/0.5574, allocations: 83.83 kB / 389.4 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/0.5591, allocations: 458.9 kB / 389.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.5593, allocations: 15.98 kB / 389.9 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/0.5724, allocations: 8.534 MB / 398.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5725, allocations: 3.938 kB / 398.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00481/0.5773, allocations: 1.873 MB / 400.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006727/0.578, allocations: 240.2 kB / 400.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.5782, allocations: 16 kB / 400.6 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006559/0.5789, allocations: 39.95 kB / 400.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/0.5792, allocations: 76.39 kB / 400.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/0.5793, allocations: 20.47 kB / 400.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001049/0.5803, allocations: 0.5068 MB / 401.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5804, allocations: 0 / 401.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001614/0.582, allocations: 248 kB / 401.4 MB, free: 12.75 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.005171/0.5872, allocations: 2.59 MB / 404 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.5908, allocations: 1.472 MB / 405.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5909, allocations: 0 / 405.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002471/0.5933, allocations: 1.099 MB / 406.6 MB, free: 7.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.5949, allocations: 198.9 kB / 406.8 MB, free: 7.238 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/0.6111, allocations: 6.713 MB / 413.5 MB, free: 452 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.6124, allocations: 1.244 MB / 414.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006859/0.6131, allocations: 311.3 kB / 415.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6131, allocations: 0 / 415.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.5/4.113, allocations: 34.93 MB / 450 MB, free: 102.8 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat