Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.236/2.236, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.449e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3172, allocations: 44.5 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.4664, allocations: 82.37 MB / 376.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/0.4668, allocations: 87.92 kB / 376.7 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05805/0.5248, allocations: 13.74 MB / 390.4 MB, free: 1.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5249, allocations: 0 / 390.4 MB, free: 1.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.693e-05/0.525, allocations: 16 kB / 390.4 MB, free: 1.66 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002792/0.5278, allocations: 0.9208 MB / 391.4 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.5279, allocations: 8.031 kB / 391.4 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/0.5282, allocations: 90.92 kB / 391.5 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.5295, allocations: 0.5045 MB / 392 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.5296, allocations: 20 kB / 392 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.5298, allocations: 47.95 kB / 392 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001418/0.5312, allocations: 479.8 kB / 392.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.5328, allocations: 0.6171 MB / 393.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.5329, allocations: 4 kB / 393.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.7e-05/0.533, allocations: 3.984 kB / 393.1 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.533, allocations: 23.95 kB / 393.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007268/0.5403, allocations: 2.536 MB / 395.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.5423, allocations: 0.604 MB / 396.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.5435, allocations: 378.4 kB / 396.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.391e-05/0.5436, allocations: 4.562 kB / 396.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009055/0.5445, allocations: 353.2 kB / 397 MB, free: 10.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=61): time 3.656e-06/0.5445, allocations: 7.938 kB / 397 MB, free: 10.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.001556/0.5461, allocations: 0.5197 MB / 397.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.944e-05/0.5462, allocations: 119.4 kB / 397.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.547, allocations: 349.1 kB / 398 MB, free: 9.801 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.5471, allocations: 37.69 kB / 398 MB, free: 9.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.5475, allocations: 358.6 kB / 398.4 MB, free: 9.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.5478, allocations: 177.5 kB / 398.5 MB, free: 9.227 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.5479, allocations: 4 kB / 398.5 MB, free: 9.223 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.5481, allocations: 338.8 kB / 398.9 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/0.5486, allocations: 181.5 kB / 399.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/0.5493, allocations: 339.9 kB / 399.4 MB, free: 8.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005825/0.5499, allocations: 191.2 kB / 399.6 MB, free: 8.125 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.55, allocations: 0 / 399.6 MB, free: 8.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001874/0.5519, allocations: 0.6094 MB / 400.2 MB, free: 7.504 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007815/0.5527, allocations: 1.579 MB / 401.8 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.5527, allocations: 4 kB / 401.8 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008223/0.5536, allocations: 149.6 kB / 401.9 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/0.5544, allocations: 107.9 kB / 402 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005174/0.5596, allocations: 3.5 MB / 405.5 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009097/0.5606, allocations: 67.62 kB / 405.6 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/0.5607, allocations: 27.98 kB / 405.6 MB, free: 1.719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.5607, allocations: 4 kB / 405.6 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00155/0.5623, allocations: 0.5416 MB / 406.2 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.5623, allocations: 4.188 kB / 406.2 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006627/0.563, allocations: 166 kB / 406.3 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.5637, allocations: 95.83 kB / 406.4 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005053/0.5688, allocations: 3.484 MB / 409.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.5695, allocations: 55.72 kB / 410 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.5696, allocations: 28 kB / 410 MB, free: 13.1 MB / 362.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 (67): * Single equations (assignments): 65 * 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.0003034/0.5699, allocations: 146 kB / 410.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001478/0.5714, allocations: 0.5197 MB / 410.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.5716, allocations: 55.34 kB / 410.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.5718, allocations: 65.61 kB / 410.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.5718, allocations: 4 kB / 410.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.5719, allocations: 3.953 kB / 410.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.5719, allocations: 4 kB / 410.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/0.575, allocations: 1.289 MB / 412.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.5751, allocations: 0 / 412.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006502/0.5757, allocations: 67.89 kB / 412.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007096/0.5765, allocations: 157.6 kB / 412.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.5765, allocations: 7.984 kB / 412.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004934/0.5815, allocations: 3.383 MB / 415.7 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5815, allocations: 0 / 415.7 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.5839, allocations: 0.9064 MB / 416.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004926/0.5844, allocations: 192.2 kB / 416.8 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.5846, allocations: 4 kB / 416.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006916/0.5853, allocations: 51.89 kB / 416.8 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.5856, allocations: 76.44 kB / 416.9 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/0.5857, allocations: 19.98 kB / 416.9 MB, free: 5.812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005319/0.5863, allocations: 267 kB / 417.2 MB, free: 5.551 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5863, allocations: 0 / 417.2 MB, free: 5.551 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001806/0.5881, allocations: 318.9 kB / 417.5 MB, free: 5.238 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (45): * Single equations (assignments): 38 * 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.002682/0.5908, allocations: 1.476 MB / 419 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003048/0.5939, allocations: 1.3 MB / 420.3 MB, free: 2.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.594, allocations: 5.562 kB / 420.3 MB, free: 2.391 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.5951, allocations: 0.5168 MB / 420.8 MB, free: 1.852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008495/0.596, allocations: 74.94 kB / 420.9 MB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.6, allocations: 1.113 MB / 422 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2719/0.8719, allocations: 0.9535 MB / 422.9 MB, free: 104.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009375/0.8729, allocations: 235.4 kB / 423.2 MB, free: 104.4 MB / 362.7 MB Notification: Performance of SimCode: time 1.522e-06/0.8729, allocations: 0 / 423.2 MB, free: 104.4 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.041/3.914, allocations: 16.47 MB / 439.6 MB, free: 101.2 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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat