Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.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.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.759/1.759, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08216/0.08255, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3658/0.4484, allocations: 69.45 MB / 341.6 MB, free: 3.469 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.4487, allocations: 75.58 kB / 341.7 MB, free: 3.426 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04964/0.4984, allocations: 8.328 MB / 350 MB, free: 12.37 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.4984, allocations: 3.938 kB / 350 MB, free: 12.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.254e-05/0.4985, allocations: 12 kB / 350 MB, free: 12.35 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.003142/0.5017, allocations: 0.8385 MB / 350.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.5018, allocations: 8.031 kB / 350.9 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004/0.5022, allocations: 111.2 kB / 351 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.5024, allocations: 75.16 kB / 351 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.5035, allocations: 374.6 kB / 351.4 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.5036, allocations: 42.31 kB / 351.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.5038, allocations: 50 kB / 351.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.5058, allocations: 0.5761 MB / 352.1 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.5059, allocations: 0 / 352.1 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-05/0.506, allocations: 22.52 kB / 352.1 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.506, allocations: 12 kB / 352.1 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.508, allocations: 477.9 kB / 352.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006647/0.5147, allocations: 2.119 MB / 354.7 MB, free: 8.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.5167, allocations: 0.6349 MB / 355.3 MB, free: 7.914 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.754e-05/0.5168, allocations: 4.562 kB / 355.3 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.5169, allocations: 38.5 kB / 355.4 MB, free: 7.867 MB / 282.7 MB Notification: Performance of pre-optimization done (n=60): time 5.61e-06/0.5169, allocations: 0 / 355.4 MB, free: 7.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=61): time 0.009145/0.5261, allocations: 1.989 MB / 357.4 MB, free: 6.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.5262, allocations: 59.97 kB / 357.4 MB, free: 6.098 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007742/0.527, allocations: 316.4 kB / 357.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.5271, allocations: 37.77 kB / 357.8 MB, free: 5.805 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.5274, allocations: 239.4 kB / 358 MB, free: 5.629 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/0.5278, allocations: 207.2 kB / 358.2 MB, free: 5.449 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.5279, allocations: 15.62 kB / 358.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.5281, allocations: 353.9 kB / 358.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007908/0.5289, allocations: 174.7 kB / 358.7 MB, free: 4.992 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008656/0.5298, allocations: 216.2 kB / 358.9 MB, free: 4.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009086/0.5307, allocations: 186.8 kB / 359.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.5308, allocations: 0 / 359.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00359/0.5344, allocations: 0.677 MB / 359.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.5345, allocations: 4 kB / 359.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.5345, allocations: 7.938 kB / 359.8 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/0.5362, allocations: 254 kB / 360.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008603/0.5371, allocations: 70.58 kB / 360.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.5521, allocations: 6.834 MB / 367 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000848/0.553, allocations: 26.7 kB / 367 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/0.5532, allocations: 15.5 kB / 367 MB, free: 13.3 MB / 298.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.0005305/0.5537, allocations: 179.8 kB / 367.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.554, allocations: 50.31 kB / 367.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.5542, allocations: 71.2 kB / 367.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.5543, allocations: 4 kB / 367.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/0.5543, allocations: 4 kB / 367.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.5543, allocations: 7.938 kB / 367.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/0.5598, allocations: 1.362 MB / 368.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.5599, allocations: 4 kB / 368.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.5607, allocations: 62.83 kB / 368.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/0.5625, allocations: 256.6 kB / 369 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.256e-05/0.5626, allocations: 11.5 kB / 369 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/0.5765, allocations: 6.832 MB / 375.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5766, allocations: 0.5 kB / 375.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004031/0.5806, allocations: 1.04 MB / 376.9 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.5812, allocations: 171.9 kB / 377 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.5813, allocations: 11.5 kB / 377.1 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/0.582, allocations: 23.86 kB / 377.1 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.5823, allocations: 56 kB / 377.1 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/0.5823, allocations: 15.62 kB / 377.1 MB, free: 4.102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005953/0.5829, allocations: 260.2 kB / 377.4 MB, free: 3.895 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.583, allocations: 0 / 377.4 MB, free: 3.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001918/0.5849, allocations: 178.2 kB / 377.6 MB, free: 3.742 MB / 298.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.005274/0.5902, allocations: 1.603 MB / 379.2 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003806/0.5941, allocations: 1.047 MB / 380.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5941, allocations: 0 / 380.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002767/0.5969, allocations: 0.8448 MB / 381.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.598, allocations: 78.58 kB / 381.1 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.6117, allocations: 3.576 MB / 384.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009733/0.6128, allocations: 0.9026 MB / 385.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005162/0.6133, allocations: 52.55 kB / 385.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/0.6139, allocations: 175.4 kB / 385.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.923e-06/0.6139, allocations: 0 / 385.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/0.7328, allocations: 12.18 MB / 398 MB, free: 15.64 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000353/0.7333, allocations: 215.4 kB / 398.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/3.945, allocations: 0 / 398.2 MB, free: 15.39 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat