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.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 8 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3035, allocations: 44.5 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.4403, allocations: 76.3 MB / 384.9 MB, free: 384 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.4407, allocations: 83.95 kB / 385 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0318/0.4725, allocations: 7.047 MB / 392 MB, free: 9.195 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.467e-06/0.4726, allocations: 3.984 kB / 392 MB, free: 9.191 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.011e-05/0.4727, allocations: 8 kB / 392 MB, free: 9.184 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001992/0.4747, allocations: 0.6973 MB / 392.7 MB, free: 8.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.4748, allocations: 12.03 kB / 392.7 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.4749, allocations: 78.52 kB / 392.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.4751, allocations: 59.3 kB / 392.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009214/0.476, allocations: 367 kB / 393.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.4761, allocations: 33 kB / 393.3 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.4762, allocations: 40 kB / 393.3 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.4775, allocations: 445.5 kB / 393.7 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.4775, allocations: 4 kB / 393.7 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.4776, allocations: 20 kB / 393.8 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.4776, allocations: 12 kB / 393.8 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000983/0.4786, allocations: 323.7 kB / 394.1 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004417/0.4831, allocations: 1.848 MB / 395.9 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.4844, allocations: 0.6149 MB / 396.5 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-05/0.4844, allocations: 4.328 kB / 396.5 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007163/0.4852, allocations: 265.1 kB / 396.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 3.417e-06/0.4852, allocations: 0 / 396.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.003997/0.4892, allocations: 0.846 MB / 397.7 MB, free: 3.207 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.4893, allocations: 85.05 kB / 397.7 MB, free: 3.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004734/0.4898, allocations: 275.7 kB / 398 MB, free: 2.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.4899, allocations: 37.7 kB / 398 MB, free: 2.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.4901, allocations: 208.4 kB / 398.2 MB, free: 2.578 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.4903, allocations: 138.1 kB / 398.4 MB, free: 2.441 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.4903, allocations: 12 kB / 398.4 MB, free: 2.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4905, allocations: 346.8 kB / 398.7 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.4909, allocations: 117.1 kB / 398.8 MB, free: 1.969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.4914, allocations: 244.1 kB / 399.1 MB, free: 1.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.4919, allocations: 147.7 kB / 399.2 MB, free: 1.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4919, allocations: 0 / 399.2 MB, free: 1.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001431/0.4933, allocations: 0.5059 MB / 399.7 MB, free: 1.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.4934, allocations: 8.438 kB / 399.7 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.4934, allocations: 4 kB / 399.7 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007478/0.4941, allocations: 148.7 kB / 399.9 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/0.4946, allocations: 67.84 kB / 400 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004266/0.4989, allocations: 2.341 MB / 402.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.4994, allocations: 43.66 kB / 402.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.4995, allocations: 16 kB / 402.4 MB, free: 14.26 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: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003563/0.4998, allocations: 177.7 kB / 402.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.4999, allocations: 43.48 kB / 402.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.5001, allocations: 44.3 kB / 402.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.5001, allocations: 4 kB / 402.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5001, allocations: 3.984 kB / 402.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.5001, allocations: 0 / 402.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.5023, allocations: 1.008 MB / 403.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.5023, allocations: 3.984 kB / 403.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.5027, allocations: 31.98 kB / 403.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006934/0.5034, allocations: 146.6 kB / 403.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.5035, allocations: 4 kB / 403.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004183/0.5077, allocations: 2.336 MB / 406.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5077, allocations: 0 / 406.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.5096, allocations: 0.7116 MB / 406.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.51, allocations: 156.5 kB / 407 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.131e-05/0.5101, allocations: 7.984 kB / 407 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.5105, allocations: 16 kB / 407 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.5107, allocations: 39.94 kB / 407.1 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.5107, allocations: 12 kB / 407.1 MB, free: 9.281 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003819/0.5111, allocations: 215.1 kB / 407.3 MB, free: 9.074 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5111, allocations: 0 / 407.3 MB, free: 9.074 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008683/0.512, allocations: 147.7 kB / 407.4 MB, free: 8.93 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.00233/0.5143, allocations: 1.276 MB / 408.7 MB, free: 7.625 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.5159, allocations: 0.5335 MB / 409.3 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.5159, allocations: 4 kB / 409.3 MB, free: 7.074 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008907/0.5169, allocations: 383.2 kB / 409.6 MB, free: 6.688 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.5175, allocations: 64.98 kB / 409.7 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.5216, allocations: 3.661 MB / 413.4 MB, free: 2.852 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.5222, allocations: 0.836 MB / 414.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000294/0.5225, allocations: 35.31 kB / 414.2 MB, free: 1.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.5228, allocations: 139.4 kB / 414.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of SimCode: time 1.442e-06/0.5228, allocations: 0 / 414.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2946/0.8174, allocations: 9.438 MB / 423.8 MB, free: 94.95 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003193/0.8178, allocations: 253.8 kB / 424 MB, free: 94.62 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.98/3.797, allocations: 3.938 kB / 424.1 MB, free: 94.61 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat