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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003482, allocations: 15.94 kB / 264.1 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09816, allocations: 44.51 MB / 308.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.5682, allocations: 82.41 MB / 391 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.5686, allocations: 85.03 kB / 391.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04984/0.6185, allocations: 12.83 MB / 403.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6185, allocations: 0 / 403.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.295e-05/0.6186, allocations: 15.06 kB / 403.9 MB, free: 11.98 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002281/0.6209, allocations: 0.9446 MB / 404.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.6209, allocations: 11.69 kB / 404.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002212/0.6212, allocations: 112.2 kB / 405 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.6213, allocations: 81.92 kB / 405 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008981/0.6222, allocations: 479.7 kB / 405.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.436e-05/0.6223, allocations: 46.06 kB / 405.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.6225, allocations: 71.59 kB / 405.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.6241, allocations: 0.6788 MB / 406.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.6242, allocations: 0 / 406.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/0.6243, allocations: 29.97 kB / 406.3 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.6243, allocations: 15.47 kB / 406.4 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.626, allocations: 0.5278 MB / 406.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00479/0.6308, allocations: 2.327 MB / 409.2 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.6327, allocations: 0.5717 MB / 409.8 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.6328, allocations: 4.25 kB / 409.8 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009379/0.6337, allocations: 359.6 kB / 410.1 MB, free: 8.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.855e-06/0.6338, allocations: 0 / 410.1 MB, free: 8.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.003054/0.6368, allocations: 0.8737 MB / 411 MB, free: 8.613 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.6369, allocations: 114 kB / 411.1 MB, free: 8.484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006655/0.6376, allocations: 400.1 kB / 411.5 MB, free: 8.328 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/0.6377, allocations: 39.77 kB / 411.6 MB, free: 8.297 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.6379, allocations: 345.4 kB / 411.9 MB, free: 8.051 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.6381, allocations: 152.4 kB / 412 MB, free: 7.949 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.6381, allocations: 13 kB / 412.1 MB, free: 7.945 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.717e-05/0.6382, allocations: 336.2 kB / 412.4 MB, free: 7.625 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006524/0.6389, allocations: 193.5 kB / 412.6 MB, free: 7.598 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000735/0.6396, allocations: 362.2 kB / 412.9 MB, free: 7.375 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/0.6403, allocations: 223.8 kB / 413.1 MB, free: 7.344 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.6403, allocations: 0 / 413.1 MB, free: 7.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001728/0.6421, allocations: 0.6115 MB / 413.8 MB, free: 7.191 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003267/0.6424, allocations: 1.568 MB / 415.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.6425, allocations: 7.828 kB / 415.3 MB, free: 5.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004244/0.6429, allocations: 89.25 kB / 415.4 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/0.6436, allocations: 105.8 kB / 415.5 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.6458, allocations: 1.782 MB / 417.3 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/0.6467, allocations: 85.36 kB / 417.4 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.6468, allocations: 23.16 kB / 417.4 MB, free: 4.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.6468, allocations: 3.781 kB / 417.4 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001495/0.6483, allocations: 0.5455 MB / 418 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.6483, allocations: 3.875 kB / 418 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/0.6486, allocations: 85.19 kB / 418 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.6493, allocations: 96.84 kB / 418.1 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.6514, allocations: 1.776 MB / 419.9 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/0.652, allocations: 82.91 kB / 420 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.652, allocations: 21.66 kB / 420 MB, free: 2.395 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005448/0.6526, allocations: 305.3 kB / 420.3 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.6527, allocations: 50.41 kB / 420.4 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.6529, allocations: 59.36 kB / 420.4 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.6529, allocations: 7.688 kB / 420.4 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.6529, allocations: 7.922 kB / 420.4 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.6529, allocations: 0 / 420.4 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.6558, allocations: 1.279 MB / 421.7 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.6558, allocations: 0 / 421.7 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/0.6563, allocations: 65.45 kB / 421.8 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003281/0.6567, allocations: 68.23 kB / 421.8 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.6568, allocations: 14.55 kB / 421.9 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.659, allocations: 1.808 MB / 423.7 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.659, allocations: 3.984 kB / 423.7 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.6615, allocations: 0.8985 MB / 424.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.6619, allocations: 171.5 kB / 424.7 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.662, allocations: 10.88 kB / 424.7 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006092/0.6626, allocations: 53.55 kB / 424.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.6628, allocations: 58.03 kB / 424.9 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.6629, allocations: 19.89 kB / 424.9 MB, free: 15.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005099/0.6634, allocations: 306.2 kB / 425.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6634, allocations: 0 / 425.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001309/0.6647, allocations: 288.3 kB / 425.5 MB, free: 15.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00298/0.6677, allocations: 1.467 MB / 426.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002909/0.6707, allocations: 1.08 MB / 428 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.6707, allocations: 0 / 428 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.6717, allocations: 409.7 kB / 428.4 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007295/0.6725, allocations: 68.88 kB / 428.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/0.678, allocations: 4.521 MB / 433 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/0.6788, allocations: 0.9282 MB / 433.9 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004918/0.6793, allocations: 219.3 kB / 434.1 MB, free: 9.293 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6793, allocations: 0 / 434.1 MB, free: 9.293 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.011/3.691, allocations: 12.38 MB / 446.5 MB, free: 1.812 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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat