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.035/2.035, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.819e-05, allocations: 0 / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1225, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4687/0.5912, allocations: 82.64 MB / 382.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/0.5916, allocations: 89.45 kB / 382.7 MB, free: 12.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04164/0.6333, allocations: 10.55 MB / 393.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6333, allocations: 0 / 393.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.533e-05/0.6334, allocations: 19.53 kB / 393.3 MB, free: 11.77 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002016/0.6354, allocations: 0.8643 MB / 394.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.6355, allocations: 11.78 kB / 394.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.6357, allocations: 106.6 kB / 394.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.6359, allocations: 85.7 kB / 394.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009546/0.6368, allocations: 489.4 kB / 394.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.6369, allocations: 57.09 kB / 394.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.637, allocations: 63.25 kB / 395 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.6386, allocations: 0.642 MB / 395.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.6386, allocations: 7.844 kB / 395.6 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/0.6387, allocations: 28.62 kB / 395.6 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.6387, allocations: 14.97 kB / 395.6 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.6399, allocations: 467.4 kB / 396.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00514/0.6451, allocations: 2.583 MB / 398.7 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.6467, allocations: 0.5564 MB / 399.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007755/0.6475, allocations: 305 kB / 399.5 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.348e-05/0.6476, allocations: 8.312 kB / 399.5 MB, free: 9.605 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006968/0.6483, allocations: 329.5 kB / 399.9 MB, free: 9.527 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 3.236e-06/0.6483, allocations: 0 / 399.9 MB, free: 9.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.001325/0.6496, allocations: 0.5036 MB / 400.4 MB, free: 9.445 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.6497, allocations: 121.7 kB / 400.5 MB, free: 9.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/0.6504, allocations: 419.5 kB / 400.9 MB, free: 9.203 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.595e-05/0.6505, allocations: 42.59 kB / 400.9 MB, free: 9.172 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.6508, allocations: 306.2 kB / 401.2 MB, free: 9.016 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.6509, allocations: 165.1 kB / 401.4 MB, free: 8.918 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.651, allocations: 14.03 kB / 401.4 MB, free: 8.918 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.6511, allocations: 365.6 kB / 401.8 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.6516, allocations: 176.7 kB / 401.9 MB, free: 8.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.6521, allocations: 330 kB / 402.3 MB, free: 8.422 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.6526, allocations: 195.5 kB / 402.5 MB, free: 8.402 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.6526, allocations: 0 / 402.5 MB, free: 8.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001481/0.6541, allocations: 0.6197 MB / 403.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003218/0.6545, allocations: 1.571 MB / 404.7 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.6545, allocations: 3.75 kB / 404.7 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007419/0.6553, allocations: 154.7 kB / 404.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.6559, allocations: 88.39 kB / 404.9 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/0.6596, allocations: 2.319 MB / 407.2 MB, free: 21.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008714/0.6605, allocations: 91.91 kB / 407.3 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/0.6605, allocations: 22.69 kB / 407.3 MB, free: 21.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.6606, allocations: 3.812 kB / 407.3 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/0.6619, allocations: 0.543 MB / 407.9 MB, free: 20.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6619, allocations: 7.75 kB / 407.9 MB, free: 20.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.6625, allocations: 149.7 kB / 408 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.6631, allocations: 77.89 kB / 408.1 MB, free: 20.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/0.6668, allocations: 2.314 MB / 410.4 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007914/0.6676, allocations: 77.14 kB / 410.5 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.6677, allocations: 21.16 kB / 410.5 MB, free: 19.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0002641/0.668, allocations: 149.3 kB / 410.7 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.6681, allocations: 58.45 kB / 410.7 MB, free: 19.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.6683, allocations: 71.75 kB / 410.8 MB, free: 19.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.6683, allocations: 7.875 kB / 410.8 MB, free: 19.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6683, allocations: 0 / 410.8 MB, free: 19.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.6683, allocations: 3.984 kB / 410.8 MB, free: 19.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.671, allocations: 1.317 MB / 412.1 MB, free: 18.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.671, allocations: 3.984 kB / 412.1 MB, free: 18.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.6714, allocations: 48.06 kB / 412.2 MB, free: 18.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006006/0.672, allocations: 135.2 kB / 412.3 MB, free: 18.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/0.6721, allocations: 14.7 kB / 412.3 MB, free: 18.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003671/0.6758, allocations: 2.315 MB / 414.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6759, allocations: 3.938 kB / 414.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.6778, allocations: 0.8782 MB / 415.5 MB, free: 16.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.6782, allocations: 183.5 kB / 415.7 MB, free: 16.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.6783, allocations: 17.86 kB / 415.7 MB, free: 16.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/0.6789, allocations: 37.91 kB / 415.7 MB, free: 16.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.6791, allocations: 57.56 kB / 415.8 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/0.6792, allocations: 18.53 kB / 415.8 MB, free: 16.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005464/0.6797, allocations: 326.1 kB / 416.1 MB, free: 16.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6798, allocations: 0 / 416.1 MB, free: 16.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001476/0.6812, allocations: 317.8 kB / 416.4 MB, free: 16.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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.002344/0.6836, allocations: 1.528 MB / 418 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.6861, allocations: 1.097 MB / 419.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.6862, allocations: 0 / 419.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.687, allocations: 432.4 kB / 419.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008619/0.6879, allocations: 91.41 kB / 419.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.6913, allocations: 0.9947 MB / 420.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/0.692, allocations: 0.9423 MB / 421.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000723/0.6927, allocations: 103.5 kB / 421.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.6931, allocations: 217.3 kB / 421.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6931, allocations: 0 / 421.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06083/0.7539, allocations: 15.44 MB / 437.3 MB, free: 6.152 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003888/0.7544, allocations: 233.7 kB / 437.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.434/4.188, allocations: 0 / 437.5 MB, free: 5.84 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat