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.078/2.078, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.584e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3231, allocations: 44.5 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.4705, allocations: 81.19 MB / 375.4 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.4709, allocations: 87.94 kB / 375.5 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05414/0.525, allocations: 12.24 MB / 387.7 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5251, allocations: 4 kB / 387.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.054e-05/0.5251, allocations: 15.98 kB / 387.8 MB, free: 4.27 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002379/0.5275, allocations: 0.829 MB / 388.6 MB, free: 3.387 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.5276, allocations: 8.031 kB / 388.6 MB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003107/0.5279, allocations: 83.05 kB / 388.7 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.5291, allocations: 472.2 kB / 389.1 MB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/0.5292, allocations: 27.98 kB / 389.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.5294, allocations: 36 kB / 389.2 MB, free: 2.734 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001226/0.5306, allocations: 390.5 kB / 389.6 MB, free: 2.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.5321, allocations: 0.5261 MB / 390.1 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/0.5321, allocations: 4 kB / 390.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.5322, allocations: 8 kB / 390.1 MB, free: 1.789 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.5323, allocations: 15.98 kB / 390.1 MB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005774/0.5381, allocations: 2.161 MB / 392.3 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.5396, allocations: 430.8 kB / 392.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007008/0.5403, allocations: 232.5 kB / 392.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/0.5404, allocations: 4 kB / 393 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006944/0.5411, allocations: 291.2 kB / 393.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.416e-06/0.5411, allocations: 4 kB / 393.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.001221/0.5423, allocations: 394 kB / 393.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/0.5425, allocations: 136.5 kB / 393.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.5432, allocations: 353.2 kB / 394.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.061e-05/0.5433, allocations: 33.7 kB / 394.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.5436, allocations: 342.7 kB / 394.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.5438, allocations: 142 kB / 394.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.5438, allocations: 3.938 kB / 394.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.544, allocations: 338.8 kB / 394.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.5444, allocations: 141.1 kB / 395.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.5449, allocations: 291.6 kB / 395.4 MB, free: 12.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.5454, allocations: 164.9 kB / 395.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.5454, allocations: 3.938 kB / 395.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001237/0.5467, allocations: 465.4 kB / 396 MB, free: 11.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007018/0.5474, allocations: 1.656 MB / 397.6 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.5474, allocations: 4 kB / 397.6 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004857/0.5479, allocations: 80.77 kB / 397.7 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006949/0.5486, allocations: 95.83 kB / 397.8 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.5511, allocations: 1.694 MB / 399.5 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008303/0.552, allocations: 71.7 kB / 399.6 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.5521, allocations: 20 kB / 399.6 MB, free: 7.785 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5521, allocations: 4 kB / 399.6 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/0.5533, allocations: 424.2 kB / 400 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.5533, allocations: 4 kB / 400 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00035/0.5537, allocations: 81.03 kB / 400.1 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.5543, allocations: 87.83 kB / 400.2 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.5566, allocations: 1.685 MB / 401.9 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006083/0.5573, allocations: 55.72 kB / 401.9 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.5573, allocations: 20 kB / 401.9 MB, free: 5.316 MB / 346.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.0002728/0.5576, allocations: 132 kB / 402.1 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001104/0.5587, allocations: 393.7 kB / 402.5 MB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.5589, allocations: 55.42 kB / 402.5 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.5591, allocations: 48.95 kB / 402.6 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5591, allocations: 8 kB / 402.6 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5591, allocations: 0 / 402.6 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.5591, allocations: 0 / 402.6 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.5617, allocations: 1.116 MB / 403.7 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.5617, allocations: 3.984 kB / 403.7 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.5622, allocations: 47.92 kB / 403.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/0.5626, allocations: 72.8 kB / 403.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.5627, allocations: 8 kB / 403.8 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.5649, allocations: 1.588 MB / 405.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5649, allocations: 0 / 405.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.5668, allocations: 0.7106 MB / 406.1 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.5672, allocations: 168.5 kB / 406.3 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.5674, allocations: 0 / 406.3 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005746/0.5679, allocations: 39.95 kB / 406.3 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.5682, allocations: 59.86 kB / 406.4 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.5682, allocations: 8 kB / 406.4 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004714/0.5687, allocations: 267 kB / 406.6 MB, free: 388 kB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5687, allocations: 0 / 406.6 MB, free: 388 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001402/0.5701, allocations: 259 kB / 406.9 MB, free: 128 kB / 346.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.002303/0.5725, allocations: 1.344 MB / 408.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002067/0.5746, allocations: 0.8515 MB / 409.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.5746, allocations: 7.938 kB / 409.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006939/0.5753, allocations: 314 kB / 409.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000719/0.5761, allocations: 74.14 kB / 409.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.5791, allocations: 0.927 MB / 410.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/0.5798, allocations: 0.914 MB / 411.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/0.5803, allocations: 207.4 kB / 411.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5803, allocations: 0 / 411.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.201/3.782, allocations: 11.82 MB / 423.3 MB, free: 105.5 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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat