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_RL.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_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.013/2.013, allocations: 194.9 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 8 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2918, allocations: 44.51 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.438, allocations: 81.96 MB / 390.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/0.4384, allocations: 91.94 kB / 390.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05428/0.4927, allocations: 12.43 MB / 403.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4928, allocations: 0 / 403.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.754e-05/0.4929, allocations: 12 kB / 403.1 MB, free: 14.01 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002621/0.4955, allocations: 0.9109 MB / 404 MB, free: 13.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.4956, allocations: 12.03 kB / 404 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/0.4958, allocations: 102.5 kB / 404.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.496, allocations: 79.06 kB / 404.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.4972, allocations: 478 kB / 404.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.4973, allocations: 45.31 kB / 404.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.4974, allocations: 60 kB / 404.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.4993, allocations: 0.6417 MB / 405.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.4994, allocations: 0 / 405.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.526e-05/0.4995, allocations: 27.94 kB / 405.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.4995, allocations: 16 kB / 405.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.5012, allocations: 488.9 kB / 405.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005801/0.507, allocations: 2.282 MB / 408.2 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.5086, allocations: 483.1 kB / 408.7 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.5087, allocations: 4 kB / 408.7 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008352/0.5096, allocations: 308 kB / 409 MB, free: 7.836 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 2.906e-05/0.5096, allocations: 0 / 409 MB, free: 7.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.002768/0.5124, allocations: 0.7374 MB / 409.7 MB, free: 7.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.441e-05/0.5125, allocations: 118.8 kB / 409.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000906/0.5134, allocations: 421 kB / 410.2 MB, free: 6.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.12e-05/0.5136, allocations: 41.69 kB / 410.3 MB, free: 6.469 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.5139, allocations: 304.3 kB / 410.6 MB, free: 6.164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.5141, allocations: 138.2 kB / 410.7 MB, free: 6.027 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.5142, allocations: 12 kB / 410.7 MB, free: 6.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.5144, allocations: 362.8 kB / 411.1 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000608/0.515, allocations: 181 kB / 411.2 MB, free: 5.477 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007507/0.5158, allocations: 331.1 kB / 411.6 MB, free: 5.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006522/0.5164, allocations: 200.7 kB / 411.8 MB, free: 4.891 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.5164, allocations: 0 / 411.8 MB, free: 4.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001852/0.5183, allocations: 0.6019 MB / 412.4 MB, free: 4.277 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007138/0.519, allocations: 1.578 MB / 413.9 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.5191, allocations: 4 kB / 413.9 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004735/0.5196, allocations: 76.86 kB / 414 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/0.5202, allocations: 91.83 kB / 414.1 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/0.5231, allocations: 1.792 MB / 415.9 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000845/0.524, allocations: 87.55 kB / 416 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.524, allocations: 20 kB / 416 MB, free: 388 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5241, allocations: 4 kB / 416 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2794/0.8035, allocations: 0.4924 MB / 416.5 MB, free: 91.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/0.8036, allocations: 4 kB / 416.5 MB, free: 91.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/0.804, allocations: 81.95 kB / 416.6 MB, free: 91.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.8047, allocations: 86.81 kB / 416.7 MB, free: 91.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.8075, allocations: 1.789 MB / 418.5 MB, free: 90.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/0.8083, allocations: 74.09 kB / 418.5 MB, free: 90.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/0.8084, allocations: 21.56 kB / 418.6 MB, free: 90.53 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 (60): * Single equations (assignments): 59 * 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.0005299/0.8089, allocations: 311.3 kB / 418.9 MB, free: 90.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.8091, allocations: 59.84 kB / 418.9 MB, free: 90.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.8092, allocations: 54.53 kB / 419 MB, free: 90.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.8093, allocations: 4.469 kB / 419 MB, free: 90.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.8093, allocations: 0.9062 kB / 419 MB, free: 90.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.8093, allocations: 2.25 kB / 419 MB, free: 90.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/0.8124, allocations: 1.163 MB / 420.1 MB, free: 90.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.8125, allocations: 0 / 420.1 MB, free: 90.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007194/0.8132, allocations: 46.41 kB / 420.2 MB, free: 90.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007293/0.814, allocations: 78.98 kB / 420.3 MB, free: 90.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.8142, allocations: 16.3 kB / 420.3 MB, free: 90 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/0.817, allocations: 1.787 MB / 422.1 MB, free: 88.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.817, allocations: 8.906 kB / 422.1 MB, free: 88.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.819, allocations: 0.7581 MB / 422.8 MB, free: 88.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.8194, allocations: 167.2 kB / 423 MB, free: 88.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.8195, allocations: 10.38 kB / 423 MB, free: 88.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.8201, allocations: 43.33 kB / 423.1 MB, free: 88.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.8203, allocations: 47.89 kB / 423.1 MB, free: 88.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.8204, allocations: 20.52 kB / 423.1 MB, free: 88.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006189/0.821, allocations: 330.6 kB / 423.4 MB, free: 88.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.821, allocations: 0 / 423.4 MB, free: 88.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00141/0.8224, allocations: 280.4 kB / 423.7 MB, free: 88.32 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 (38): * Single equations (assignments): 32 * 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.002149/0.8246, allocations: 1.331 MB / 425 MB, free: 87.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.8271, allocations: 0.9876 MB / 426 MB, free: 87.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/0.8271, allocations: 0 / 426 MB, free: 87.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007786/0.8279, allocations: 356.7 kB / 426.4 MB, free: 87.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.8287, allocations: 77.47 kB / 426.5 MB, free: 87.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.833, allocations: 4.4 MB / 430.9 MB, free: 83.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.8335, allocations: 0.919 MB / 431.8 MB, free: 82.63 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005991/0.8341, allocations: 91.88 kB / 431.9 MB, free: 82.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/0.8345, allocations: 213.4 kB / 432.1 MB, free: 82.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.8345, allocations: 3.938 kB / 432.1 MB, free: 82.46 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04987/0.8844, allocations: 11.89 MB / 444 MB, free: 76.96 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002891/0.8848, allocations: 271 kB / 444.2 MB, free: 76.6 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/3.825, allocations: 0 / 444.2 MB, free: 76.6 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_RL_res.mat does not exist to compare? outputFormat=mat