Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.4e-05/4.416e-05, allocations: 4 kB / 255.5 MB, free: 3.078 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.09889, allocations: 44.51 MB / 300 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4717/0.5707, allocations: 82.58 MB / 382.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.571, allocations: 83.39 kB / 382.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04987/0.6209, allocations: 13.66 MB / 396.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.621, allocations: 3.875 kB / 396.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.012e-05/0.621, allocations: 15.62 kB / 396.3 MB, free: 11.03 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002083/0.6231, allocations: 0.9028 MB / 397.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.6232, allocations: 7.688 kB / 397.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.6234, allocations: 111 kB / 397.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.6236, allocations: 95.56 kB / 397.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009587/0.6245, allocations: 0.4932 MB / 397.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-05/0.6246, allocations: 58.17 kB / 398 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.6247, allocations: 69.69 kB / 398 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.6263, allocations: 0.6944 MB / 398.7 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.6263, allocations: 3.875 kB / 398.7 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-05/0.6264, allocations: 31.52 kB / 398.8 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.6264, allocations: 23.36 kB / 398.8 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.6277, allocations: 493.1 kB / 399.3 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00513/0.6328, allocations: 2.695 MB / 402 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.6343, allocations: 0.5705 MB / 402.5 MB, free: 8.246 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.6356, allocations: 422.1 kB / 403 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.482e-05/0.6357, allocations: 4.312 kB / 403 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007185/0.6364, allocations: 353.4 kB / 403.3 MB, free: 8.059 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 3.547e-06/0.6364, allocations: 0 / 403.3 MB, free: 8.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.001375/0.6378, allocations: 0.5403 MB / 403.8 MB, free: 7.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.6379, allocations: 119 kB / 404 MB, free: 7.801 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006815/0.6386, allocations: 427.4 kB / 404.4 MB, free: 7.652 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-05/0.6387, allocations: 43.58 kB / 404.4 MB, free: 7.621 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.6389, allocations: 361.6 kB / 404.8 MB, free: 7.367 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.6391, allocations: 179.8 kB / 405 MB, free: 7.246 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.6391, allocations: 9.188 kB / 405 MB, free: 7.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.6392, allocations: 336.2 kB / 405.3 MB, free: 6.926 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/0.6397, allocations: 189.1 kB / 405.5 MB, free: 6.922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/0.6403, allocations: 350.1 kB / 405.8 MB, free: 6.734 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.6408, allocations: 208.5 kB / 406 MB, free: 6.695 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.6408, allocations: 0 / 406 MB, free: 6.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001503/0.6423, allocations: 0.6474 MB / 406.7 MB, free: 6.555 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003437/0.6426, allocations: 1.577 MB / 408.2 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.6427, allocations: 3.75 kB / 408.2 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007286/0.6434, allocations: 165.3 kB / 408.4 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/0.6441, allocations: 100.7 kB / 408.5 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004755/0.6489, allocations: 3.589 MB / 412.1 MB, free: 17.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009382/0.6499, allocations: 92.03 kB / 412.2 MB, free: 17.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.6499, allocations: 25.81 kB / 412.2 MB, free: 17.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.65, allocations: 3.875 kB / 412.2 MB, free: 17.93 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001459/0.6514, allocations: 0.6074 MB / 412.8 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.6514, allocations: 3.812 kB / 412.8 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/0.652, allocations: 161 kB / 413 MB, free: 17.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.6526, allocations: 93.39 kB / 413.1 MB, free: 17.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/0.6572, allocations: 3.575 MB / 416.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/0.6579, allocations: 73.16 kB / 416.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.658, allocations: 26.25 kB / 416.7 MB, free: 14.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (66): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.6583, allocations: 171.6 kB / 416.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.6585, allocations: 58.41 kB / 417 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.6587, allocations: 72.2 kB / 417 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.6587, allocations: 3.875 kB / 417 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6588, allocations: 4 kB / 417 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.6588, allocations: 3.984 kB / 417.1 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.6616, allocations: 1.402 MB / 418.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6616, allocations: 8.031 kB / 418.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.6621, allocations: 54.19 kB / 418.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006277/0.6627, allocations: 157 kB / 418.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/0.6628, allocations: 11 kB / 418.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004604/0.6674, allocations: 3.507 MB / 422.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6675, allocations: 0 / 422.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.6697, allocations: 0.9545 MB / 423.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/0.67, allocations: 184 kB / 423.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.6702, allocations: 19.41 kB / 423.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/0.6708, allocations: 38.25 kB / 423.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/0.6711, allocations: 78.81 kB / 423.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.6711, allocations: 25.91 kB / 423.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005488/0.6717, allocations: 325.4 kB / 423.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6717, allocations: 0 / 423.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001651/0.6734, allocations: 346.8 kB / 424.1 MB, free: 10.6 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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00263/0.676, allocations: 1.601 MB / 425.7 MB, free: 9.699 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002669/0.6787, allocations: 1.327 MB / 427.1 MB, free: 9.152 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6788, allocations: 0.8125 kB / 427.1 MB, free: 9.152 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009519/0.6797, allocations: 0.5238 MB / 427.6 MB, free: 8.891 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000833/0.6806, allocations: 94.81 kB / 427.7 MB, free: 8.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.684, allocations: 1.132 MB / 428.8 MB, free: 8.316 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/0.6847, allocations: 0.9564 MB / 429.8 MB, free: 7.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/0.6851, allocations: 231.9 kB / 430 MB, free: 7.473 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6851, allocations: 0 / 430 MB, free: 7.473 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.144/3.829, allocations: 16.52 MB / 446.5 MB, free: 14.07 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat