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_R.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_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003807, allocations: 8 kB / 264.1 MB, free: 3.465 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2886, allocations: 44.5 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.169/0.4577, allocations: 81.66 MB / 390.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/0.4581, allocations: 87.95 kB / 390.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05242/0.5105, allocations: 12.09 MB / 402.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5106, allocations: 0 / 402.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.594e-05/0.5106, allocations: 12 kB / 402.4 MB, free: 14.76 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00236/0.513, allocations: 0.8944 MB / 403.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.5131, allocations: 16.03 kB / 403.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001998/0.5133, allocations: 94.5 kB / 403.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.5135, allocations: 79.11 kB / 403.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.5145, allocations: 470 kB / 404 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.5146, allocations: 41.31 kB / 404 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.5148, allocations: 60 kB / 404.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.5166, allocations: 0.6235 MB / 404.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.5166, allocations: 3.938 kB / 404.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/0.5167, allocations: 23.98 kB / 404.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.5168, allocations: 19.95 kB / 404.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.5183, allocations: 472.9 kB / 405.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.5236, allocations: 2.206 MB / 407.4 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.5252, allocations: 463.7 kB / 407.8 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-05/0.5253, allocations: 12.31 kB / 407.9 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008191/0.5261, allocations: 299.3 kB / 408.2 MB, free: 8.762 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 5.21e-06/0.5262, allocations: 8 kB / 408.2 MB, free: 8.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.002846/0.529, allocations: 0.7252 MB / 408.9 MB, free: 8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/0.5291, allocations: 114.8 kB / 409 MB, free: 7.863 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/0.53, allocations: 417 kB / 409.4 MB, free: 7.449 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.579e-05/0.5301, allocations: 37.7 kB / 409.4 MB, free: 7.406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.5305, allocations: 304.7 kB / 409.7 MB, free: 7.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.5307, allocations: 130.2 kB / 409.9 MB, free: 6.977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.5307, allocations: 8 kB / 409.9 MB, free: 6.969 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.5309, allocations: 362.7 kB / 410.2 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/0.5315, allocations: 181 kB / 410.4 MB, free: 6.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/0.5323, allocations: 322.6 kB / 410.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/0.533, allocations: 193.3 kB / 410.9 MB, free: 5.863 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.533, allocations: 0 / 410.9 MB, free: 5.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001819/0.5348, allocations: 0.5798 MB / 411.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000807/0.5357, allocations: 1.568 MB / 413.1 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.5357, allocations: 7.938 kB / 413.1 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/0.5363, allocations: 96.73 kB / 413.2 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/0.537, allocations: 75.91 kB / 413.2 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/0.5402, allocations: 1.858 MB / 415.1 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008869/0.5411, allocations: 91.61 kB / 415.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.278e-05/0.5412, allocations: 20 kB / 415.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5412, allocations: 4 kB / 415.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001472/0.5427, allocations: 0.4931 MB / 415.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.5427, allocations: 4 kB / 415.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/0.5432, allocations: 84.91 kB / 415.8 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.5437, allocations: 79.81 kB / 415.9 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2521/0.7958, allocations: 1.837 MB / 417.7 MB, free: 91.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/0.7966, allocations: 70.27 kB / 417.8 MB, free: 91.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.098e-05/0.7967, allocations: 22.78 kB / 417.8 MB, free: 91.32 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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005493/0.7973, allocations: 298.5 kB / 418.1 MB, free: 91.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.7975, allocations: 51.84 kB / 418.1 MB, free: 91.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.7976, allocations: 62.64 kB / 418.2 MB, free: 91.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.7977, allocations: 4.312 kB / 418.2 MB, free: 91.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7977, allocations: 0.5625 kB / 418.2 MB, free: 91.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.7977, allocations: 2.609 kB / 418.2 MB, free: 91.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/0.8007, allocations: 1.149 MB / 419.4 MB, free: 90.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.8007, allocations: 4.281 kB / 419.4 MB, free: 90.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.8011, allocations: 43.17 kB / 419.4 MB, free: 90.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004053/0.8016, allocations: 78.95 kB / 419.5 MB, free: 90.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/0.8016, allocations: 8.938 kB / 419.5 MB, free: 90.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/0.8041, allocations: 1.773 MB / 421.3 MB, free: 89.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.8041, allocations: 3.953 kB / 421.3 MB, free: 89.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.806, allocations: 0.7436 MB / 422 MB, free: 89.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003123/0.8064, allocations: 177.4 kB / 422.2 MB, free: 89.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.8065, allocations: 9.969 kB / 422.2 MB, free: 89.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.8071, allocations: 44.56 kB / 422.2 MB, free: 89.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.8073, allocations: 50.55 kB / 422.3 MB, free: 89.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.8073, allocations: 14.75 kB / 422.3 MB, free: 89.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005818/0.8079, allocations: 318.1 kB / 422.6 MB, free: 89.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8079, allocations: 2.875 kB / 422.6 MB, free: 89.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001312/0.8092, allocations: 276.1 kB / 422.9 MB, free: 89.2 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: 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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002179/0.8114, allocations: 1.322 MB / 424.2 MB, free: 88.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.8139, allocations: 0.9859 MB / 425.2 MB, free: 88.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.8139, allocations: 1.844 kB / 425.2 MB, free: 88.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007887/0.8147, allocations: 351.2 kB / 425.5 MB, free: 88.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006956/0.8155, allocations: 78.94 kB / 425.6 MB, free: 88.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.8192, allocations: 4.276 MB / 429.9 MB, free: 84.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.8196, allocations: 0.9093 MB / 430.8 MB, free: 83.6 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005595/0.8202, allocations: 89.73 kB / 430.9 MB, free: 83.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.8206, allocations: 207.6 kB / 431.1 MB, free: 83.44 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8206, allocations: 0 / 431.1 MB, free: 83.44 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04559/0.8662, allocations: 11.88 MB / 443 MB, free: 78 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/0.8666, allocations: 283.5 kB / 443.2 MB, free: 77.62 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.362/4.229, allocations: 0 / 443.2 MB, free: 77.62 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_R_res.mat does not exist to compare? outputFormat=mat