Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.21/2.21, allocations: 225.8 MB / 239.3 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.695e-05, allocations: 4 kB / 292.8 MB, free: 11.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 50.41 MB / 343.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4943/0.5991, allocations: 89.44 MB / 432.6 MB, free: 6.676 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.5995, allocations: 91.86 kB / 432.7 MB, free: 6.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05917/0.6587, allocations: 14.97 MB / 447.7 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6588, allocations: 0 / 447.7 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.182e-05/0.6588, allocations: 15.38 kB / 447.7 MB, free: 0.6602 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.002648/0.6615, allocations: 0.9185 MB / 448.6 MB, free: 15.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.6616, allocations: 15.47 kB / 448.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003018/0.6619, allocations: 114.8 kB / 448.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.6622, allocations: 93 kB / 448.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.6636, allocations: 0.5155 MB / 449.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.6637, allocations: 55.28 kB / 449.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.6639, allocations: 73.09 kB / 449.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.6658, allocations: 0.7391 MB / 450.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.159e-05/0.6659, allocations: 3.906 kB / 450.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.666, allocations: 30.56 kB / 450.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.6661, allocations: 23.09 kB / 450.3 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.6676, allocations: 0.5159 MB / 450.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007222/0.6749, allocations: 2.778 MB / 453.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.6764, allocations: 0.5444 MB / 454.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.6779, allocations: 433.7 kB / 454.5 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/0.6781, allocations: 4.562 kB / 454.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009925/0.6791, allocations: 361.8 kB / 454.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 3.828e-06/0.6791, allocations: 3.938 kB / 454.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=60): time 0.001774/0.6809, allocations: 0.5656 MB / 455.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.681, allocations: 148.8 kB / 455.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009905/0.6821, allocations: 452.5 kB / 456 MB, free: 11.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001938/0.6823, allocations: 45.62 kB / 456.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.6827, allocations: 330.3 kB / 456.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.683, allocations: 177.4 kB / 456.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.683, allocations: 17.56 kB / 456.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.6833, allocations: 366.4 kB / 456.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/0.6839, allocations: 204.7 kB / 457.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007382/0.6847, allocations: 362.8 kB / 457.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006174/0.6853, allocations: 222.4 kB / 457.7 MB, free: 10.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.6853, allocations: 4 kB / 457.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002051/0.6874, allocations: 0.7054 MB / 458.4 MB, free: 9.645 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008094/0.6882, allocations: 1.572 MB / 460 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.6883, allocations: 4 kB / 460 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009172/0.6892, allocations: 173.7 kB / 460.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/0.6901, allocations: 106.6 kB / 460.3 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005562/0.6956, allocations: 3.593 MB / 463.9 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.6967, allocations: 92.48 kB / 464 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.141e-05/0.6969, allocations: 22.75 kB / 464 MB, free: 4.273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.6969, allocations: 4 kB / 464 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001835/0.6987, allocations: 0.622 MB / 464.6 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.6988, allocations: 11.94 kB / 464.6 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000761/0.6996, allocations: 155.3 kB / 464.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007402/0.7003, allocations: 102.2 kB / 464.9 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005478/0.7058, allocations: 3.584 MB / 468.5 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00092/0.7068, allocations: 79 kB / 468.5 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.7069, allocations: 35.23 kB / 468.6 MB, free: 164 kB / 346.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (68): * Single equations (assignments): 66 * 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.0003106/0.7073, allocations: 167.1 kB / 468.7 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.7075, allocations: 59.3 kB / 468.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.7078, allocations: 73.17 kB / 468.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.7078, allocations: 11.92 kB / 468.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.7078, allocations: 7.953 kB / 468.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.7079, allocations: 0 / 468.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003765/0.7116, allocations: 1.474 MB / 470.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.7117, allocations: 4.031 kB / 470.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.7123, allocations: 55.28 kB / 470.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000762/0.713, allocations: 146.6 kB / 470.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.7132, allocations: 15.17 kB / 470.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00541/0.7186, allocations: 3.519 MB / 474.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7186, allocations: 0 / 474.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.7215, allocations: 0.9988 MB / 475.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005351/0.7221, allocations: 192.5 kB / 475.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.7223, allocations: 15.69 kB / 475.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007064/0.723, allocations: 46.08 kB / 475.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.7233, allocations: 83.16 kB / 475.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.7234, allocations: 23.73 kB / 475.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007291/0.7242, allocations: 333.4 kB / 475.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.7242, allocations: 4 kB / 475.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001941/0.7261, allocations: 355.9 kB / 476.1 MB, free: 9.703 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (44): * Single equations (assignments): 37 * 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.00346/0.7296, allocations: 1.671 MB / 477.8 MB, free: 8.301 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003519/0.7332, allocations: 1.377 MB / 479.2 MB, free: 7.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.7333, allocations: 0 / 479.2 MB, free: 7.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.7346, allocations: 0.5362 MB / 479.7 MB, free: 6.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.7358, allocations: 107.3 kB / 479.8 MB, free: 6.359 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/0.7403, allocations: 1.17 MB / 481 MB, free: 5.145 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/0.7412, allocations: 0.9672 MB / 481.9 MB, free: 4.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008929/0.7421, allocations: 124.9 kB / 482.1 MB, free: 4.027 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/0.7426, allocations: 243.3 kB / 482.3 MB, free: 3.785 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.7427, allocations: 0 / 482.3 MB, free: 3.785 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06555/0.8082, allocations: 16.73 MB / 499 MB, free: 3.348 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004003/0.8087, allocations: 236.4 kB / 499.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.323/4.132, allocations: 0 / 499.3 MB, free: 3.039 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat