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.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_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.214/2.214, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 15.94 kB / 264.1 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09624/0.09666, allocations: 44.5 MB / 308.6 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4055/0.5022, allocations: 78.08 MB / 386.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.5026, allocations: 87.14 kB / 386.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05725/0.5599, allocations: 13.4 MB / 400.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.56, allocations: 0 / 400.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001223/0.5601, allocations: 15.41 kB / 400.1 MB, free: 13.27 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003874/0.564, allocations: 1.033 MB / 401.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.691e-05/0.5641, allocations: 9.062 kB / 401.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004608/0.5646, allocations: 113.2 kB / 401.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.5649, allocations: 92.84 kB / 401.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.5671, allocations: 0.6097 MB / 402 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.17e-05/0.5672, allocations: 51.81 kB / 402 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.5674, allocations: 77.95 kB / 402.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003274/0.5707, allocations: 0.9045 MB / 403 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.093e-05/0.5708, allocations: 0 / 403 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.571, allocations: 24.91 kB / 403 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.211e-05/0.5711, allocations: 27.88 kB / 403.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003217/0.5743, allocations: 0.7737 MB / 403.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008332/0.5827, allocations: 2.819 MB / 406.7 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.5845, allocations: 0.7405 MB / 407.4 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.005e-05/0.5846, allocations: 8.203 kB / 407.4 MB, free: 9.762 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/0.5859, allocations: 369 kB / 407.8 MB, free: 9.617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 4.438e-06/0.5859, allocations: 4 kB / 407.8 MB, free: 9.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.005968/0.5919, allocations: 1.206 MB / 409 MB, free: 9.191 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.592, allocations: 92.19 kB / 409.1 MB, free: 9.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.5933, allocations: 0.506 MB / 409.6 MB, free: 8.902 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.5935, allocations: 39.3 kB / 409.6 MB, free: 8.871 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.5939, allocations: 382.6 kB / 410 MB, free: 8.602 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.5941, allocations: 142.2 kB / 410.1 MB, free: 8.508 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.5941, allocations: 9.875 kB / 410.1 MB, free: 8.504 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.5943, allocations: 333.5 kB / 410.5 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008364/0.5951, allocations: 222.7 kB / 410.7 MB, free: 8.141 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008955/0.596, allocations: 351.8 kB / 411 MB, free: 7.953 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008724/0.5969, allocations: 251.2 kB / 411.3 MB, free: 7.914 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.597, allocations: 0 / 411.3 MB, free: 7.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002525/0.5995, allocations: 0.7282 MB / 412 MB, free: 7.719 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.5996, allocations: 4.281 kB / 412 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.5996, allocations: 7.906 kB / 412 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.6007, allocations: 198.1 kB / 412.2 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007884/0.6015, allocations: 74.06 kB / 412.3 MB, free: 7.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005901/0.6074, allocations: 2.74 MB / 415 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009689/0.6085, allocations: 50.53 kB / 415.1 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/0.6086, allocations: 23.3 kB / 415.1 MB, free: 5.957 MB / 314.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.0009267/0.6095, allocations: 324.7 kB / 415.4 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.6097, allocations: 54.5 kB / 415.5 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.61, allocations: 71.5 kB / 415.5 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.6101, allocations: 7.828 kB / 415.5 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.6101, allocations: 0 / 415.5 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.6101, allocations: 3.984 kB / 415.5 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004605/0.6147, allocations: 1.524 MB / 417.1 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.6148, allocations: 0 / 417.1 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/0.6154, allocations: 50.06 kB / 417.1 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009401/0.6164, allocations: 193.4 kB / 417.3 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/0.6165, allocations: 11.03 kB / 417.3 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005685/0.6222, allocations: 2.717 MB / 420 MB, free: 3.426 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6222, allocations: 3.953 kB / 420 MB, free: 3.422 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.6251, allocations: 1.122 MB / 421.2 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/0.6256, allocations: 195 kB / 421.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.6257, allocations: 15.08 kB / 421.4 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/0.6263, allocations: 29.47 kB / 421.4 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.6265, allocations: 46.95 kB / 421.4 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.6266, allocations: 15.05 kB / 421.5 MB, free: 2.895 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007093/0.6273, allocations: 411.1 kB / 421.9 MB, free: 2.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6273, allocations: 4 kB / 421.9 MB, free: 2.746 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001082/0.6284, allocations: 200.1 kB / 422.1 MB, free: 2.715 MB / 314.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.002839/0.6313, allocations: 1.688 MB / 423.7 MB, free: 1.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.6332, allocations: 0.7334 MB / 424.5 MB, free: 1.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.6332, allocations: 0 / 424.5 MB, free: 1.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.6343, allocations: 479 kB / 424.9 MB, free: 1.395 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.6355, allocations: 137.4 kB / 425.1 MB, free: 1.355 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006427/0.642, allocations: 4.528 MB / 429.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009347/0.643, allocations: 1.072 MB / 430.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/0.6435, allocations: 245.1 kB / 430.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6436, allocations: 0 / 430.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.932/3.576, allocations: 15.87 MB / 446.8 MB, free: 2.668 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat