Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.615e-05/2.615e-05, allocations: 0 / 249.7 MB, free: 15.17 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3667, allocations: 44.5 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.5418, allocations: 84.4 MB / 378.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/0.5422, allocations: 87.95 kB / 378.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.119/0.6612, allocations: 27.9 MB / 406.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.6613, allocations: 0 / 406.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001445/0.6614, allocations: 31.94 kB / 406.6 MB, free: 1.258 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005061/0.6665, allocations: 1.516 MB / 408.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.6666, allocations: 8.031 kB / 408.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005896/0.6672, allocations: 158.1 kB / 408.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006379/0.6736, allocations: 1.636 MB / 409.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.303e-05/0.6737, allocations: 47.92 kB / 410 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002827/0.674, allocations: 76 kB / 410.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003499/0.6775, allocations: 1.262 MB / 411.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/0.6814, allocations: 1.484 MB / 412.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/0.6814, allocations: 0 / 412.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.6816, allocations: 11.92 kB / 412.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.6817, allocations: 50.52 kB / 412.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.6947, allocations: 4.692 MB / 417.6 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.6976, allocations: 1.024 MB / 418.6 MB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.6991, allocations: 0.5385 MB / 419.1 MB, free: 4.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.386e-05/0.6992, allocations: 8.781 kB / 419.1 MB, free: 4.414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/0.7006, allocations: 0.559 MB / 419.7 MB, free: 3.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=81): time 4.088e-06/0.7006, allocations: 0 / 419.7 MB, free: 3.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.002719/0.7033, allocations: 0.9254 MB / 420.6 MB, free: 2.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.7035, allocations: 153.3 kB / 420.8 MB, free: 2.719 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.7051, allocations: 0.6752 MB / 421.4 MB, free: 2.035 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000236/0.7053, allocations: 41.69 kB / 421.5 MB, free: 1.988 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007671/0.7061, allocations: 0.5991 MB / 422.1 MB, free: 1.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004354/0.7066, allocations: 224.9 kB / 422.3 MB, free: 1.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/0.7067, allocations: 0 / 422.3 MB, free: 1.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.7069, allocations: 354.8 kB / 422.7 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009755/0.7079, allocations: 382.5 kB / 423 MB, free: 440 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2683/0.9762, allocations: 0.6056 MB / 423.6 MB, free: 99.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.9776, allocations: 415.6 kB / 424 MB, free: 99.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.9776, allocations: 5.25 kB / 424 MB, free: 99.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002927/0.9806, allocations: 1.062 MB / 425.1 MB, free: 99.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005537/0.9812, allocations: 2.53 MB / 427.6 MB, free: 96.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.9812, allocations: 9.594 kB / 427.6 MB, free: 96.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008365/0.9821, allocations: 211.4 kB / 427.9 MB, free: 96.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.9832, allocations: 148.9 kB / 428 MB, free: 96.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004293/0.9875, allocations: 2.714 MB / 430.7 MB, free: 95.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.9889, allocations: 130.9 kB / 430.8 MB, free: 95.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.9891, allocations: 39.33 kB / 430.9 MB, free: 95.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.9891, allocations: 5.969 kB / 430.9 MB, free: 95.64 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002303/0.9914, allocations: 0.9872 MB / 431.9 MB, free: 95.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.9915, allocations: 8.906 kB / 431.9 MB, free: 95.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006413/0.9921, allocations: 212.8 kB / 432.1 MB, free: 95.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/0.9931, allocations: 147.9 kB / 432.2 MB, free: 95.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.9973, allocations: 2.731 MB / 435 MB, free: 94.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.9984, allocations: 112 kB / 435.1 MB, free: 94.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.9985, allocations: 43.11 kB / 435.1 MB, free: 94.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003901/0.9989, allocations: 171.5 kB / 435.3 MB, free: 94.23 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002398/1.001, allocations: 0.9356 MB / 436.2 MB, free: 94.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/1.002, allocations: 84.88 kB / 436.3 MB, free: 94.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/1.002, allocations: 99.03 kB / 436.4 MB, free: 94.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/1.002, allocations: 7.531 kB / 436.4 MB, free: 94.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.002, allocations: 1.906 kB / 436.4 MB, free: 94.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/1.002, allocations: 3.328 kB / 436.4 MB, free: 94.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005331/1.007, allocations: 2.296 MB / 438.7 MB, free: 93.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/1.007, allocations: 0 / 438.7 MB, free: 93.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/1.008, allocations: 77.88 kB / 438.8 MB, free: 93.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006287/1.009, allocations: 197.1 kB / 439 MB, free: 93.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.302e-05/1.009, allocations: 7.516 kB / 439 MB, free: 93.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/1.013, allocations: 2.626 MB / 441.6 MB, free: 91.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/1.013, allocations: 3.688 kB / 441.6 MB, free: 91.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/1.016, allocations: 1.573 MB / 443.2 MB, free: 90.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006488/1.016, allocations: 260.9 kB / 443.4 MB, free: 90.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/1.017, allocations: 7.375 kB / 443.4 MB, free: 90.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009266/1.017, allocations: 82.95 kB / 443.5 MB, free: 90.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004721/1.018, allocations: 143.3 kB / 443.7 MB, free: 90.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/1.018, allocations: 23.09 kB / 443.7 MB, free: 90.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009049/1.019, allocations: 0.4971 MB / 444.2 MB, free: 90.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.019, allocations: 3.844 kB / 444.2 MB, free: 90.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002326/1.021, allocations: 0.5325 MB / 444.7 MB, free: 90.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003384/1.025, allocations: 2.294 MB / 447 MB, free: 89.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003689/1.029, allocations: 1.771 MB / 448.8 MB, free: 88.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.029, allocations: 448 / 448.8 MB, free: 88.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/1.03, allocations: 0.6617 MB / 449.4 MB, free: 87.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/1.031, allocations: 171 kB / 449.6 MB, free: 87.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/1.037, allocations: 2.209 MB / 451.8 MB, free: 86.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.039, allocations: 1.378 MB / 453.2 MB, free: 86.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009172/1.039, allocations: 441.6 kB / 453.6 MB, free: 85.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/1.039, allocations: 0 / 453.6 MB, free: 85.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.382/4.421, allocations: 27.33 MB / 481 MB, free: 65.95 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL_res.mat does not exist to compare? outputFormat=mat