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.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005087, allocations: 8 kB / 264.1 MB, free: 2.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2984, allocations: 44.5 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.4423, allocations: 78.09 MB / 386.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/0.4427, allocations: 91.95 kB / 386.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05901/0.5017, allocations: 13.39 MB / 400.2 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.5018, allocations: 0 / 400.2 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.617e-05/0.5018, allocations: 19.98 kB / 400.2 MB, free: 0.8711 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002956/0.5048, allocations: 1.034 MB / 401.2 MB, free: 15.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.5049, allocations: 8.031 kB / 401.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002711/0.5052, allocations: 118.5 kB / 401.3 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.5054, allocations: 90.88 kB / 401.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.507, allocations: 0.611 MB / 402 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/0.5071, allocations: 45.31 kB / 402.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.5073, allocations: 71.86 kB / 402.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.5097, allocations: 0.9074 MB / 403.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.5098, allocations: 0 / 403.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.5099, allocations: 35.98 kB / 403.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.368e-05/0.51, allocations: 25.31 kB / 403.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.5122, allocations: 0.7585 MB / 403.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006908/0.5192, allocations: 2.823 MB / 406.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.5207, allocations: 0.7455 MB / 407.4 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/0.5208, allocations: 8.312 kB / 407.5 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009912/0.5218, allocations: 381 kB / 407.8 MB, free: 8.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.247e-06/0.5218, allocations: 0 / 407.8 MB, free: 8.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.004781/0.5266, allocations: 1.205 MB / 409 MB, free: 7.652 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.5267, allocations: 89.09 kB / 409.1 MB, free: 7.547 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.5279, allocations: 0.5088 MB / 409.6 MB, free: 7.031 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.5281, allocations: 41.69 kB / 409.7 MB, free: 6.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.5285, allocations: 344 kB / 410 MB, free: 6.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.5288, allocations: 142 kB / 410.1 MB, free: 6.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.5288, allocations: 8 kB / 410.1 MB, free: 6.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.529, allocations: 370.7 kB / 410.5 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007312/0.5298, allocations: 225 kB / 410.7 MB, free: 5.902 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008713/0.5307, allocations: 348 kB / 411.1 MB, free: 5.512 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009959/0.5317, allocations: 251.9 kB / 411.3 MB, free: 5.266 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/0.5317, allocations: 0 / 411.3 MB, free: 5.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002929/0.5347, allocations: 0.7663 MB / 412.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.5347, allocations: 8 kB / 412.1 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.5348, allocations: 4 kB / 412.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.5359, allocations: 192.7 kB / 412.3 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.5367, allocations: 84.02 kB / 412.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006715/0.5434, allocations: 2.725 MB / 415.1 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009149/0.5444, allocations: 59.61 kB / 415.1 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.791e-05/0.5445, allocations: 16 kB / 415.2 MB, free: 1.266 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: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009826/0.5455, allocations: 325.6 kB / 415.5 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.5457, allocations: 59.28 kB / 415.5 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.546, allocations: 65.27 kB / 415.6 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.546, allocations: 7.953 kB / 415.6 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.546, allocations: 0 / 415.6 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.546, allocations: 0 / 415.6 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3396/0.8856, allocations: 1.526 MB / 417.1 MB, free: 92.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.8857, allocations: 0.5312 kB / 417.1 MB, free: 92.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/0.8862, allocations: 52.67 kB / 417.2 MB, free: 92.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007766/0.887, allocations: 196.3 kB / 417.4 MB, free: 92.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.027e-05/0.8871, allocations: 11.06 kB / 417.4 MB, free: 92.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00471/0.8918, allocations: 2.713 MB / 420.1 MB, free: 91.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8919, allocations: 1.875 kB / 420.1 MB, free: 91.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.8945, allocations: 1.114 MB / 421.2 MB, free: 90.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.895, allocations: 195.8 kB / 421.4 MB, free: 90.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.8951, allocations: 7.188 kB / 421.4 MB, free: 90.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.8956, allocations: 30.59 kB / 421.4 MB, free: 90.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.8958, allocations: 42.2 kB / 421.5 MB, free: 90.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.8958, allocations: 18.08 kB / 421.5 MB, free: 90.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007021/0.8966, allocations: 417.3 kB / 421.9 MB, free: 90.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.493e-06/0.8966, allocations: 1.219 kB / 421.9 MB, free: 90.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009777/0.8976, allocations: 204.3 kB / 422.1 MB, free: 90.73 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002812/0.9004, allocations: 1.704 MB / 423.8 MB, free: 90.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.9023, allocations: 0.7272 MB / 424.5 MB, free: 89.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.9023, allocations: 0 / 424.5 MB, free: 89.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.9034, allocations: 478.2 kB / 425 MB, free: 89.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.9044, allocations: 135.4 kB / 425.1 MB, free: 89.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005234/0.9097, allocations: 4.519 MB / 429.7 MB, free: 86.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/0.9104, allocations: 1.086 MB / 430.7 MB, free: 85.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005263/0.9109, allocations: 101.4 kB / 430.8 MB, free: 85.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.9114, allocations: 237.7 kB / 431.1 MB, free: 85.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/0.9114, allocations: 0 / 431.1 MB, free: 85.21 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06111/0.9725, allocations: 14.63 MB / 445.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/0.9729, allocations: 276.7 kB / 446 MB, free: 75.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.119/4.092, allocations: 0 / 446 MB, free: 75.73 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat