Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 194.9 MB / 210.6 MB, free: 8.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.155e-05, allocations: 11.98 kB / 258.8 MB, free: 7.828 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3038, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV): time 0.007493/0.3114, allocations: 4.189 MB / 307.5 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003955/0.3154, allocations: 1.38 MB / 308.9 MB, free: 7.996 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006106/0.3161, allocations: 39.88 kB / 309 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006201/0.3167, allocations: 171 kB / 309.1 MB, free: 7.789 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5325:20-5325:43:writable] Warning: 'each' used when modifying non-array element thyristor. Notification: Performance of NFTyping.typeBindings: time 0.001503/0.3182, allocations: 287 kB / 309.4 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.3194, allocations: 211.6 kB / 309.6 MB, free: 7.301 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5325:20-5325:43:writable] Warning: 'each' used when modifying non-array element thyristor. Notification: Performance of NFFlatten.flatten: time 0.001965/0.3214, allocations: 0.7371 MB / 310.3 MB, free: 6.562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.3228, allocations: 0.7678 MB / 311.1 MB, free: 5.789 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5325:20-5325:43:writable] Warning: 'each' used when modifying non-array element thyristor. Notification: Performance of NFEvalConstants.evaluate: time 0.0007665/0.3235, allocations: 386.9 kB / 311.5 MB, free: 5.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000842/0.3244, allocations: 474.2 kB / 312 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.3246, allocations: 47.94 kB / 312 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.3248, allocations: 48 kB / 312 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003952/0.3252, allocations: 294.9 kB / 312.3 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003385/0.3256, allocations: 108 kB / 312.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002939/0.3285, allocations: 1.882 MB / 314.3 MB, free: 2.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3286, allocations: 0 / 314.3 MB, free: 2.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3286, allocations: 0 / 314.3 MB, free: 2.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.672e-05/0.3287, allocations: 0 / 314.3 MB, free: 2.57 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.004598/0.3333, allocations: 1.501 MB / 315.8 MB, free: 1.016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3334, allocations: 16.03 kB / 315.8 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006476/0.334, allocations: 158.1 kB / 316 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.3366, allocations: 0.8992 MB / 316.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.3368, allocations: 106.5 kB / 317 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.3371, allocations: 128 kB / 317.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004742/0.3419, allocations: 1.724 MB / 318.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.722e-05/0.342, allocations: 0 / 318.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001962/0.3422, allocations: 52 kB / 318.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.91e-05/0.3423, allocations: 58.55 kB / 319 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004207/0.3465, allocations: 1.458 MB / 320.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.3599, allocations: 4.96 MB / 325.4 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/0.3625, allocations: 0.9893 MB / 326.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.053e-05/0.3626, allocations: 16.58 kB / 326.4 MB, free: 6.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/0.3643, allocations: 0.6368 MB / 327 MB, free: 5.547 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 4.819e-06/0.3644, allocations: 4 kB / 327 MB, free: 5.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.00603/0.3704, allocations: 1.728 MB / 328.7 MB, free: 3.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/0.3706, allocations: 115.8 kB / 328.9 MB, free: 3.656 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.3723, allocations: 0.7692 MB / 329.6 MB, free: 2.879 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.3725, allocations: 57.69 kB / 329.7 MB, free: 2.816 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006628/0.3731, allocations: 0.5966 MB / 330.3 MB, free: 2.211 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/0.3735, allocations: 252.5 kB / 330.5 MB, free: 1.961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.509e-05/0.3736, allocations: 20 kB / 330.5 MB, free: 1.941 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3737, allocations: 341.9 kB / 330.9 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.375, allocations: 457.7 kB / 331.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.3766, allocations: 0.692 MB / 332 MB, free: 364 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.3781, allocations: 482.8 kB / 332.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.3782, allocations: 4 kB / 332.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003668/0.3819, allocations: 1.325 MB / 333.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001157/0.383, allocations: 2.793 MB / 336.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.3831, allocations: 8 kB / 336.6 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008946/0.384, allocations: 220.7 kB / 336.8 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.3852, allocations: 155.7 kB / 337 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005339/0.3906, allocations: 2.83 MB / 339.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.3919, allocations: 151.1 kB / 340 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.3921, allocations: 40 kB / 340 MB, free: 8.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3921, allocations: 4 kB / 340 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003378/0.3955, allocations: 1.199 MB / 341.2 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.3956, allocations: 4 kB / 341.2 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007819/0.3963, allocations: 225.2 kB / 341.4 MB, free: 6.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.3974, allocations: 147.8 kB / 341.6 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005068/0.4025, allocations: 2.835 MB / 344.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.4037, allocations: 131.2 kB / 344.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.4038, allocations: 40 kB / 344.6 MB, free: 3.289 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.001239/0.4051, allocations: 0.5404 MB / 345.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.4054, allocations: 90.88 kB / 345.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.4057, allocations: 117.1 kB / 345.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.4057, allocations: 8 kB / 345.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.4057, allocations: 4 kB / 345.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.4058, allocations: 3.984 kB / 345.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008071/0.4138, allocations: 2.524 MB / 347.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.4139, allocations: 0 / 347.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008282/0.4147, allocations: 92.69 kB / 348 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008537/0.4156, allocations: 200.7 kB / 348.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.4158, allocations: 19.98 kB / 348.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005094/0.4209, allocations: 2.802 MB / 351 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.421, allocations: 0 / 351 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004955/0.4259, allocations: 1.807 MB / 352.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007052/0.4267, allocations: 275.7 kB / 353 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.427, allocations: 23.98 kB / 353.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000941/0.4279, allocations: 79.92 kB / 353.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004939/0.4284, allocations: 144.4 kB / 353.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-05/0.4285, allocations: 27.98 kB / 353.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001252/0.4298, allocations: 0.581 MB / 353.9 MB, free: 9.688 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.4298, allocations: 0 / 353.9 MB, free: 9.688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002264/0.4321, allocations: 0.603 MB / 354.5 MB, free: 9.082 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003275/0.4324, allocations: 169.8 kB / 354.7 MB, free: 8.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00571/0.4382, allocations: 2.055 MB / 356.7 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.4382, allocations: 4 kB / 356.7 MB, free: 6.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.4402, allocations: 0.7523 MB / 357.5 MB, free: 6.059 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.4416, allocations: 187.8 kB / 357.7 MB, free: 5.871 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007089/0.4488, allocations: 3.005 MB / 360.7 MB, free: 2.828 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.4503, allocations: 1.398 MB / 362.1 MB, free: 1.402 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.002314/0.4526, allocations: 447.3 kB / 362.5 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.4529, allocations: 55.44 kB / 362.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of SimCode: time 1.482e-06/0.4529, allocations: 0 / 362.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of Templates: time 0.04694/0.4999, allocations: 16.45 MB / 379 MB, free: 484 kB / 314.7 MB