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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003514, allocations: 12 kB / 264.1 MB, free: 13.45 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1561, allocations: 44.5 MB / 308.6 MB, free: 0.875 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5966, allocations: 78.66 MB / 387.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.597, allocations: 92.91 kB / 387.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07828/0.6753, allocations: 20.94 MB / 408.3 MB, free: 9.734 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.6753, allocations: 0 / 408.3 MB, free: 9.734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001132/0.6755, allocations: 34.8 kB / 408.3 MB, free: 9.727 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.00491/0.6804, allocations: 1.535 MB / 409.8 MB, free: 8.727 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.6805, allocations: 15.53 kB / 409.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005821/0.6811, allocations: 169.5 kB / 410 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003975/0.6815, allocations: 155.1 kB / 410.2 MB, free: 8.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.684, allocations: 0.9553 MB / 411.1 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.369e-05/0.6841, allocations: 82.75 kB / 411.2 MB, free: 8.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.6844, allocations: 98.56 kB / 411.3 MB, free: 8.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004047/0.6884, allocations: 1.532 MB / 412.8 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/0.6885, allocations: 0 / 412.8 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.6887, allocations: 44.44 kB / 412.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.858e-05/0.6888, allocations: 44.8 kB / 412.9 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003929/0.6927, allocations: 1.382 MB / 414.3 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01097/0.7037, allocations: 4.976 MB / 419.3 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.7063, allocations: 1.454 MB / 420.7 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-05/0.7064, allocations: 8.062 kB / 420.7 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/0.708, allocations: 0.62 MB / 421.3 MB, free: 3.871 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 4.699e-06/0.7081, allocations: 0 / 421.3 MB, free: 3.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.01157/0.7196, allocations: 2.457 MB / 423.8 MB, free: 3.035 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.7198, allocations: 92.45 kB / 423.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.7219, allocations: 0.8413 MB / 424.7 MB, free: 2.672 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.7222, allocations: 41.05 kB / 424.8 MB, free: 2.641 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006183/0.7228, allocations: 0.5147 MB / 425.3 MB, free: 2.312 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/0.7232, allocations: 233.2 kB / 425.5 MB, free: 2.148 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.7233, allocations: 15.06 kB / 425.5 MB, free: 2.148 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7235, allocations: 334.2 kB / 425.9 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.725, allocations: 415.7 kB / 426.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.7268, allocations: 0.5493 MB / 426.8 MB, free: 1.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.7285, allocations: 456.9 kB / 427.3 MB, free: 1.441 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.7285, allocations: 0 / 427.3 MB, free: 1.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004395/0.7329, allocations: 1.232 MB / 428.5 MB, free: 1.164 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.733, allocations: 10.42 kB / 428.5 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.733, allocations: 3.219 kB / 428.5 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/0.7349, allocations: 407.5 kB / 428.9 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.7361, allocations: 110.3 kB / 429 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.7476, allocations: 4.252 MB / 433.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.7491, allocations: 90.48 kB / 433.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.7493, allocations: 27.39 kB / 433.4 MB, free: 14.58 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 (58): * Single equations (assignments): 57 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.00155/0.7508, allocations: 490.7 kB / 433.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/0.7513, allocations: 93.42 kB / 433.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.7517, allocations: 115.6 kB / 434.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.7518, allocations: 11.78 kB / 434.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.7518, allocations: 3.953 kB / 434.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.7518, allocations: 3.984 kB / 434.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008728/0.7606, allocations: 2.59 MB / 436.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.7606, allocations: 3.844 kB / 436.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.7617, allocations: 89.72 kB / 436.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/0.7636, allocations: 390.5 kB / 437.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.7638, allocations: 11.88 kB / 437.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/0.7755, allocations: 4.223 MB / 441.4 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7755, allocations: 0 / 441.4 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007398/0.783, allocations: 1.97 MB / 443.3 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.7841, allocations: 287.8 kB / 443.6 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/0.7844, allocations: 12 kB / 443.6 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.7856, allocations: 55.94 kB / 443.7 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004157/0.786, allocations: 68.55 kB / 443.8 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.7861, allocations: 27.98 kB / 443.8 MB, free: 6.398 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002004/0.7881, allocations: 0.6629 MB / 444.5 MB, free: 5.742 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.7882, allocations: 0 / 444.5 MB, free: 5.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002432/0.7906, allocations: 350.8 kB / 444.8 MB, free: 5.398 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 (45): * Single equations (assignments): 41 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.006953/0.7976, allocations: 2.558 MB / 447.4 MB, free: 2.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003733/0.8014, allocations: 1.284 MB / 448.6 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.8015, allocations: 3.984 kB / 448.6 MB, free: 1.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002289/0.8038, allocations: 0.8147 MB / 449.5 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.8056, allocations: 223.9 kB / 449.7 MB, free: 472 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.8176, allocations: 6.093 MB / 455.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/0.8193, allocations: 1.385 MB / 457.1 MB, free: 8.828 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.8205, allocations: 415.3 kB / 457.6 MB, free: 8.422 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8205, allocations: 3.938 kB / 457.6 MB, free: 8.418 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.024/3.845, allocations: 27.21 MB / 484.8 MB, free: 13.21 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat