Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.146/2.146, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.551e-05, allocations: 5.531 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09695/0.097, allocations: 44.52 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4753/0.5724, allocations: 84.64 MB / 379 MB, free: 6.75 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.5728, allocations: 85.88 kB / 379 MB, free: 6.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1226/0.6954, allocations: 28.17 MB / 407.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.6955, allocations: 4 kB / 407.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001596/0.6956, allocations: 34.05 kB / 407.2 MB, free: 11.61 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.006179/0.7018, allocations: 1.527 MB / 408.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.7019, allocations: 15.97 kB / 408.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007858/0.7027, allocations: 166.4 kB / 409 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007321/0.71, allocations: 1.635 MB / 410.6 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.7102, allocations: 44 kB / 410.6 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004305/0.7107, allocations: 79.5 kB / 410.7 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004274/0.715, allocations: 1.266 MB / 412 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004619/0.7196, allocations: 1.51 MB / 413.5 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.428e-05/0.7197, allocations: 11.89 kB / 413.5 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/0.7199, allocations: 0 / 413.5 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.7201, allocations: 54.55 kB / 413.6 MB, free: 6.609 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.7345, allocations: 4.722 MB / 418.3 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/0.7378, allocations: 1.028 MB / 419.3 MB, free: 2.297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.7394, allocations: 0.5362 MB / 419.8 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.31e-05/0.7395, allocations: 18.55 kB / 419.9 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/0.741, allocations: 0.5665 MB / 420.4 MB, free: 1.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=82): time 4.578e-06/0.7411, allocations: 0 / 420.4 MB, free: 1.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=82): time 0.003199/0.7443, allocations: 0.9386 MB / 421.4 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.7445, allocations: 153.3 kB / 421.5 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.7464, allocations: 0.6779 MB / 422.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002479/0.7466, allocations: 41.69 kB / 422.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008872/0.7475, allocations: 0.5882 MB / 422.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004353/0.748, allocations: 232.4 kB / 423 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.7481, allocations: 0 / 423 MB, free: 14.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003096/0.7484, allocations: 398.7 kB / 423.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.7496, allocations: 386.5 kB / 423.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.751, allocations: 0.611 MB / 424.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.7522, allocations: 424.2 kB / 424.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.7522, allocations: 0 / 424.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003468/0.7557, allocations: 1.113 MB / 425.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001241/0.757, allocations: 2.532 MB / 428.5 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.757, allocations: 8 kB / 428.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.7581, allocations: 216.7 kB / 428.7 MB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.7595, allocations: 151.7 kB / 428.8 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005722/0.7652, allocations: 2.712 MB / 431.6 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.7669, allocations: 135.2 kB / 431.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.7671, allocations: 36 kB / 431.7 MB, free: 5.824 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.7671, allocations: 4 kB / 431.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00294/0.7701, allocations: 0.9908 MB / 432.7 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.7701, allocations: 8 kB / 432.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008769/0.771, allocations: 221.6 kB / 432.9 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.7722, allocations: 143.7 kB / 433.1 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.7776, allocations: 2.697 MB / 435.8 MB, free: 1.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.779, allocations: 119.3 kB / 435.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.7792, allocations: 36 kB / 435.9 MB, free: 1.492 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (107): * Single equations (assignments): 106 * 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.0004309/0.7796, allocations: 173.1 kB / 436.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002932/0.7826, allocations: 0.9371 MB / 437 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.7828, allocations: 90.91 kB / 437.1 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/0.7833, allocations: 101 kB / 437.2 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.7833, allocations: 8 kB / 437.2 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7833, allocations: 0 / 437.2 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.7833, allocations: 3.984 kB / 437.2 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00681/0.7902, allocations: 2.294 MB / 439.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.7902, allocations: 3.938 kB / 439.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/0.791, allocations: 87.94 kB / 439.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008194/0.7919, allocations: 200.8 kB / 439.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.564e-05/0.792, allocations: 3.984 kB / 439.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005396/0.7974, allocations: 2.642 MB / 442.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.7975, allocations: 0 / 442.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004175/0.8016, allocations: 1.575 MB / 444 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007394/0.8024, allocations: 255.9 kB / 444.3 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.8027, allocations: 15.98 kB / 444.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.8038, allocations: 75.91 kB / 444.4 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005984/0.8044, allocations: 140.6 kB / 444.5 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.776e-05/0.8045, allocations: 35.94 kB / 444.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001167/0.8057, allocations: 0.4952 MB / 445 MB, free: 8.145 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8057, allocations: 0 / 445 MB, free: 8.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002644/0.8084, allocations: 0.5486 MB / 445.6 MB, free: 7.594 MB / 346.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[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 60 * 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.004787/0.8132, allocations: 2.309 MB / 447.9 MB, free: 5.246 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004995/0.8182, allocations: 1.792 MB / 449.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.8183, allocations: 0 / 449.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.8201, allocations: 0.6739 MB / 450.4 MB, free: 2.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.8218, allocations: 167.5 kB / 450.5 MB, free: 2.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007947/0.8297, allocations: 2.258 MB / 452.8 MB, free: 280 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.8316, allocations: 1.406 MB / 454.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002441/0.8341, allocations: 410.6 kB / 454.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.8352, allocations: 435.3 kB / 455 MB, free: 14 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/0.8353, allocations: 0 / 455 MB, free: 14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/0.9442, allocations: 24.11 MB / 479.1 MB, free: 5.949 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003777/0.9446, allocations: 211 kB / 479.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.841/4.786, allocations: 0 / 479.3 MB, free: 5.66 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_res.mat does not exist to compare? outputFormat=mat