Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 194.9 MB / 208.4 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.591e-05/4.611e-05, allocations: 4 kB / 255.5 MB, free: 3.062 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 44.51 MB / 300 MB, free: 6.492 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4418/0.5596, allocations: 81.56 MB / 381.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.56, allocations: 85.56 kB / 381.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04886/0.6088, allocations: 12.03 MB / 393.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6089, allocations: 0 / 393.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.252e-05/0.609, allocations: 11.62 kB / 393.7 MB, free: 11.21 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002154/0.6111, allocations: 0.818 MB / 394.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.6112, allocations: 11.75 kB / 394.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002325/0.6114, allocations: 96.06 kB / 394.6 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.6117, allocations: 74.36 kB / 394.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.6127, allocations: 471.8 kB / 395.1 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.118e-05/0.6128, allocations: 46.89 kB / 395.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.613, allocations: 66.81 kB / 395.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.6144, allocations: 0.5735 MB / 395.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.6145, allocations: 0 / 395.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.699e-05/0.6146, allocations: 26.55 kB / 395.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.6146, allocations: 15.58 kB / 395.8 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.6157, allocations: 406 kB / 396.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004951/0.6207, allocations: 2.198 MB / 398.4 MB, free: 9.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.6221, allocations: 444.7 kB / 398.9 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006825/0.6228, allocations: 227.9 kB / 399.1 MB, free: 9.289 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.474e-05/0.6229, allocations: 4.172 kB / 399.1 MB, free: 9.289 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006236/0.6235, allocations: 299.7 kB / 399.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 3.426e-06/0.6235, allocations: 0 / 399.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.001124/0.6247, allocations: 407.5 kB / 399.8 MB, free: 9.129 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.6248, allocations: 146 kB / 399.9 MB, free: 8.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/0.6255, allocations: 409.8 kB / 400.3 MB, free: 8.844 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.6257, allocations: 37.81 kB / 400.4 MB, free: 8.812 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.6259, allocations: 338.9 kB / 400.7 MB, free: 8.594 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.626, allocations: 127.4 kB / 400.8 MB, free: 8.516 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.6261, allocations: 18.88 kB / 400.8 MB, free: 8.508 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.6262, allocations: 335.2 kB / 401.2 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.6266, allocations: 146.4 kB / 401.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/0.6271, allocations: 292.8 kB / 401.6 MB, free: 8.016 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.6275, allocations: 158.1 kB / 401.8 MB, free: 8.004 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.6275, allocations: 0 / 401.8 MB, free: 8.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001157/0.6287, allocations: 0.5009 MB / 402.3 MB, free: 7.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003523/0.629, allocations: 1.657 MB / 403.9 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.6291, allocations: 4.547 kB / 403.9 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.6296, allocations: 92.36 kB / 404 MB, free: 6.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.6303, allocations: 88.83 kB / 404.1 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/0.633, allocations: 1.844 MB / 405.9 MB, free: 20.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/0.6339, allocations: 84.55 kB / 406 MB, free: 20.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.634, allocations: 18.81 kB / 406 MB, free: 20.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.634, allocations: 3.875 kB / 406 MB, free: 20.65 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/0.6351, allocations: 469.3 kB / 406.5 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6352, allocations: 3.75 kB / 406.5 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.6355, allocations: 95.94 kB / 406.6 MB, free: 20.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.6361, allocations: 72.5 kB / 406.7 MB, free: 20.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.6386, allocations: 1.839 MB / 408.5 MB, free: 19.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000632/0.6393, allocations: 63.59 kB / 408.6 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.6394, allocations: 25.72 kB / 408.6 MB, free: 19.06 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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.000258/0.6396, allocations: 145.6 kB / 408.7 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.6398, allocations: 61.73 kB / 408.8 MB, free: 18.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.64, allocations: 51.89 kB / 408.8 MB, free: 18.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.64, allocations: 7.859 kB / 408.9 MB, free: 18.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6401, allocations: 0 / 408.9 MB, free: 18.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.6401, allocations: 0 / 408.9 MB, free: 18.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.6426, allocations: 1.213 MB / 410.1 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.6426, allocations: 0 / 410.1 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.643, allocations: 46.33 kB / 410.1 MB, free: 18.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003883/0.6434, allocations: 80.22 kB / 410.2 MB, free: 18.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/0.6435, allocations: 14.73 kB / 410.2 MB, free: 18.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.6458, allocations: 1.769 MB / 412 MB, free: 16.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6459, allocations: 160 / 412 MB, free: 16.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.6475, allocations: 0.7183 MB / 412.7 MB, free: 16.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.6479, allocations: 172.8 kB / 412.9 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.648, allocations: 10.34 kB / 412.9 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/0.6486, allocations: 46.44 kB / 412.9 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.6488, allocations: 49.92 kB / 413 MB, free: 16.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.6488, allocations: 14.94 kB / 413 MB, free: 16.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005233/0.6494, allocations: 313.1 kB / 413.3 MB, free: 16.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6494, allocations: 0 / 413.3 MB, free: 16.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00135/0.6508, allocations: 270.4 kB / 413.5 MB, free: 16.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002102/0.6529, allocations: 1.364 MB / 414.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.6552, allocations: 0.8837 MB / 415.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.6552, allocations: 0 / 415.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007451/0.656, allocations: 335.5 kB / 416.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008188/0.6568, allocations: 82.12 kB / 416.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.66, allocations: 0.8792 MB / 417.1 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005766/0.6607, allocations: 0.9086 MB / 418 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.6611, allocations: 211.5 kB / 418.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6611, allocations: 3.938 kB / 418.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.936/3.597, allocations: 11.77 MB / 430 MB, free: 7.828 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_R_res.mat does not exist to compare? outputFormat=mat