Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.227/2.227, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.492e-05/2.488e-05, allocations: 2.688 kB / 249.8 MB, free: 5.238 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09785, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4909/0.5888, allocations: 82.36 MB / 376.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004816/0.5894, allocations: 84 kB / 376.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08761/0.677, allocations: 13.73 MB / 390.5 MB, free: 17.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6771, allocations: 0 / 390.5 MB, free: 17.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.375e-05/0.6772, allocations: 14.69 kB / 390.5 MB, free: 17.7 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002622/0.6798, allocations: 0.9311 MB / 391.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.6799, allocations: 11.34 kB / 391.4 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/0.6802, allocations: 92.89 kB / 391.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.6814, allocations: 0.4986 MB / 392 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.6814, allocations: 23.19 kB / 392.1 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.6816, allocations: 46 kB / 392.1 MB, free: 16.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00145/0.6831, allocations: 472.3 kB / 392.6 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.6847, allocations: 0.6245 MB / 393.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.6848, allocations: 0 / 393.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.952e-05/0.6849, allocations: 0 / 393.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.6849, allocations: 27.89 kB / 393.2 MB, free: 16.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006529/0.6915, allocations: 2.55 MB / 395.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.6934, allocations: 0.5951 MB / 396.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.6945, allocations: 376.5 kB / 396.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.661e-05/0.6946, allocations: 11.61 kB / 396.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008785/0.6955, allocations: 356.1 kB / 397.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 3.868e-06/0.6955, allocations: 3.656 kB / 397.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.001556/0.6971, allocations: 0.516 MB / 397.6 MB, free: 14.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.6972, allocations: 114.6 kB / 397.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/0.6979, allocations: 356.9 kB / 398.1 MB, free: 14.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.698, allocations: 37.56 kB / 398.1 MB, free: 14.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.6984, allocations: 330.5 kB / 398.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.6987, allocations: 174.3 kB / 398.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.6987, allocations: 0 / 398.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.6989, allocations: 368.1 kB / 399 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.6995, allocations: 183 kB / 399.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006369/0.7001, allocations: 330.5 kB / 399.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/0.7007, allocations: 205.7 kB / 399.7 MB, free: 13.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.7007, allocations: 3.625 kB / 399.7 MB, free: 13.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001917/0.7026, allocations: 0.6338 MB / 400.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007834/0.7035, allocations: 1.57 MB / 401.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.7035, allocations: 3.781 kB / 401.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008329/0.7043, allocations: 158.9 kB / 402 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008907/0.7053, allocations: 104.8 kB / 402.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005427/0.7107, allocations: 3.514 MB / 405.6 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009512/0.7117, allocations: 66.42 kB / 405.7 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/0.7118, allocations: 22.44 kB / 405.7 MB, free: 8.652 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.7118, allocations: 7.938 kB / 405.7 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001562/0.7134, allocations: 0.5385 MB / 406.3 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.7134, allocations: 3.875 kB / 406.3 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007237/0.7142, allocations: 164.3 kB / 406.4 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/0.715, allocations: 99.66 kB / 406.5 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005266/0.7203, allocations: 3.498 MB / 410 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008707/0.7212, allocations: 55.06 kB / 410.1 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-05/0.7213, allocations: 27.22 kB / 410.1 MB, free: 5.688 MB / 314.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: 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 (67): * Single equations (assignments): 65 * 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: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003213/0.7216, allocations: 145.5 kB / 410.3 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001444/0.7231, allocations: 0.5202 MB / 410.8 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.7232, allocations: 58.41 kB / 410.8 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.7234, allocations: 59.62 kB / 410.9 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.7235, allocations: 11.73 kB / 410.9 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7235, allocations: 7.953 kB / 410.9 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.7235, allocations: 0 / 410.9 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.7266, allocations: 1.286 MB / 412.2 MB, free: 4.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.7266, allocations: 0 / 412.2 MB, free: 4.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/0.7273, allocations: 78.11 kB / 412.3 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007111/0.7281, allocations: 151.2 kB / 412.4 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/0.7281, allocations: 3.875 kB / 412.4 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005288/0.7334, allocations: 3.398 MB / 415.8 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.7335, allocations: 0 / 415.8 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.7358, allocations: 0.8915 MB / 416.7 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.7363, allocations: 191.4 kB / 416.9 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.7364, allocations: 3.875 kB / 416.9 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007646/0.7372, allocations: 47.08 kB / 417 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.7376, allocations: 76.38 kB / 417 MB, free: 1.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/0.7377, allocations: 18.03 kB / 417 MB, free: 1.672 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005118/0.7382, allocations: 267.3 kB / 417.3 MB, free: 1.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7382, allocations: 0 / 417.3 MB, free: 1.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002116/0.7403, allocations: 322.9 kB / 417.6 MB, free: 1.184 MB / 314.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: 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.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 (45): * Single equations (assignments): 38 * 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: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002973/0.7433, allocations: 1.478 MB / 419.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00335/0.7467, allocations: 1.327 MB / 420.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.7468, allocations: 0 / 420.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.748, allocations: 0.5178 MB / 420.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009476/0.749, allocations: 87.47 kB / 421 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.7534, allocations: 1.092 MB / 422.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008582/0.7543, allocations: 0.9624 MB / 423.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009162/0.7553, allocations: 100.6 kB / 423.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/0.7558, allocations: 230.7 kB / 423.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of SimCode: time 3.958e-06/0.7558, allocations: 0 / 423.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0775/0.8333, allocations: 14.82 MB / 438.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004347/0.8338, allocations: 222.8 kB / 438.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.511/4.345, allocations: 0 / 438.4 MB, free: 13.25 MB / 346.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_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat