Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.95/1.95, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003452, allocations: 12 kB / 264.1 MB, free: 13.45 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09222/0.0926, allocations: 44.49 MB / 308.6 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.5753, allocations: 79.36 MB / 387.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.5756, allocations: 88.83 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07409/0.6497, allocations: 20.36 MB / 408.4 MB, free: 9.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.6498, allocations: 0 / 408.4 MB, free: 9.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001006/0.6499, allocations: 38.66 kB / 408.4 MB, free: 9.812 MB / 314.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.004056/0.654, allocations: 1.429 MB / 409.8 MB, free: 8.867 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.654, allocations: 7.656 kB / 409.8 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004351/0.6545, allocations: 158.8 kB / 410 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/0.6548, allocations: 144 kB / 410.1 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00581/0.6606, allocations: 1.681 MB / 411.8 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/0.6607, allocations: 77.3 kB / 411.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.661, allocations: 97.69 kB / 412 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/0.6642, allocations: 1.425 MB / 413.4 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.958e-05/0.6642, allocations: 0 / 413.4 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.6644, allocations: 43.98 kB / 413.4 MB, free: 7.566 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.126e-05/0.6645, allocations: 40.53 kB / 413.5 MB, free: 7.566 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003045/0.6675, allocations: 1.24 MB / 414.7 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008758/0.6763, allocations: 4.329 MB / 419.1 MB, free: 5.387 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.6788, allocations: 1.976 MB / 421 MB, free: 4.051 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.856e-05/0.6789, allocations: 7.719 kB / 421 MB, free: 4.051 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/0.6802, allocations: 0.5947 MB / 421.6 MB, free: 3.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 3.206e-06/0.6802, allocations: 3.938 kB / 421.6 MB, free: 3.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.01143/0.6916, allocations: 2.724 MB / 424.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.6917, allocations: 111.1 kB / 424.5 MB, free: 2.758 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.6931, allocations: 0.7393 MB / 425.2 MB, free: 2.516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.6933, allocations: 43.05 kB / 425.3 MB, free: 2.484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/0.6937, allocations: 498.9 kB / 425.7 MB, free: 2.164 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.694, allocations: 243.8 kB / 426 MB, free: 1.996 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.694, allocations: 13.12 kB / 426 MB, free: 1.996 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.183e-05/0.6941, allocations: 341 kB / 426.3 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009501/0.6951, allocations: 395.3 kB / 426.7 MB, free: 1.609 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.6961, allocations: 0.5403 MB / 427.2 MB, free: 1.375 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009831/0.6971, allocations: 446.3 kB / 427.7 MB, free: 1.305 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.6971, allocations: 3.875 kB / 427.7 MB, free: 1.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002782/0.6999, allocations: 1.243 MB / 428.9 MB, free: 1.035 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.7, allocations: 16.08 kB / 428.9 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.7, allocations: 7.688 kB / 429 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.7017, allocations: 470.5 kB / 429.4 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/0.7024, allocations: 89.8 kB / 429.5 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.7129, allocations: 5.292 MB / 434.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.714, allocations: 89.84 kB / 434.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/0.714, allocations: 27.5 kB / 434.9 MB, free: 13.78 MB / 330.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.001042/0.7151, allocations: 462.9 kB / 435.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.7153, allocations: 85.28 kB / 435.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.7157, allocations: 115.4 kB / 435.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.7157, allocations: 7.781 kB / 435.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.7157, allocations: 0 / 435.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.7157, allocations: 3.984 kB / 435.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006186/0.7219, allocations: 2.632 MB / 438.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.722, allocations: 4 kB / 438.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/0.7225, allocations: 70.22 kB / 438.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/0.7243, allocations: 454.6 kB / 438.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.7244, allocations: 15.95 kB / 438.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/0.7359, allocations: 5.278 MB / 444 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.7359, allocations: 4 kB / 444 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004917/0.7409, allocations: 1.922 MB / 445.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/0.7417, allocations: 271.9 kB / 446.2 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.7419, allocations: 15.98 kB / 446.2 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007681/0.7427, allocations: 51.95 kB / 446.3 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/0.743, allocations: 68.55 kB / 446.3 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.141e-05/0.7431, allocations: 20.11 kB / 446.4 MB, free: 4.043 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00127/0.7444, allocations: 0.5849 MB / 446.9 MB, free: 3.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.7444, allocations: 0 / 446.9 MB, free: 3.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00164/0.7461, allocations: 339.1 kB / 447.3 MB, free: 3.129 MB / 330.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.005311/0.7514, allocations: 2.511 MB / 449.8 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003564/0.755, allocations: 1.285 MB / 451.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.7551, allocations: 0 / 451.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002298/0.7574, allocations: 0.8357 MB / 451.9 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.7594, allocations: 252.8 kB / 452.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009338/0.7688, allocations: 5.593 MB / 457.7 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.7702, allocations: 1.319 MB / 459.1 MB, free: 7.145 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008577/0.7711, allocations: 383.3 kB / 459.4 MB, free: 6.773 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7711, allocations: 0 / 459.4 MB, free: 6.773 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.374/4.145, allocations: 25.32 MB / 484.8 MB, free: 13.45 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat