Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.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.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.128/2.128, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004954, allocations: 8 kB / 264.1 MB, free: 3.465 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3194, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.4851, allocations: 82.34 MB / 390.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/0.4855, allocations: 87.95 kB / 391 MB, free: 10.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09792/0.5834, allocations: 22.22 MB / 413.2 MB, free: 3.707 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5835, allocations: 0 / 413.2 MB, free: 3.707 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.966e-05/0.5835, allocations: 23.98 kB / 413.2 MB, free: 3.684 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.00405/0.5876, allocations: 1.212 MB / 414.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.5877, allocations: 8.031 kB / 414.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005524/0.5882, allocations: 166.3 kB / 414.6 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003377/0.5916, allocations: 370.4 kB / 415 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.5931, allocations: 0.5373 MB / 415.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.5933, allocations: 74.03 kB / 415.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002776/0.5936, allocations: 108 kB / 415.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/0.5968, allocations: 1.051 MB / 416.8 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/0.5969, allocations: 4 kB / 416.8 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2545/0.8514, allocations: 38.52 kB / 416.8 MB, free: 85.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-05/0.8515, allocations: 24.31 kB / 416.8 MB, free: 85.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003984/0.8555, allocations: 0.9334 MB / 417.8 MB, free: 85.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009189/0.8648, allocations: 3.79 MB / 421.5 MB, free: 83.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/0.8684, allocations: 2.483 MB / 424 MB, free: 81.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.8687, allocations: 90.83 kB / 424.1 MB, free: 81.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/0.8701, allocations: 0.4984 MB / 424.6 MB, free: 81.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=86): time 5.12e-06/0.8701, allocations: 0 / 424.6 MB, free: 81.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=86): time 0.007368/0.8775, allocations: 1.69 MB / 426.3 MB, free: 81.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/0.8776, allocations: 196 kB / 426.5 MB, free: 81.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.8783, allocations: 414.9 kB / 426.9 MB, free: 80.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.8785, allocations: 46.23 kB / 426.9 MB, free: 80.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.8788, allocations: 424.3 kB / 427.4 MB, free: 80.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.8791, allocations: 283.4 kB / 427.6 MB, free: 80.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.8791, allocations: 17.81 kB / 427.7 MB, free: 80.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8793, allocations: 376.4 kB / 428 MB, free: 80.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008811/0.8802, allocations: 283 kB / 428.3 MB, free: 80.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.8812, allocations: 0.5253 MB / 428.8 MB, free: 79.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009903/0.8822, allocations: 346.3 kB / 429.2 MB, free: 79.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.8822, allocations: 3.562 kB / 429.2 MB, free: 79.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003237/0.8855, allocations: 1.103 MB / 430.3 MB, free: 79.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.8855, allocations: 15.61 kB / 430.3 MB, free: 79.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.8856, allocations: 12.16 kB / 430.3 MB, free: 79.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.8869, allocations: 264.2 kB / 430.5 MB, free: 79.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.8881, allocations: 169.2 kB / 430.7 MB, free: 79.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007158/0.8953, allocations: 4.47 MB / 435.2 MB, free: 76.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.8965, allocations: 119.1 kB / 435.3 MB, free: 76.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/0.8967, allocations: 35.19 kB / 435.3 MB, free: 76.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 17,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005887/0.8973, allocations: 251.4 kB / 435.6 MB, free: 76.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.8974, allocations: 70.31 kB / 435.6 MB, free: 76.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003147/0.9006, allocations: 1.002 MB / 436.7 MB, free: 75.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.9006, allocations: 13.75 kB / 436.7 MB, free: 75.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9007, allocations: 0 / 436.7 MB, free: 75.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.9007, allocations: 3.703 kB / 436.7 MB, free: 75.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004619/0.9053, allocations: 1.977 MB / 438.6 MB, free: 74.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.9054, allocations: 0 / 438.6 MB, free: 74.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008901/0.9063, allocations: 106.6 kB / 438.7 MB, free: 74.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.9075, allocations: 265.7 kB / 439 MB, free: 74.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.135e-05/0.9076, allocations: 18.16 kB / 439 MB, free: 74.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00658/0.9142, allocations: 4.438 MB / 443.5 MB, free: 70.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9143, allocations: 0 / 443.5 MB, free: 70.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.9184, allocations: 1.436 MB / 444.9 MB, free: 70.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/0.9189, allocations: 213.1 kB / 445.1 MB, free: 70.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.9191, allocations: 15.03 kB / 445.1 MB, free: 70.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008038/0.9199, allocations: 54.38 kB / 445.2 MB, free: 70.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.9202, allocations: 70.09 kB / 445.2 MB, free: 70.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/0.9202, allocations: 25.67 kB / 445.3 MB, free: 70.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004757/0.9207, allocations: 316.6 kB / 445.6 MB, free: 69.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.9207, allocations: 0 / 445.6 MB, free: 69.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001488/0.9222, allocations: 322.6 kB / 445.9 MB, free: 69.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (currentSensorQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.004356/0.9266, allocations: 2.123 MB / 448 MB, free: 68.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002888/0.9296, allocations: 1.123 MB / 449.1 MB, free: 67.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/0.9296, allocations: 4 kB / 449.1 MB, free: 67.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.9314, allocations: 0.7439 MB / 449.9 MB, free: 66.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008762/0.9323, allocations: 104.4 kB / 450 MB, free: 66.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00896/0.9413, allocations: 7.463 MB / 457.5 MB, free: 59.06 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.942, allocations: 1.011 MB / 458.5 MB, free: 58.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006855/0.9427, allocations: 87.34 kB / 458.5 MB, free: 58.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/0.9432, allocations: 319 kB / 458.9 MB, free: 57.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.173e-06/0.9433, allocations: 0 / 458.9 MB, free: 57.8 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/1.057, allocations: 17.24 MB / 476.1 MB, free: 43.41 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/1.058, allocations: 236.2 kB / 476.3 MB, free: 43.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.425/4.482, allocations: 0 / 476.3 MB, free: 43.16 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat