Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_DC_Drive",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.151/2.151, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.799e-05, allocations: 7.641 kB / 249.8 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09765, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4608/0.5585, allocations: 99.81 MB / 394.1 MB, free: 2.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/0.5589, allocations: 85.39 kB / 394.2 MB, free: 2.102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1766/0.7356, allocations: 35.83 MB / 430 MB, free: 8.188 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.105e-06/0.7356, allocations: 4 kB / 430 MB, free: 8.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002188/0.7359, allocations: 32 kB / 430.1 MB, free: 8.152 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 365 * Number of variables: 365 Notification: Performance of Generate backend data structure: time 0.00667/0.7425, allocations: 1.73 MB / 431.8 MB, free: 6.477 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.7426, allocations: 8.031 kB / 431.8 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.7441, allocations: 237.5 kB / 432 MB, free: 6.234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005012/0.7492, allocations: 1.281 MB / 433.3 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.7493, allocations: 47.81 kB / 433.4 MB, free: 5.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004448/0.7498, allocations: 91.91 kB / 433.5 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004058/0.7539, allocations: 1.067 MB / 434.5 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004796/0.7587, allocations: 1.28 MB / 435.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.483e-05/0.7589, allocations: 5.312 kB / 435.8 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/0.7591, allocations: 4 kB / 435.8 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/0.7591, allocations: 36 kB / 435.9 MB, free: 3.383 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.7758, allocations: 6.102 MB / 442 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/0.779, allocations: 0.9749 MB / 442.9 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.7806, allocations: 0.5197 MB / 443.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.7807, allocations: 8.781 kB / 443.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/0.7822, allocations: 0.52 MB / 444 MB, free: 11.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 4.508e-06/0.7822, allocations: 4 kB / 444 MB, free: 11.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=95): time 0.006833/0.789, allocations: 2.229 MB / 446.2 MB, free: 9.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.7892, allocations: 171 kB / 446.4 MB, free: 8.883 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/0.7918, allocations: 0.9771 MB / 447.4 MB, free: 7.895 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.7919, allocations: 29.7 kB / 447.4 MB, free: 7.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.793, allocations: 0.7675 MB / 448.1 MB, free: 7.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005379/0.7936, allocations: 307.6 kB / 448.4 MB, free: 6.777 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.874e-05/0.7937, allocations: 4 kB / 448.5 MB, free: 6.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002392/0.794, allocations: 353.9 kB / 448.8 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.7952, allocations: 386.5 kB / 449.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.7969, allocations: 0.7998 MB / 450 MB, free: 5.051 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.7984, allocations: 482.1 kB / 450.4 MB, free: 4.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.7985, allocations: 4 kB / 450.5 MB, free: 4.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004444/0.8029, allocations: 1.428 MB / 451.9 MB, free: 3.117 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002634/0.8056, allocations: 5.054 MB / 456.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-05/0.8057, allocations: 12 kB / 456.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.8069, allocations: 207.8 kB / 457.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/0.8096, allocations: 307.5 kB / 457.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006946/0.8165, allocations: 3.819 MB / 461.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/0.8192, allocations: 143.8 kB / 461.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/0.8194, allocations: 63.98 kB / 461.5 MB, free: 8.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.8195, allocations: 4 kB / 461.5 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003769/0.8232, allocations: 1.256 MB / 462.7 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/0.8233, allocations: 12 kB / 462.7 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.8244, allocations: 217.7 kB / 463 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.8267, allocations: 303.5 kB / 463.3 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006868/0.8336, allocations: 3.797 MB / 467 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.8361, allocations: 131.9 kB / 467.2 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/0.8363, allocations: 59.98 kB / 467.2 MB, free: 2.875 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 29 ($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,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 142 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004536/0.8368, allocations: 165.5 kB / 467.4 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003157/0.8399, allocations: 1.063 MB / 468.5 MB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/0.8404, allocations: 126.4 kB / 468.6 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/0.8438, allocations: 1.106 MB / 469.7 MB, free: 348 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.8438, allocations: 12 kB / 469.7 MB, free: 336 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.8438, allocations: 0 / 469.7 MB, free: 336 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/0.8439, allocations: 7.984 kB / 469.7 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006843/0.8507, allocations: 2.444 MB / 472.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.8508, allocations: 3.938 kB / 472.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.8524, allocations: 160 kB / 472.3 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009949/0.8534, allocations: 201.5 kB / 472.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.8536, allocations: 15.98 kB / 472.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006471/0.8601, allocations: 3.655 MB / 476.2 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/0.8601, allocations: 8.031 kB / 476.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004596/0.8648, allocations: 1.725 MB / 477.9 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.8659, allocations: 307.4 kB / 478.2 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/0.8662, allocations: 11.98 kB / 478.2 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/0.8681, allocations: 119.8 kB / 478.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/0.8686, allocations: 112.5 kB / 478.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.8687, allocations: 27.98 kB / 478.5 MB, free: 7.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001874/0.8706, allocations: 0.7128 MB / 479.2 MB, free: 6.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8706, allocations: 0 / 479.2 MB, free: 6.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003829/0.8744, allocations: 0.539 MB / 479.7 MB, free: 5.879 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,pulse2.twoPulse.filter[1].firstOrder.y,pulse2.twoPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twoPulse.filter[1].transferFunction[2].x_scaled[1],inductor.i,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,lMains.i) * Number of discrete variables: 20 (pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.005637/0.8801, allocations: 2.793 MB / 482.5 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006133/0.8863, allocations: 2.217 MB / 484.7 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/0.8864, allocations: 4 kB / 484.7 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002248/0.8886, allocations: 0.787 MB / 485.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/0.8912, allocations: 250 kB / 485.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.9017, allocations: 2.626 MB / 488.4 MB, free: 13 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002217/0.904, allocations: 1.342 MB / 489.7 MB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004388/0.9084, allocations: 430.1 kB / 490.2 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/0.9104, allocations: 0.5696 MB / 490.7 MB, free: 10.63 MB / 394.7 MB Notification: Performance of SimCode: time 2.455e-06/0.9104, allocations: 0 / 490.7 MB, free: 10.63 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4312/1.342, allocations: 32.08 MB / 0.5106 GB, free: 102.2 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003033/1.342, allocations: 201.7 kB / 0.5108 GB, free: 101.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.501/5.843, allocations: 0 / 0.5108 GB, free: 101.9 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.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive_res.mat does not exist to compare? outputFormat=mat