Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.101/2.101, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.975e-05, allocations: 2.75 kB / 249.8 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.09982, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4657/0.5655, allocations: 85.92 MB / 380.2 MB, free: 6.348 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004631/0.5661, allocations: 89.06 kB / 380.3 MB, free: 6.332 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1742/0.7402, allocations: 35.69 MB / 416 MB, free: 4.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.7403, allocations: 0 / 416 MB, free: 4.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001986/0.7405, allocations: 44 kB / 416 MB, free: 4.461 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.007457/0.748, allocations: 2.007 MB / 418.1 MB, free: 2.535 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.7481, allocations: 8.031 kB / 418.1 MB, free: 2.527 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009008/0.749, allocations: 233.3 kB / 418.3 MB, free: 2.297 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00827/0.7573, allocations: 1.963 MB / 420.3 MB, free: 0.793 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.7574, allocations: 63.8 kB / 420.3 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005011/0.758, allocations: 100 kB / 420.4 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005885/0.7639, allocations: 1.875 MB / 422.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006494/0.7704, allocations: 2.11 MB / 424.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-05/0.7705, allocations: 3.938 kB / 424.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.7708, allocations: 10.48 kB / 424.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/0.771, allocations: 71.44 kB / 424.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02074/0.7917, allocations: 6.961 MB / 431.4 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005014/0.7968, allocations: 1.574 MB / 433 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002662/0.7995, allocations: 0.8785 MB / 433.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.7997, allocations: 17.27 kB / 433.9 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00227/0.802, allocations: 0.8032 MB / 434.7 MB, free: 3.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 5.22e-06/0.802, allocations: 0 / 434.7 MB, free: 3.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.004294/0.8063, allocations: 1.418 MB / 436.1 MB, free: 2.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.8065, allocations: 128.1 kB / 436.3 MB, free: 2.121 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.8091, allocations: 0.9706 MB / 437.2 MB, free: 1.133 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003047/0.8094, allocations: 49.61 kB / 437.3 MB, free: 1.078 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.8106, allocations: 0.7703 MB / 438 MB, free: 312 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005995/0.8112, allocations: 330.9 kB / 438.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.8113, allocations: 0 / 438.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.8116, allocations: 357.9 kB / 438.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.8132, allocations: 0.5609 MB / 439.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/0.8151, allocations: 0.7735 MB / 440.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.8167, allocations: 0.584 MB / 440.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.8167, allocations: 0 / 440.6 MB, free: 13.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004713/0.8215, allocations: 1.622 MB / 442.3 MB, free: 12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009274/0.8224, allocations: 1.922 MB / 444.2 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.8225, allocations: 11.98 kB / 444.2 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/0.8243, allocations: 426.4 kB / 444.6 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.826, allocations: 187.6 kB / 444.8 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.8361, allocations: 4.309 MB / 449.1 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.8382, allocations: 155.1 kB / 449.3 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002775/0.8385, allocations: 40.05 kB / 449.3 MB, free: 4.703 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.8386, allocations: 4 kB / 449.3 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004433/0.843, allocations: 1.464 MB / 450.8 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.464e-05/0.8431, allocations: 4 kB / 450.8 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001722/0.8448, allocations: 417 kB / 451.2 MB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.8465, allocations: 180.2 kB / 451.4 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.8566, allocations: 4.316 MB / 455.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.8585, allocations: 131.2 kB / 455.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.8588, allocations: 44.05 kB / 455.8 MB, free: 14.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($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,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005217/0.8593, allocations: 184.6 kB / 456 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004195/0.8635, allocations: 1.414 MB / 457.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/0.8641, allocations: 126.5 kB / 457.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005973/0.8647, allocations: 148.1 kB / 457.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.8648, allocations: 12 kB / 457.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.8648, allocations: 0 / 457.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.8648, allocations: 3.984 kB / 457.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.8749, allocations: 3.261 MB / 461 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.8749, allocations: 0 / 461 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.8762, allocations: 123.8 kB / 461.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/0.8778, allocations: 388.6 kB / 461.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/0.878, allocations: 11.98 kB / 461.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/0.8909, allocations: 4.196 MB / 465.7 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.891, allocations: 3.938 kB / 465.7 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008639/0.8997, allocations: 2.391 MB / 468.1 MB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/0.9014, allocations: 359.3 kB / 468.4 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004816/0.9019, allocations: 11.98 kB / 468.4 MB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/0.9038, allocations: 91.89 kB / 468.5 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/0.9051, allocations: 229 kB / 468.8 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/0.9053, allocations: 31.98 kB / 468.8 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002424/0.9078, allocations: 0.7207 MB / 469.5 MB, free: 160 kB / 362.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.9078, allocations: 4 kB / 469.5 MB, free: 156 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.004725/0.9125, allocations: 0.7821 MB / 470.3 MB, free: 15.36 MB / 378.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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 78 * 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 {6 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.009814/0.9224, allocations: 2.999 MB / 473.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01039/0.9328, allocations: 2.679 MB / 476 MB, free: 9.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.9329, allocations: 0 / 476 MB, free: 9.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0038/0.9367, allocations: 0.9393 MB / 476.9 MB, free: 8.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/0.9401, allocations: 252.4 kB / 477.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.9557, allocations: 3.287 MB / 480.4 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003755/0.9596, allocations: 1.749 MB / 482.2 MB, free: 3.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005172/0.9648, allocations: 0.5753 MB / 482.8 MB, free: 2.742 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00235/0.9672, allocations: 0.6164 MB / 483.4 MB, free: 2.125 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/0.9672, allocations: 3.938 kB / 483.4 MB, free: 2.121 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4256/1.393, allocations: 36.81 MB / 0.508 GB, free: 112.6 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003867/1.393, allocations: 214.2 kB / 0.5082 GB, free: 112.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.581/5.974, allocations: 0 / 0.5082 GB, free: 112.3 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_res.mat does not exist to compare? outputFormat=mat