Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 194.9 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 8 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2944, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.436, allocations: 79.35 MB / 387.9 MB, free: 13.31 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003708/0.4365, allocations: 91.94 kB / 388 MB, free: 13.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08578/0.5223, allocations: 20.37 MB / 408.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5223, allocations: 0 / 408.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001445/0.5225, allocations: 31.94 kB / 408.4 MB, free: 8.66 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.005172/0.5277, allocations: 1.427 MB / 409.9 MB, free: 7.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.5277, allocations: 8.031 kB / 409.9 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006573/0.5284, allocations: 160.2 kB / 410 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004174/0.5288, allocations: 146.3 kB / 410.2 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006694/0.5355, allocations: 1.682 MB / 411.8 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.5357, allocations: 74 kB / 411.9 MB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000273/0.536, allocations: 100 kB / 412 MB, free: 4.965 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00385/0.5398, allocations: 1.419 MB / 413.4 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.5399, allocations: 0 / 413.4 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.5401, allocations: 40 kB / 413.5 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.592e-05/0.5402, allocations: 41.98 kB / 413.5 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/0.5438, allocations: 1.234 MB / 414.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3101/0.854, allocations: 4.336 MB / 419.1 MB, free: 85.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.8568, allocations: 1.974 MB / 421.1 MB, free: 84.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.579e-05/0.857, allocations: 9.812 kB / 421.1 MB, free: 84.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/0.8582, allocations: 0.5975 MB / 421.7 MB, free: 84.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 3.286e-06/0.8583, allocations: 0 / 421.7 MB, free: 84.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.01164/0.8699, allocations: 2.725 MB / 424.4 MB, free: 84.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.87, allocations: 117.3 kB / 424.5 MB, free: 84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.8715, allocations: 0.7368 MB / 425.2 MB, free: 83.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.8717, allocations: 42.36 kB / 425.3 MB, free: 83.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004527/0.8721, allocations: 484.8 kB / 425.8 MB, free: 83.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.8724, allocations: 240.9 kB / 426 MB, free: 83.58 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.8725, allocations: 18.28 kB / 426 MB, free: 83.58 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8727, allocations: 392.2 kB / 426.4 MB, free: 83.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000955/0.8736, allocations: 401.9 kB / 426.8 MB, free: 83.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.8747, allocations: 0.5448 MB / 427.3 MB, free: 83.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000996/0.8757, allocations: 443 kB / 427.8 MB, free: 83.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.8757, allocations: 3.938 kB / 427.8 MB, free: 83.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00314/0.8789, allocations: 1.299 MB / 429.1 MB, free: 83.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.8789, allocations: 3.812 kB / 429.1 MB, free: 83.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.879, allocations: 6.031 kB / 429.1 MB, free: 83.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/0.8807, allocations: 468.9 kB / 429.5 MB, free: 83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/0.8814, allocations: 93.97 kB / 429.6 MB, free: 83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009868/0.8913, allocations: 5.297 MB / 434.9 MB, free: 79.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.8924, allocations: 84.97 kB / 435 MB, free: 79.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.8925, allocations: 23.31 kB / 435 MB, free: 79.92 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.001029/0.8936, allocations: 467.9 kB / 435.5 MB, free: 79.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.8939, allocations: 85.38 kB / 435.6 MB, free: 79.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.8942, allocations: 114.8 kB / 435.7 MB, free: 79.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.8943, allocations: 7.406 kB / 435.7 MB, free: 79.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.8943, allocations: 3.469 kB / 435.7 MB, free: 79.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.8943, allocations: 7.75 kB / 435.7 MB, free: 79.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006347/0.9007, allocations: 2.616 MB / 438.3 MB, free: 78.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.9007, allocations: 0 / 438.3 MB, free: 78.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.9013, allocations: 72.69 kB / 438.4 MB, free: 78.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.9029, allocations: 462.5 kB / 438.8 MB, free: 78.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.653e-05/0.903, allocations: 13.59 kB / 438.8 MB, free: 78.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009699/0.9127, allocations: 5.275 MB / 444.1 MB, free: 74.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.9127, allocations: 4 kB / 444.1 MB, free: 74.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004168/0.9169, allocations: 1.922 MB / 446 MB, free: 73.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006795/0.9176, allocations: 276.1 kB / 446.3 MB, free: 72.99 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.9178, allocations: 16 kB / 446.3 MB, free: 72.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007213/0.9186, allocations: 39.53 kB / 446.4 MB, free: 72.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/0.9189, allocations: 86.12 kB / 446.5 MB, free: 72.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-05/0.919, allocations: 19.5 kB / 446.5 MB, free: 72.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001033/0.92, allocations: 0.5813 MB / 447.1 MB, free: 72.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.92, allocations: 0 / 447.1 MB, free: 72.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001457/0.9215, allocations: 346.5 kB / 447.4 MB, free: 72.06 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.005133/0.9267, allocations: 2.508 MB / 449.9 MB, free: 69.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003068/0.9298, allocations: 1.282 MB / 451.2 MB, free: 68.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.9298, allocations: 4.188 kB / 451.2 MB, free: 68.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.9317, allocations: 0.8287 MB / 452 MB, free: 67.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.9334, allocations: 244.5 kB / 452.3 MB, free: 67.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007013/0.9404, allocations: 5.624 MB / 457.9 MB, free: 62.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009872/0.9415, allocations: 1.342 MB / 459.2 MB, free: 61.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000716/0.9422, allocations: 138 kB / 459.4 MB, free: 61.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/0.9428, allocations: 385 kB / 459.7 MB, free: 60.87 MB / 346.7 MB Notification: Performance of SimCode: time 2.665e-06/0.9429, allocations: 0 / 459.7 MB, free: 60.87 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07077/1.014, allocations: 26.14 MB / 485.9 MB, free: 35.05 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.014, allocations: 248.3 kB / 486.1 MB, free: 34.72 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.37/4.383, allocations: 8 kB / 486.1 MB, free: 34.71 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat