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.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 194.9 MB / 211.1 MB, free: 8.758 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 8 kB / 264.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3011, allocations: 44.5 MB / 308.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.4483, allocations: 82.74 MB / 391.3 MB, free: 9.938 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/0.4487, allocations: 87.95 kB / 391.4 MB, free: 9.852 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0451/0.4938, allocations: 10.61 MB / 402 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4938, allocations: 0 / 402 MB, free: 15.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.416e-05/0.4939, allocations: 16 kB / 402 MB, free: 15.16 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002537/0.4965, allocations: 0.9343 MB / 403 MB, free: 14.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.4965, allocations: 8.031 kB / 403 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002124/0.4967, allocations: 110.5 kB / 403.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.497, allocations: 83.02 kB / 403.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.4981, allocations: 497.8 kB / 403.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.586e-05/0.4982, allocations: 57.3 kB / 403.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.4983, allocations: 63.98 kB / 403.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.5003, allocations: 0.6786 MB / 404.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.5003, allocations: 0 / 404.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.5004, allocations: 31.98 kB / 404.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.5004, allocations: 15.94 kB / 404.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.5021, allocations: 0.5243 MB / 405 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0059/0.508, allocations: 2.581 MB / 407.6 MB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.51, allocations: 0.5677 MB / 408.2 MB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.444e-05/0.51, allocations: 5.062 kB / 408.2 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009418/0.511, allocations: 346.9 kB / 408.5 MB, free: 8.391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 2.916e-06/0.511, allocations: 4 kB / 408.5 MB, free: 8.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.004377/0.5154, allocations: 0.9808 MB / 409.5 MB, free: 7.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.746e-05/0.5155, allocations: 119.4 kB / 409.6 MB, free: 7.238 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009423/0.5165, allocations: 437.1 kB / 410 MB, free: 6.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.409e-05/0.5166, allocations: 45.69 kB / 410.1 MB, free: 6.754 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.5171, allocations: 304.4 kB / 410.4 MB, free: 6.453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.5173, allocations: 169.7 kB / 410.5 MB, free: 6.285 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.5174, allocations: 8 kB / 410.6 MB, free: 6.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.5176, allocations: 362.8 kB / 410.9 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000702/0.5183, allocations: 201.2 kB / 411.1 MB, free: 5.715 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/0.5192, allocations: 360.1 kB / 411.5 MB, free: 5.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/0.5199, allocations: 210.1 kB / 411.7 MB, free: 5.098 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.5199, allocations: 8 kB / 411.7 MB, free: 5.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002004/0.5219, allocations: 0.6828 MB / 412.4 MB, free: 4.402 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007753/0.5227, allocations: 1.57 MB / 413.9 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.5228, allocations: 4 kB / 413.9 MB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000785/0.5235, allocations: 156.7 kB / 414.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.5242, allocations: 79.89 kB / 414.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2759/0.8001, allocations: 2.37 MB / 416.5 MB, free: 91.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009517/0.8011, allocations: 86.38 kB / 416.6 MB, free: 91.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-05/0.8012, allocations: 22.66 kB / 416.6 MB, free: 91.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.8012, allocations: 6.875 kB / 416.6 MB, free: 91.75 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001889/0.8031, allocations: 0.5815 MB / 417.2 MB, free: 91.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.8032, allocations: 8.578 kB / 417.2 MB, free: 91.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007082/0.8039, allocations: 147 kB / 417.4 MB, free: 91.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/0.8044, allocations: 81.78 kB / 417.5 MB, free: 91.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/0.8084, allocations: 2.362 MB / 419.8 MB, free: 90.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007002/0.8091, allocations: 69.02 kB / 419.9 MB, free: 90.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.8092, allocations: 24.38 kB / 419.9 MB, free: 90.42 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: 27 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (59): * Single equations (assignments): 58 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005317/0.8098, allocations: 311.6 kB / 420.2 MB, free: 90.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.8099, allocations: 56.45 kB / 420.3 MB, free: 90.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.81, allocations: 67.94 kB / 420.3 MB, free: 90.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.8101, allocations: 7.156 kB / 420.3 MB, free: 90.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8101, allocations: 0.8906 kB / 420.3 MB, free: 90.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.8101, allocations: 2.016 kB / 420.3 MB, free: 90.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.8128, allocations: 1.34 MB / 421.7 MB, free: 89.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.8128, allocations: 0 / 421.7 MB, free: 89.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.8132, allocations: 53.2 kB / 421.7 MB, free: 89.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006047/0.8138, allocations: 141.3 kB / 421.9 MB, free: 89.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.8138, allocations: 12.2 kB / 421.9 MB, free: 89.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003507/0.8174, allocations: 2.374 MB / 424.3 MB, free: 88.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8174, allocations: 3.953 kB / 424.3 MB, free: 88.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.8193, allocations: 0.8875 MB / 425.1 MB, free: 88.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.8196, allocations: 184.8 kB / 425.3 MB, free: 87.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.8198, allocations: 15.89 kB / 425.3 MB, free: 87.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005604/0.8204, allocations: 40.98 kB / 425.4 MB, free: 87.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.8206, allocations: 61.58 kB / 425.4 MB, free: 87.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.8206, allocations: 19.12 kB / 425.5 MB, free: 87.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005584/0.8212, allocations: 342.2 kB / 425.8 MB, free: 87.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8212, allocations: 3.156 kB / 425.8 MB, free: 87.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001348/0.8226, allocations: 325.1 kB / 426.1 MB, free: 87.7 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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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_p2.off,rectifier.thyristor_p1.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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.00226/0.8248, allocations: 1.467 MB / 427.6 MB, free: 86.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002611/0.8275, allocations: 1.188 MB / 428.8 MB, free: 86.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.8275, allocations: 0 / 428.8 MB, free: 86.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009099/0.8284, allocations: 451 kB / 429.2 MB, free: 85.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007741/0.8292, allocations: 102.1 kB / 429.3 MB, free: 85.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.8331, allocations: 4.465 MB / 433.8 MB, free: 82.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.8336, allocations: 0.9436 MB / 434.7 MB, free: 81.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005062/0.8341, allocations: 89.42 kB / 434.8 MB, free: 81.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.8345, allocations: 218.9 kB / 435 MB, free: 81.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.113e-06/0.8345, allocations: 0 / 435 MB, free: 81.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04368/0.8782, allocations: 14.73 MB / 449.8 MB, free: 71.02 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.8784, allocations: 276.8 kB / 450 MB, free: 70.64 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/3.988, allocations: 0 / 450 MB, free: 70.64 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat