Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004812, allocations: 8 kB / 264.1 MB, free: 2.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2878, allocations: 44.49 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.4218, allocations: 76.29 MB / 384.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.4222, allocations: 75.97 kB / 384.9 MB, free: 200 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06964/0.4919, allocations: 16.38 MB / 401.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.492, allocations: 4 kB / 401.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.807e-05/0.4921, allocations: 20 kB / 401.3 MB, free: 15.65 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.004087/0.4962, allocations: 1.281 MB / 402.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.4962, allocations: 12.03 kB / 402.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004704/0.4967, allocations: 143.4 kB / 402.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.497, allocations: 118.6 kB / 402.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.4992, allocations: 0.7205 MB / 403.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.52e-05/0.4993, allocations: 66 kB / 403.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.4996, allocations: 84 kB / 403.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003252/0.5028, allocations: 1.213 MB / 405 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.5029, allocations: 0 / 405 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.503, allocations: 36 kB / 405 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.5031, allocations: 24 kB / 405 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/0.5062, allocations: 1.066 MB / 406.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009562/0.5158, allocations: 3.767 MB / 409.8 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.5191, allocations: 1.982 MB / 411.8 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.511e-05/0.5192, allocations: 4.656 kB / 411.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.5193, allocations: 47.16 kB / 411.9 MB, free: 4.609 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 3.877e-06/0.5193, allocations: 0 / 411.9 MB, free: 4.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.01059/0.5299, allocations: 3.245 MB / 415.1 MB, free: 1.246 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.53, allocations: 60.06 kB / 415.2 MB, free: 1.176 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.5314, allocations: 0.6154 MB / 415.8 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.5316, allocations: 41.7 kB / 415.8 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/0.532, allocations: 408 kB / 416.2 MB, free: 104 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.243/0.775, allocations: 229.6 kB / 416.5 MB, free: 90.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.7752, allocations: 11.62 kB / 416.5 MB, free: 90.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002613/0.7754, allocations: 387.8 kB / 416.8 MB, free: 90.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.7767, allocations: 364.2 kB / 417.2 MB, free: 90.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.7779, allocations: 421.5 kB / 417.6 MB, free: 90.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.779, allocations: 399.6 kB / 418 MB, free: 90.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.7791, allocations: 1.125 kB / 418 MB, free: 90.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00339/0.7825, allocations: 1.204 MB / 419.2 MB, free: 90.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.7825, allocations: 11.73 kB / 419.2 MB, free: 90.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.7826, allocations: 0 / 419.2 MB, free: 90.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/0.7842, allocations: 467 kB / 419.7 MB, free: 90.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007437/0.785, allocations: 89.69 kB / 419.8 MB, free: 90.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.7959, allocations: 8.59 MB / 428.4 MB, free: 85.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000799/0.7967, allocations: 37.62 kB / 428.4 MB, free: 85.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/0.7968, allocations: 15.19 kB / 428.4 MB, free: 85.11 MB / 346.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.0007781/0.7976, allocations: 400.1 kB / 428.8 MB, free: 84.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.7978, allocations: 77.53 kB / 428.9 MB, free: 84.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.7981, allocations: 111.9 kB / 429 MB, free: 84.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.7981, allocations: 9.062 kB / 429 MB, free: 84.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.7982, allocations: 3.953 kB / 429 MB, free: 84.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.7982, allocations: 7.062 kB / 429 MB, free: 84.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006067/0.8043, allocations: 2.497 MB / 431.5 MB, free: 83.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.8043, allocations: 3.953 kB / 431.5 MB, free: 83.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007046/0.805, allocations: 85.33 kB / 431.6 MB, free: 83.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/0.8067, allocations: 456.9 kB / 432 MB, free: 83.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.881e-05/0.8068, allocations: 11.97 kB / 432 MB, free: 83.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.818, allocations: 8.528 MB / 440.6 MB, free: 76.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.8181, allocations: 3.281 kB / 440.6 MB, free: 76.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004277/0.8223, allocations: 1.873 MB / 442.4 MB, free: 76.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006643/0.8231, allocations: 236.8 kB / 442.7 MB, free: 75.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.8232, allocations: 15.59 kB / 442.7 MB, free: 75.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000706/0.824, allocations: 43.52 kB / 442.7 MB, free: 75.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/0.8243, allocations: 73.7 kB / 442.8 MB, free: 75.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/0.8244, allocations: 18.67 kB / 442.8 MB, free: 75.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009151/0.8253, allocations: 0.4921 MB / 443.3 MB, free: 75.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.8253, allocations: 3.312 kB / 443.3 MB, free: 75.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00166/0.827, allocations: 253.5 kB / 443.6 MB, free: 75.53 MB / 346.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.004833/0.8319, allocations: 2.579 MB / 446.2 MB, free: 73.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003309/0.8352, allocations: 1.481 MB / 447.6 MB, free: 71.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.8353, allocations: 0 / 447.6 MB, free: 71.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.8376, allocations: 1.102 MB / 448.7 MB, free: 70.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.8392, allocations: 205.7 kB / 448.9 MB, free: 70.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.8542, allocations: 6.7 MB / 455.6 MB, free: 64.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009358/0.8552, allocations: 1.268 MB / 456.9 MB, free: 63.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005909/0.8558, allocations: 127.6 kB / 457 MB, free: 63.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/0.8564, allocations: 303.3 kB / 457.3 MB, free: 63.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.193e-06/0.8564, allocations: 0 / 457.3 MB, free: 63.2 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09316/0.9496, allocations: 22.55 MB / 479.9 MB, free: 40.76 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001349/0.951, allocations: 207.8 kB / 480.1 MB, free: 40.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.344/4.295, allocations: 4 kB / 480.1 MB, free: 40.52 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat