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.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_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.000362, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2929, allocations: 44.51 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1682/0.4611, allocations: 82.42 MB / 391 MB, free: 10.13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/0.4615, allocations: 83.95 kB / 391.1 MB, free: 10.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.057/0.5186, allocations: 12.82 MB / 403.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5186, allocations: 4 kB / 403.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.685e-05/0.5187, allocations: 12 kB / 403.9 MB, free: 13.14 MB / 346.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.002839/0.5215, allocations: 0.9549 MB / 404.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.5216, allocations: 12.03 kB / 404.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002894/0.5219, allocations: 102.5 kB / 405 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.5222, allocations: 83 kB / 405.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.5233, allocations: 474 kB / 405.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/0.5234, allocations: 49.31 kB / 405.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.5236, allocations: 71.91 kB / 405.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.5256, allocations: 0.6811 MB / 406.3 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.5257, allocations: 0 / 406.3 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.5258, allocations: 31.95 kB / 406.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.5258, allocations: 12 kB / 406.4 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.5278, allocations: 0.5282 MB / 406.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005889/0.5337, allocations: 2.318 MB / 409.2 MB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.536, allocations: 0.5773 MB / 409.8 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.775e-05/0.5361, allocations: 16.36 kB / 409.8 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.5373, allocations: 351.8 kB / 410.2 MB, free: 6.621 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 3.086e-06/0.5373, allocations: 0 / 410.2 MB, free: 6.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.003561/0.5409, allocations: 0.8755 MB / 411 MB, free: 5.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.481e-05/0.541, allocations: 115.2 kB / 411.1 MB, free: 5.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008009/0.5418, allocations: 400.9 kB / 411.5 MB, free: 5.188 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.542, allocations: 45.69 kB / 411.6 MB, free: 5.137 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.5423, allocations: 308.4 kB / 411.9 MB, free: 4.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.5425, allocations: 149.9 kB / 412 MB, free: 4.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.5426, allocations: 12 kB / 412 MB, free: 4.668 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.5428, allocations: 366.8 kB / 412.4 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008021/0.5436, allocations: 201 kB / 412.6 MB, free: 4.105 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009135/0.5445, allocations: 351 kB / 412.9 MB, free: 3.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007908/0.5453, allocations: 228.7 kB / 413.2 MB, free: 3.477 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.5454, allocations: 0 / 413.2 MB, free: 3.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002225/0.5476, allocations: 0.6409 MB / 413.8 MB, free: 2.824 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008421/0.5485, allocations: 1.566 MB / 415.4 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.5485, allocations: 7.953 kB / 415.4 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000487/0.549, allocations: 92.78 kB / 415.5 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007516/0.5498, allocations: 99.81 kB / 415.6 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2512/0.801, allocations: 1.782 MB / 417.3 MB, free: 90.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009063/0.802, allocations: 85.16 kB / 417.4 MB, free: 90.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/0.8021, allocations: 21.2 kB / 417.5 MB, free: 90.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.8021, allocations: 4.125 kB / 417.5 MB, free: 90.67 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002503/0.8046, allocations: 0.5424 MB / 418 MB, free: 90.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.239e-05/0.8047, allocations: 5.156 kB / 418 MB, free: 90.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005416/0.8053, allocations: 82.77 kB / 418.1 MB, free: 90.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/0.806, allocations: 96.42 kB / 418.2 MB, free: 90.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.8085, allocations: 1.794 MB / 420 MB, free: 89.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000789/0.8094, allocations: 77.48 kB / 420 MB, free: 89.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.8094, allocations: 20.69 kB / 420.1 MB, free: 89.34 MB / 346.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.0005589/0.81, allocations: 313.2 kB / 420.4 MB, free: 89.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.8102, allocations: 50.25 kB / 420.4 MB, free: 89.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.8103, allocations: 58.89 kB / 420.5 MB, free: 89.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.8104, allocations: 5.438 kB / 420.5 MB, free: 89.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.8104, allocations: 4.891 kB / 420.5 MB, free: 89.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.8104, allocations: 5.156 kB / 420.5 MB, free: 89.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.8134, allocations: 1.276 MB / 421.8 MB, free: 88.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.8134, allocations: 0 / 421.8 MB, free: 88.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.814, allocations: 65.22 kB / 421.8 MB, free: 88.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003448/0.8144, allocations: 80.78 kB / 421.9 MB, free: 88.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.8144, allocations: 12.16 kB / 421.9 MB, free: 88.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.8167, allocations: 1.798 MB / 423.7 MB, free: 87.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8168, allocations: 4.016 kB / 423.7 MB, free: 87.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.8193, allocations: 0.8986 MB / 424.6 MB, free: 87.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/0.8197, allocations: 173.1 kB / 424.8 MB, free: 87.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.8199, allocations: 10.97 kB / 424.8 MB, free: 87.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006257/0.8205, allocations: 52.16 kB / 424.9 MB, free: 87.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.8207, allocations: 58.36 kB / 424.9 MB, free: 87.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.8208, allocations: 11.94 kB / 424.9 MB, free: 87.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004924/0.8213, allocations: 308.3 kB / 425.2 MB, free: 87.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.8213, allocations: 1.281 kB / 425.2 MB, free: 87.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001334/0.8226, allocations: 293.4 kB / 425.5 MB, free: 87.1 MB / 346.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.002811/0.8254, allocations: 1.475 MB / 427 MB, free: 86.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002908/0.8284, allocations: 1.069 MB / 428.1 MB, free: 85.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.8285, allocations: 3.531 kB / 428.1 MB, free: 85.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.8295, allocations: 403.6 kB / 428.5 MB, free: 85.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007611/0.8303, allocations: 83.45 kB / 428.5 MB, free: 85.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004387/0.8347, allocations: 4.496 MB / 433 MB, free: 81.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.8352, allocations: 0.9318 MB / 434 MB, free: 80.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006351/0.8358, allocations: 93.61 kB / 434.1 MB, free: 80.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/0.8362, allocations: 215.4 kB / 434.3 MB, free: 80.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.031e-06/0.8363, allocations: 0 / 434.3 MB, free: 80.8 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04359/0.8799, allocations: 12.34 MB / 446.6 MB, free: 73.95 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/0.8803, allocations: 295.8 kB / 446.9 MB, free: 73.58 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/3.98, allocations: 8.656 kB / 446.9 MB, free: 73.57 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat