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 1.895/1.895, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.223e-05, allocations: 4 kB / 255.4 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09297, allocations: 44.51 MB / 299.9 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4688/0.5618, allocations: 82.32 MB / 382.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.5622, allocations: 84.17 kB / 382.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05215/0.6144, allocations: 12.76 MB / 395.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6144, allocations: 3.938 kB / 395.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.394e-05/0.6145, allocations: 15.62 kB / 395.1 MB, free: 11.04 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002214/0.6167, allocations: 0.8779 MB / 396 MB, free: 10.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.6168, allocations: 11.66 kB / 396 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002207/0.617, allocations: 105.2 kB / 396.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.6172, allocations: 81.44 kB / 396.2 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.6183, allocations: 483.3 kB / 396.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/0.6183, allocations: 53.19 kB / 396.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.6185, allocations: 68.52 kB / 396.8 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.6201, allocations: 0.6172 MB / 397.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/0.6202, allocations: 0 / 397.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.415e-05/0.6203, allocations: 30.69 kB / 397.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.6203, allocations: 19.38 kB / 397.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.6215, allocations: 442.8 kB / 397.9 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00537/0.6269, allocations: 2.331 MB / 400.2 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.6286, allocations: 0.4973 MB / 400.7 MB, free: 8.848 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007225/0.6293, allocations: 255.1 kB / 401 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.743e-05/0.6294, allocations: 4.281 kB / 401 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000728/0.6302, allocations: 332 kB / 401.3 MB, free: 8.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.887e-06/0.6302, allocations: 0 / 401.3 MB, free: 8.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.001251/0.6314, allocations: 452 kB / 401.7 MB, free: 8.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.6316, allocations: 152.6 kB / 401.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007148/0.6323, allocations: 392.3 kB / 402.3 MB, free: 8.266 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.6324, allocations: 43.33 kB / 402.3 MB, free: 8.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.6327, allocations: 352.3 kB / 402.7 MB, free: 7.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.6328, allocations: 147.6 kB / 402.8 MB, free: 7.879 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.6329, allocations: 13.31 kB / 402.8 MB, free: 7.879 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.633, allocations: 329.2 kB / 403.1 MB, free: 7.559 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.6334, allocations: 156.7 kB / 403.3 MB, free: 7.555 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.6339, allocations: 312.6 kB / 403.6 MB, free: 7.367 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.6343, allocations: 177 kB / 403.8 MB, free: 7.332 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.6344, allocations: 7.688 kB / 403.8 MB, free: 7.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001246/0.6356, allocations: 0.5267 MB / 404.3 MB, free: 7.199 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003421/0.636, allocations: 1.66 MB / 406 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.636, allocations: 3.875 kB / 406 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004675/0.6365, allocations: 80.64 kB / 406 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007678/0.6373, allocations: 103.2 kB / 406.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.6397, allocations: 1.735 MB / 407.9 MB, free: 19.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/0.6407, allocations: 73.84 kB / 407.9 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.6407, allocations: 26.77 kB / 408 MB, free: 19.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6408, allocations: 3.875 kB / 408 MB, free: 19.96 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001164/0.6419, allocations: 496.8 kB / 408.5 MB, free: 19.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.642, allocations: 3.875 kB / 408.5 MB, free: 19.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.6423, allocations: 77.06 kB / 408.5 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.643, allocations: 95.86 kB / 408.6 MB, free: 19.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.6453, allocations: 1.732 MB / 410.4 MB, free: 18.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.6459, allocations: 72.84 kB / 410.4 MB, free: 18.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.646, allocations: 26.39 kB / 410.5 MB, free: 18.38 MB / 330.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.0002686/0.6463, allocations: 152 kB / 410.6 MB, free: 18.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.6465, allocations: 50.75 kB / 410.7 MB, free: 18.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.6467, allocations: 64.59 kB / 410.7 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.6467, allocations: 11.72 kB / 410.7 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6467, allocations: 3.969 kB / 410.7 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.6467, allocations: 3.984 kB / 410.7 MB, free: 18.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.6493, allocations: 1.294 MB / 412 MB, free: 17.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.6493, allocations: 0 / 412 MB, free: 17.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/0.6499, allocations: 73.58 kB / 412.1 MB, free: 17.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003304/0.6503, allocations: 71.2 kB / 412.2 MB, free: 17.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.6503, allocations: 10.92 kB / 412.2 MB, free: 17.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.6525, allocations: 1.644 MB / 413.8 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6525, allocations: 3.875 kB / 413.8 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.6542, allocations: 0.79 MB / 414.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.6546, allocations: 171.9 kB / 414.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.6547, allocations: 10.5 kB / 414.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/0.6554, allocations: 54.11 kB / 414.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/0.6556, allocations: 57.73 kB / 414.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.6557, allocations: 15 kB / 414.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005011/0.6562, allocations: 303.4 kB / 415.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6562, allocations: 0 / 415.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001226/0.6575, allocations: 292.2 kB / 415.5 MB, free: 15.61 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: 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.002163/0.6597, allocations: 1.428 MB / 416.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.6617, allocations: 0.9352 MB / 417.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.6618, allocations: 4.312 kB / 417.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007155/0.6625, allocations: 358.9 kB / 418.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.6633, allocations: 87.05 kB / 418.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.6665, allocations: 1.027 MB / 419.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006256/0.6671, allocations: 0.9286 MB / 420.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/0.6676, allocations: 218.7 kB / 420.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6676, allocations: 0 / 420.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.973/3.641, allocations: 12.6 MB / 433.1 MB, free: 6.625 MB / 330.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