Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.004/2.004, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.851e-05, allocations: 0 / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09732/0.09739, allocations: 44.5 MB / 299.9 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5243, allocations: 81.86 MB / 381.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/0.5247, allocations: 89.59 kB / 381.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04896/0.5736, allocations: 12.37 MB / 394.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5737, allocations: 0 / 394.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.385e-05/0.5737, allocations: 11.69 kB / 394.3 MB, free: 11.52 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002015/0.5758, allocations: 0.8386 MB / 395.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5758, allocations: 7.844 kB / 395.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001957/0.576, allocations: 101.2 kB / 395.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.5763, allocations: 81.03 kB / 395.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009921/0.5773, allocations: 468.6 kB / 395.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.5773, allocations: 59.16 kB / 395.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.5775, allocations: 57.75 kB / 395.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.5788, allocations: 0.6053 MB / 396.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/0.5789, allocations: 7.859 kB / 396.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/0.579, allocations: 23.19 kB / 396.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.579, allocations: 15.56 kB / 396.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.5801, allocations: 423.1 kB / 396.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004996/0.5851, allocations: 2.283 MB / 399.2 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.5865, allocations: 466.2 kB / 399.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006537/0.5872, allocations: 232.7 kB / 399.9 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.098e-05/0.5873, allocations: 3.781 kB / 399.9 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006602/0.5879, allocations: 305.5 kB / 400.2 MB, free: 9.359 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 3.236e-06/0.588, allocations: 0 / 400.2 MB, free: 9.359 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.001143/0.5891, allocations: 425.8 kB / 400.6 MB, free: 9.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.5892, allocations: 143.9 kB / 400.8 MB, free: 9.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.5899, allocations: 397.9 kB / 401.1 MB, free: 8.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.887e-05/0.59, allocations: 43.41 kB / 401.2 MB, free: 8.922 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.5902, allocations: 343.8 kB / 401.5 MB, free: 8.676 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.5904, allocations: 142 kB / 401.7 MB, free: 8.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.5904, allocations: 14.38 kB / 401.7 MB, free: 8.578 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.5905, allocations: 333.6 kB / 402 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.5909, allocations: 147.5 kB / 402.1 MB, free: 8.254 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.5914, allocations: 311.5 kB / 402.4 MB, free: 8.059 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.5918, allocations: 170.7 kB / 402.6 MB, free: 8.027 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.5918, allocations: 0 / 402.6 MB, free: 8.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001177/0.593, allocations: 0.519 MB / 403.1 MB, free: 7.898 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003464/0.5934, allocations: 1.662 MB / 404.8 MB, free: 6.152 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.5934, allocations: 7.781 kB / 404.8 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.5939, allocations: 71.45 kB / 404.9 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/0.5945, allocations: 97.14 kB / 405 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.5969, allocations: 1.73 MB / 406.7 MB, free: 20.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008684/0.5978, allocations: 92.64 kB / 406.8 MB, free: 20.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.5979, allocations: 19.09 kB / 406.8 MB, free: 20.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.5979, allocations: 3.938 kB / 406.8 MB, free: 20.65 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001102/0.599, allocations: 477.7 kB / 407.3 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5991, allocations: 11.52 kB / 407.3 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/0.5994, allocations: 77.3 kB / 407.4 MB, free: 20.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.6, allocations: 88.77 kB / 407.4 MB, free: 20.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.6022, allocations: 1.727 MB / 409.2 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.6029, allocations: 69.59 kB / 409.2 MB, free: 19.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.6029, allocations: 18.22 kB / 409.3 MB, free: 19.09 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (61): * Single equations (assignments): 60 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.6032, allocations: 156.3 kB / 409.4 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.6034, allocations: 49.84 kB / 409.5 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.6036, allocations: 61.44 kB / 409.5 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.6036, allocations: 7.734 kB / 409.5 MB, free: 18.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6036, allocations: 3.938 kB / 409.5 MB, free: 18.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.6036, allocations: 3.984 kB / 409.5 MB, free: 18.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.6061, allocations: 1.237 MB / 410.8 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.6062, allocations: 4.031 kB / 410.8 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.6066, allocations: 50.59 kB / 410.8 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000318/0.6069, allocations: 67.33 kB / 410.9 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.607, allocations: 15.55 kB / 410.9 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.6092, allocations: 1.643 MB / 412.6 MB, free: 16.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6092, allocations: 7.812 kB / 412.6 MB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.611, allocations: 0.7513 MB / 413.3 MB, free: 16.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.6114, allocations: 165 kB / 413.5 MB, free: 16.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6115, allocations: 18.83 kB / 413.5 MB, free: 16.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000611/0.6121, allocations: 42.44 kB / 413.5 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.6123, allocations: 50.42 kB / 413.6 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.6124, allocations: 14.44 kB / 413.6 MB, free: 16.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005627/0.6129, allocations: 306.7 kB / 413.9 MB, free: 16.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.613, allocations: 0 / 413.9 MB, free: 16.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001284/0.6143, allocations: 285.8 kB / 414.2 MB, free: 16.33 MB / 330.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: 18 (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_p.off,rectifier.thyristor_n.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_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002217/0.6165, allocations: 1.386 MB / 415.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.6185, allocations: 0.9047 MB / 416.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.6186, allocations: 4.562 kB / 416.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.6193, allocations: 348 kB / 416.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/0.6201, allocations: 80.17 kB / 416.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.6232, allocations: 0.9764 MB / 417.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.6239, allocations: 0.9211 MB / 418.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/0.6244, allocations: 213.2 kB / 419 MB, free: 13.62 MB / 330.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6244, allocations: 0 / 419 MB, free: 13.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.059/3.683, allocations: 12.11 MB / 431.1 MB, free: 7.574 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat