Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 12 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.09435, allocations: 44.5 MB / 308.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4215/0.5159, allocations: 76.29 MB / 384.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5162, allocations: 76.31 kB / 384.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06298/0.5792, allocations: 16.38 MB / 401.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5793, allocations: 4 kB / 401.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001016/0.5794, allocations: 20.53 kB / 401.3 MB, free: 12.41 MB / 314.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.00396/0.5834, allocations: 1.284 MB / 402.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.5834, allocations: 7.812 kB / 402.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004537/0.5839, allocations: 140.5 kB / 402.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000318/0.5842, allocations: 121.2 kB / 402.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.5861, allocations: 0.7242 MB / 403.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/0.5862, allocations: 64.5 kB / 403.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/0.5864, allocations: 84.94 kB / 403.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/0.5894, allocations: 1.212 MB / 404.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.5894, allocations: 0 / 404.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.5896, allocations: 35.44 kB / 405 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.5896, allocations: 23.44 kB / 405 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/0.5926, allocations: 1.065 MB / 406 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008384/0.601, allocations: 3.773 MB / 409.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.6034, allocations: 1.973 MB / 411.8 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-05/0.6035, allocations: 8.406 kB / 411.8 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.6036, allocations: 49.92 kB / 411.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.366e-06/0.6036, allocations: 0 / 411.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.009001/0.6126, allocations: 3.243 MB / 415.1 MB, free: 6.035 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.6127, allocations: 63.81 kB / 415.2 MB, free: 5.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.6138, allocations: 0.6134 MB / 415.8 MB, free: 5.762 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.6139, allocations: 36.7 kB / 415.8 MB, free: 5.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.6141, allocations: 436.7 kB / 416.2 MB, free: 5.434 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.6144, allocations: 238.5 kB / 416.5 MB, free: 5.266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.6144, allocations: 14.38 kB / 416.5 MB, free: 5.266 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.6145, allocations: 337.2 kB / 416.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008796/0.6154, allocations: 360.1 kB / 417.2 MB, free: 4.879 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008751/0.6163, allocations: 427.1 kB / 417.6 MB, free: 4.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008849/0.6172, allocations: 392.7 kB / 418 MB, free: 4.703 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6172, allocations: 0 / 418 MB, free: 4.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00271/0.6199, allocations: 1.162 MB / 419.1 MB, free: 4.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.62, allocations: 3.906 kB / 419.1 MB, free: 4.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.62, allocations: 0 / 419.1 MB, free: 4.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.6216, allocations: 470.8 kB / 419.6 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.6224, allocations: 93.44 kB / 419.7 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.6337, allocations: 8.594 MB / 428.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008124/0.6346, allocations: 33.28 kB / 428.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.737e-05/0.6347, allocations: 22.73 kB / 428.3 MB, free: 14.07 MB / 330.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.000878/0.6356, allocations: 401.9 kB / 428.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.6358, allocations: 73.66 kB / 428.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.636, allocations: 99.5 kB / 428.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.6361, allocations: 7.75 kB / 428.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.6361, allocations: 3.875 kB / 428.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.6361, allocations: 3.984 kB / 428.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006237/0.6424, allocations: 2.507 MB / 431.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.6424, allocations: 3.844 kB / 431.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006799/0.6431, allocations: 81.02 kB / 431.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/0.6448, allocations: 455.7 kB / 431.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.276e-05/0.6449, allocations: 18.42 kB / 432 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/0.6574, allocations: 8.53 MB / 440.5 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6574, allocations: 0 / 440.5 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004422/0.6619, allocations: 1.877 MB / 442.4 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006279/0.6626, allocations: 233.7 kB / 442.6 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.6627, allocations: 15.91 kB / 442.6 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006428/0.6634, allocations: 35.38 kB / 442.6 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.6637, allocations: 71.58 kB / 442.7 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-05/0.6638, allocations: 23.64 kB / 442.7 MB, free: 3.758 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009379/0.6647, allocations: 0.4957 MB / 443.2 MB, free: 3.473 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6647, allocations: 0 / 443.2 MB, free: 3.473 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001502/0.6662, allocations: 247.1 kB / 443.5 MB, free: 3.449 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.004832/0.6711, allocations: 2.59 MB / 446.1 MB, free: 1.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003479/0.6746, allocations: 1.481 MB / 447.5 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.6747, allocations: 128 / 447.5 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.6771, allocations: 1.093 MB / 448.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.6786, allocations: 193.3 kB / 448.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/0.6956, allocations: 6.71 MB / 455.5 MB, free: 8.973 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.6969, allocations: 1.24 MB / 456.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006972/0.6976, allocations: 311.3 kB / 457.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of SimCode: time 1.273e-06/0.6976, allocations: 0 / 457.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.171/3.869, allocations: 34.93 MB / 492 MB, free: 4.461 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat