Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.794e-05, allocations: 4 kB / 249.7 MB, free: 15.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3346, allocations: 44.49 MB / 294.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.4843, allocations: 81.66 MB / 375.9 MB, free: 220 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.4847, allocations: 83.95 kB / 376 MB, free: 136 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05829/0.543, allocations: 12.63 MB / 388.6 MB, free: 3.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5431, allocations: 0 / 388.6 MB, free: 3.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.22e-05/0.5431, allocations: 20 kB / 388.6 MB, free: 3.422 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002863/0.546, allocations: 0.8691 MB / 389.5 MB, free: 2.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.5461, allocations: 8.031 kB / 389.5 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.5465, allocations: 91.05 kB / 389.6 MB, free: 2.402 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.5478, allocations: 484.1 kB / 390 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/0.5479, allocations: 24 kB / 390.1 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.5481, allocations: 43.98 kB / 390.1 MB, free: 1.824 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001406/0.5495, allocations: 402.5 kB / 390.5 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.5512, allocations: 0.5382 MB / 391 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.5513, allocations: 11.89 kB / 391.1 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.148e-05/0.5514, allocations: 0 / 391.1 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.5514, allocations: 16 kB / 391.1 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006142/0.5576, allocations: 2.2 MB / 393.3 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.5594, allocations: 496 kB / 393.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007895/0.5602, allocations: 241.5 kB / 394 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.482e-05/0.5603, allocations: 12.91 kB / 394 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007855/0.5611, allocations: 303.8 kB / 394.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 3.687e-06/0.5612, allocations: 0 / 394.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.001333/0.5625, allocations: 424.3 kB / 394.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5627, allocations: 140.9 kB / 394.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/0.5634, allocations: 341.1 kB / 395.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001497/0.5636, allocations: 37.62 kB / 395.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.564, allocations: 358.6 kB / 395.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.5643, allocations: 141.9 kB / 395.7 MB, free: 12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.5643, allocations: 0 / 395.7 MB, free: 12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.5645, allocations: 334.8 kB / 396 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.565, allocations: 145.7 kB / 396.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005656/0.5655, allocations: 295.5 kB / 396.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.566, allocations: 161.9 kB / 396.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.566, allocations: 7.938 kB / 396.6 MB, free: 11 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001336/0.5674, allocations: 480.4 kB / 397.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007245/0.5682, allocations: 1.661 MB / 398.8 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.5682, allocations: 4 kB / 398.8 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005131/0.5687, allocations: 88.75 kB / 398.9 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008151/0.5696, allocations: 107.8 kB / 399 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.5722, allocations: 1.682 MB / 400.6 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008454/0.5732, allocations: 67.55 kB / 400.7 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/0.5733, allocations: 20.06 kB / 400.7 MB, free: 6.648 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5733, allocations: 8 kB / 400.7 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001251/0.5746, allocations: 435.4 kB / 401.2 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.5746, allocations: 4 kB / 401.2 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/0.575, allocations: 76.83 kB / 401.2 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/0.5757, allocations: 95.83 kB / 401.3 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.5782, allocations: 1.689 MB / 403 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006754/0.5789, allocations: 55.72 kB / 403.1 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.579, allocations: 24 kB / 403.1 MB, free: 4.152 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 (63): * Single equations (assignments): 62 * 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.0002875/0.5793, allocations: 135.9 kB / 403.2 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001229/0.5805, allocations: 420.2 kB / 403.6 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.5807, allocations: 55.42 kB / 403.7 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.5809, allocations: 52.95 kB / 403.7 MB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.5809, allocations: 4 kB / 403.8 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.581, allocations: 4 kB / 403.8 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.581, allocations: 48 / 403.8 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.5838, allocations: 1.172 MB / 404.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.5839, allocations: 0 / 404.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/0.5846, allocations: 71.83 kB / 405 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003792/0.585, allocations: 72.88 kB / 405.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.426e-05/0.5851, allocations: 8 kB / 405.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.5875, allocations: 1.596 MB / 406.7 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.5875, allocations: 4.062 kB / 406.7 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.5894, allocations: 0.7402 MB / 407.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004148/0.5899, allocations: 164.4 kB / 407.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.59, allocations: 11.98 kB / 407.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007057/0.5908, allocations: 43.95 kB / 407.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.591, allocations: 60.3 kB / 407.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.5911, allocations: 19.92 kB / 407.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004984/0.5916, allocations: 255 kB / 408 MB, free: 15.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5916, allocations: 0 / 408 MB, free: 15.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001625/0.5933, allocations: 267 kB / 408.2 MB, free: 14.79 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 (43): * 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: 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.002433/0.5958, allocations: 1.377 MB / 409.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.5981, allocations: 0.8724 MB / 410.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.5981, allocations: 0 / 410.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008646/0.599, allocations: 343.8 kB / 410.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008459/0.5999, allocations: 66.19 kB / 410.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.6036, allocations: 0.9792 MB / 411.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006839/0.6043, allocations: 0.9296 MB / 412.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005645/0.6049, allocations: 219.4 kB / 413 MB, free: 9.883 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6049, allocations: 0 / 413 MB, free: 9.883 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.34/3.945, allocations: 12.28 MB / 425.3 MB, free: 105.9 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_Characteristic_res.mat does not exist to compare? outputFormat=mat