Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.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.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.129/2.129, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003572, allocations: 16 kB / 264.1 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3035, allocations: 44.5 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.4493, allocations: 74.75 MB / 383.3 MB, free: 1.816 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.4497, allocations: 71.95 kB / 383.4 MB, free: 1.746 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03995/0.4897, allocations: 8.756 MB / 392.1 MB, free: 8.926 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.352e-06/0.4897, allocations: 0 / 392.1 MB, free: 8.926 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.088e-05/0.4898, allocations: 15.94 kB / 392.2 MB, free: 8.91 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002204/0.492, allocations: 0.8144 MB / 393 MB, free: 8.047 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.4921, allocations: 12.03 kB / 393 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004033/0.4925, allocations: 107.6 kB / 393.1 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004292/0.4929, allocations: 71.16 kB / 393.2 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.4942, allocations: 376.8 kB / 393.5 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/0.4943, allocations: 37.31 kB / 393.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.4944, allocations: 56 kB / 393.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.496, allocations: 0.5693 MB / 394.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.4961, allocations: 4 kB / 394.2 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.4961, allocations: 23.95 kB / 394.2 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.4962, allocations: 12 kB / 394.2 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.4977, allocations: 480.9 kB / 394.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004684/0.5024, allocations: 2.121 MB / 396.8 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.504, allocations: 0.6376 MB / 397.5 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-05/0.504, allocations: 4.562 kB / 397.5 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.5041, allocations: 39.12 kB / 397.5 MB, free: 3.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=60): time 3.637e-06/0.5041, allocations: 0 / 397.5 MB, free: 3.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=61): time 0.006989/0.5111, allocations: 1.983 MB / 399.5 MB, free: 1.215 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.5112, allocations: 59.97 kB / 399.5 MB, free: 1.141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.5118, allocations: 316.9 kB / 399.8 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.5119, allocations: 37.7 kB / 399.9 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.5121, allocations: 237 kB / 400.1 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.5123, allocations: 205 kB / 400.3 MB, free: 352 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.5124, allocations: 8 kB / 400.3 MB, free: 344 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.5126, allocations: 362.7 kB / 400.7 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/0.5132, allocations: 173 kB / 400.8 MB, free: 15.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.5138, allocations: 215.8 kB / 401.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.5144, allocations: 182.2 kB / 401.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5145, allocations: 4 kB / 401.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002063/0.5165, allocations: 0.6734 MB / 401.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.5166, allocations: 7.984 kB / 401.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.5166, allocations: 3.938 kB / 401.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.5178, allocations: 259.2 kB / 402.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.5183, allocations: 67.89 kB / 402.2 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009311/0.5277, allocations: 6.833 MB / 409.1 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.5282, allocations: 20.03 kB / 409.1 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.5283, allocations: 20.08 kB / 409.1 MB, free: 6.965 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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.0003624/0.5287, allocations: 177.8 kB / 409.3 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.5288, allocations: 51.34 kB / 409.3 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.529, allocations: 68.94 kB / 409.4 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.529, allocations: 8 kB / 409.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.529, allocations: 0 / 409.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.5291, allocations: 3.953 kB / 409.4 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.5324, allocations: 1.368 MB / 410.8 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5324, allocations: 0 / 410.8 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.5329, allocations: 55.97 kB / 410.8 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.5341, allocations: 255.1 kB / 411.1 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.5341, allocations: 11.98 kB / 411.1 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2603/0.7944, allocations: 6.829 MB / 417.9 MB, free: 91.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.7945, allocations: 0.5 kB / 417.9 MB, free: 91.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/0.7977, allocations: 1.037 MB / 419 MB, free: 91.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/0.7981, allocations: 160.7 kB / 419.1 MB, free: 91.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.7982, allocations: 16.31 kB / 419.1 MB, free: 91.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/0.7987, allocations: 22.83 kB / 419.2 MB, free: 91.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/0.7989, allocations: 55.66 kB / 419.2 MB, free: 91.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.799, allocations: 12.94 kB / 419.2 MB, free: 91.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004096/0.7994, allocations: 257.8 kB / 419.5 MB, free: 91.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7994, allocations: 0 / 419.5 MB, free: 91.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001241/0.8007, allocations: 179.5 kB / 419.7 MB, free: 91.44 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.003034/0.8037, allocations: 1.601 MB / 421.3 MB, free: 90.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002263/0.8061, allocations: 1.05 MB / 422.3 MB, free: 90.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8061, allocations: 0 / 422.3 MB, free: 90.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.8077, allocations: 0.85 MB / 423.2 MB, free: 89.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.8084, allocations: 78.33 kB / 423.2 MB, free: 89.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007828/0.8163, allocations: 3.587 MB / 426.8 MB, free: 88.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.8167, allocations: 0.8922 MB / 427.7 MB, free: 87.72 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002914/0.817, allocations: 55.39 kB / 427.8 MB, free: 87.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.8173, allocations: 173.7 kB / 427.9 MB, free: 87.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.8173, allocations: 0 / 427.9 MB, free: 87.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05438/0.8717, allocations: 12.18 MB / 440.1 MB, free: 79.38 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/0.8721, allocations: 199.8 kB / 440.3 MB, free: 79.14 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.427/4.299, allocations: 0 / 440.3 MB, free: 79.14 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat