Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.619e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3148, allocations: 44.51 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.474, allocations: 81.44 MB / 375.7 MB, free: 440 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/0.4744, allocations: 87.94 kB / 375.7 MB, free: 352 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0531/0.5275, allocations: 12.52 MB / 388.3 MB, free: 3.766 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5276, allocations: 0 / 388.3 MB, free: 3.766 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.908e-05/0.5277, allocations: 20 kB / 388.3 MB, free: 3.746 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002319/0.53, allocations: 0.8494 MB / 389.1 MB, free: 2.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.5301, allocations: 8.031 kB / 389.1 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002584/0.5303, allocations: 79.06 kB / 389.2 MB, free: 2.758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.5315, allocations: 488.1 kB / 389.7 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.5316, allocations: 28 kB / 389.7 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.5317, allocations: 36 kB / 389.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00124/0.533, allocations: 402.5 kB / 390.1 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.5344, allocations: 0.5342 MB / 390.7 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.5345, allocations: 3.953 kB / 390.7 MB, free: 1.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.781e-05/0.5346, allocations: 3.984 kB / 390.7 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.5346, allocations: 20 kB / 390.7 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005751/0.5403, allocations: 2.2 MB / 392.9 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.5418, allocations: 438.8 kB / 393.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006985/0.5426, allocations: 236.6 kB / 393.6 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.078e-05/0.5427, allocations: 7.938 kB / 393.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006951/0.5434, allocations: 287.8 kB / 393.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=47): time 3.376e-06/0.5434, allocations: 4 kB / 393.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.001177/0.5446, allocations: 392.7 kB / 394.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.5447, allocations: 144.5 kB / 394.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/0.5454, allocations: 361 kB / 394.7 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.567e-05/0.5455, allocations: 37.64 kB / 394.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.5459, allocations: 350.6 kB / 395.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.5461, allocations: 134.1 kB / 395.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.5461, allocations: 7.938 kB / 395.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5463, allocations: 334.8 kB / 395.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.5467, allocations: 149.7 kB / 395.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.5472, allocations: 291.4 kB / 396 MB, free: 11.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.5477, allocations: 161.9 kB / 396.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.5477, allocations: 0 / 396.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001293/0.549, allocations: 480.3 kB / 396.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000712/0.5497, allocations: 1.657 MB / 398.3 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.5498, allocations: 4 kB / 398.3 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004764/0.5502, allocations: 76.83 kB / 398.4 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/0.551, allocations: 95.83 kB / 398.5 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.5534, allocations: 1.694 MB / 400.2 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008364/0.5543, allocations: 75.61 kB / 400.2 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.5544, allocations: 20 kB / 400.3 MB, free: 7.121 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.5544, allocations: 4 kB / 400.3 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/0.5556, allocations: 423.4 kB / 400.7 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.5556, allocations: 4 kB / 400.7 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003465/0.5559, allocations: 80.89 kB / 400.8 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.5565, allocations: 87.83 kB / 400.8 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.5588, allocations: 1.681 MB / 402.5 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.5595, allocations: 55.72 kB / 402.6 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.5595, allocations: 24 kB / 402.6 MB, free: 4.652 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 (62): * Single equations (assignments): 61 * 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.0002555/0.5598, allocations: 142.7 kB / 402.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0011/0.5609, allocations: 401.2 kB / 403.1 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.561, allocations: 51.47 kB / 403.2 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.5612, allocations: 52.95 kB / 403.2 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.5613, allocations: 4 kB / 403.2 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5613, allocations: 0 / 403.2 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.5613, allocations: 0 / 403.2 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.5638, allocations: 1.132 MB / 404.4 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.5639, allocations: 0 / 404.4 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.5643, allocations: 51.84 kB / 404.4 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003508/0.5647, allocations: 76.8 kB / 404.5 MB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.5648, allocations: 8.062 kB / 404.5 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.5669, allocations: 1.588 MB / 406.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.567, allocations: 0 / 406.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.5687, allocations: 0.7183 MB / 406.8 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.5691, allocations: 164.4 kB / 407 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.5692, allocations: 7.953 kB / 407 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/0.5698, allocations: 39.97 kB / 407 MB, free: 0 / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/0.5701, allocations: 47.92 kB / 407.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.5701, allocations: 19.98 kB / 407.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004762/0.5706, allocations: 263 kB / 407.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5706, allocations: 0 / 407.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001389/0.572, allocations: 259.1 kB / 407.6 MB, free: 15.43 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: 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 (40): * Single equations (assignments): 34 * 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.002177/0.5742, allocations: 1.355 MB / 408.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.5763, allocations: 0.8545 MB / 409.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.5764, allocations: 0.8125 kB / 409.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007254/0.5771, allocations: 325.5 kB / 410.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/0.5779, allocations: 62.03 kB / 410.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.5811, allocations: 0.9431 MB / 411.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006671/0.5818, allocations: 0.9258 MB / 412.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/0.5823, allocations: 219.4 kB / 412.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5824, allocations: 0 / 412.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.217/3.8, allocations: 12.08 MB / 424.3 MB, free: 106 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_RLV_res.mat does not exist to compare? outputFormat=mat