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.007/2.007, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005523/0.0005523, allocations: 8 kB / 264.1 MB, free: 2.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3266, allocations: 44.51 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse): time 0.008946/0.3356, allocations: 3.992 MB / 312.6 MB, free: 8.641 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004765/0.3404, allocations: 1.354 MB / 313.9 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008016/0.3413, allocations: 15.94 kB / 313.9 MB, free: 7.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006647/0.342, allocations: 107.2 kB / 314 MB, free: 7.156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.3433, allocations: 251.2 kB / 314.3 MB, free: 6.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.3446, allocations: 215.6 kB / 314.5 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.3461, allocations: 0.5779 MB / 315.1 MB, free: 6.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008904/0.347, allocations: 315 kB / 315.4 MB, free: 5.793 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005631/0.3476, allocations: 239 kB / 315.6 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006174/0.3483, allocations: 282.5 kB / 315.9 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.3484, allocations: 32 kB / 315.9 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.3486, allocations: 28 kB / 316 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.3488, allocations: 111.5 kB / 316.1 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.3491, allocations: 165.3 kB / 316.2 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.3505, allocations: 0.7401 MB / 317 MB, free: 4.203 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3506, allocations: 0 / 317 MB, free: 4.203 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3506, allocations: 0 / 317 MB, free: 4.203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.3506, allocations: 0 / 317 MB, free: 4.203 MB / 250.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.003297/0.3539, allocations: 0.9274 MB / 317.9 MB, free: 3.227 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.354, allocations: 8.031 kB / 317.9 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002893/0.3543, allocations: 106.5 kB / 318 MB, free: 3.105 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.3546, allocations: 83.06 kB / 318.1 MB, free: 3.023 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.3561, allocations: 481.9 kB / 318.6 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.3563, allocations: 53.3 kB / 318.6 MB, free: 2.457 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.3565, allocations: 60 kB / 318.7 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.3591, allocations: 0.6708 MB / 319.3 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.3592, allocations: 4 kB / 319.3 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.3594, allocations: 27.98 kB / 319.4 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.3594, allocations: 19.94 kB / 319.4 MB, free: 1.648 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.3618, allocations: 0.5087 MB / 319.9 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007734/0.3695, allocations: 2.534 MB / 322.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.3717, allocations: 0.5334 MB / 323 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.446e-05/0.3718, allocations: 4.438 kB / 323 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/0.3732, allocations: 369.6 kB / 323.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 4.198e-06/0.3732, allocations: 0 / 323.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.006619/0.3799, allocations: 1.043 MB / 324.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.3801, allocations: 115.4 kB / 324.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.3813, allocations: 457.8 kB / 324.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.3815, allocations: 45.69 kB / 325 MB, free: 11.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.3819, allocations: 312.4 kB / 325.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.3823, allocations: 169.5 kB / 325.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.3824, allocations: 12 kB / 325.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002561/0.3826, allocations: 362.8 kB / 325.8 MB, free: 11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008945/0.3835, allocations: 193.2 kB / 326 MB, free: 10.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.3847, allocations: 357.5 kB / 326.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009391/0.3856, allocations: 202.1 kB / 326.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.3857, allocations: 0 / 326.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002813/0.3885, allocations: 0.6746 MB / 327.2 MB, free: 9.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/0.3888, allocations: 221.7 kB / 327.4 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.3888, allocations: 4 kB / 327.4 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.3899, allocations: 148.8 kB / 327.6 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.3908, allocations: 91.78 kB / 327.7 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006421/0.3972, allocations: 2.368 MB / 330 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009611/0.3982, allocations: 71.45 kB / 330.1 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-05/0.3983, allocations: 32 kB / 330.1 MB, free: 6.395 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3984, allocations: 4 kB / 330.2 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001767/0.4001, allocations: 0.5881 MB / 330.7 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4002, allocations: 7.938 kB / 330.7 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007606/0.401, allocations: 140.8 kB / 330.9 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.4015, allocations: 87.83 kB / 331 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004599/0.4061, allocations: 2.361 MB / 333.3 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/0.4069, allocations: 63.52 kB / 333.4 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.4069, allocations: 28 kB / 333.4 MB, free: 2.984 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005738/0.4075, allocations: 317.1 kB / 333.7 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.4077, allocations: 59.25 kB / 333.8 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.4079, allocations: 61.45 kB / 333.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.4079, allocations: 8 kB / 333.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.4079, allocations: 3.984 kB / 333.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.4079, allocations: 0 / 333.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.4115, allocations: 1.391 MB / 335.3 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.4116, allocations: 0 / 335.3 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.412, allocations: 51.91 kB / 335.3 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007354/0.4128, allocations: 144.7 kB / 335.4 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/0.4129, allocations: 16 kB / 335.5 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004583/0.4175, allocations: 2.368 MB / 337.8 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4175, allocations: 0 / 337.8 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.4202, allocations: 0.9588 MB / 338.8 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/0.4207, allocations: 176.4 kB / 339 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.4208, allocations: 20.19 kB / 339 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.4214, allocations: 31.97 kB / 339 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/0.4217, allocations: 64.45 kB / 339.1 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/0.4217, allocations: 19.98 kB / 339.1 MB, free: 13.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005796/0.4223, allocations: 307.1 kB / 339.4 MB, free: 12.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4223, allocations: 4 kB / 339.4 MB, free: 12.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001571/0.4239, allocations: 335 kB / 339.7 MB, free: 12.43 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (40): * Single equations (assignments): 34 * 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.003166/0.4271, allocations: 1.515 MB / 341.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003323/0.4305, allocations: 1.197 MB / 342.4 MB, free: 9.656 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.4305, allocations: 0 / 342.4 MB, free: 9.656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.4318, allocations: 493.8 kB / 342.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008478/0.4327, allocations: 98.25 kB / 343 MB, free: 9.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/0.4374, allocations: 1.983 MB / 345 MB, free: 6.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006943/0.4381, allocations: 0.9387 MB / 345.9 MB, free: 6.012 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005926/0.4388, allocations: 92.77 kB / 346 MB, free: 5.918 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.4392, allocations: 219.4 kB / 346.2 MB, free: 5.703 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4392, allocations: 0 / 346.2 MB, free: 5.703 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05466/0.4939, allocations: 14.69 MB / 360.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003195/0.4943, allocations: 272.1 kB / 361.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/3.45, allocations: 0 / 361.2 MB, free: 6.648 MB / 298.7 MB