Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.722/1.722, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.461e-05, allocations: 0 / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2618, allocations: 38.77 MB / 263.9 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.3909, allocations: 70.87 MB / 334.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.3913, allocations: 67.97 kB / 334.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0438/0.4351, allocations: 8.244 MB / 343.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4352, allocations: 8 kB / 343.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.172e-05/0.4352, allocations: 8 kB / 343.1 MB, free: 10.47 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003463/0.4387, allocations: 0.844 MB / 343.9 MB, free: 9.574 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.4388, allocations: 12.03 kB / 343.9 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002376/0.439, allocations: 66.53 kB / 344 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.4392, allocations: 55.34 kB / 344 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008057/0.4401, allocations: 371.5 kB / 344.4 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/0.4401, allocations: 28.78 kB / 344.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.4403, allocations: 36 kB / 344.5 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.4416, allocations: 455.9 kB / 344.9 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.4417, allocations: 7.984 kB / 344.9 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.731e-05/0.4418, allocations: 12 kB / 344.9 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.4418, allocations: 12 kB / 344.9 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.443, allocations: 385.4 kB / 345.3 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006644/0.4497, allocations: 2.03 MB / 347.4 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006124/0.4559, allocations: 0.7023 MB / 348.1 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008768/0.4568, allocations: 268.9 kB / 348.3 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.379e-05/0.4569, allocations: 11.98 kB / 348.3 MB, free: 4.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008335/0.4578, allocations: 290.2 kB / 348.6 MB, free: 4.684 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 4.058e-06/0.4578, allocations: 0 / 348.6 MB, free: 4.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.002273/0.4601, allocations: 0.5571 MB / 349.2 MB, free: 4.117 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.4602, allocations: 89.11 kB / 349.3 MB, free: 4.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/0.4609, allocations: 318.9 kB / 349.6 MB, free: 3.695 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.461, allocations: 33.7 kB / 349.6 MB, free: 3.656 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.4613, allocations: 232.5 kB / 349.8 MB, free: 3.426 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.4615, allocations: 126.2 kB / 350 MB, free: 3.301 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.4616, allocations: 8 kB / 350 MB, free: 3.293 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4618, allocations: 350.8 kB / 350.3 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005893/0.4624, allocations: 168.8 kB / 350.5 MB, free: 2.773 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.463, allocations: 205.9 kB / 350.7 MB, free: 2.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000538/0.4635, allocations: 183.7 kB / 350.9 MB, free: 2.379 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4636, allocations: 0 / 350.9 MB, free: 2.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002094/0.4657, allocations: 0.6013 MB / 351.5 MB, free: 1.762 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.307e-05/0.4658, allocations: 33.7 kB / 351.5 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.4658, allocations: 4 kB / 351.5 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.4674, allocations: 336.6 kB / 351.8 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009217/0.4684, allocations: 91.88 kB / 351.9 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.4814, allocations: 3.076 MB / 355 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.4829, allocations: 107.8 kB / 355.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.4831, allocations: 12 kB / 355.1 MB, free: 13.97 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.4833, allocations: 128.9 kB / 355.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.4835, allocations: 43.53 kB / 355.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.4837, allocations: 52.48 kB / 355.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.4838, allocations: 4 kB / 355.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4838, allocations: 7.938 kB / 355.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.4838, allocations: 11.94 kB / 355.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.485, allocations: 0.5755 MB / 355.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.4851, allocations: 0 / 355.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009434/0.4861, allocations: 87.92 kB / 356 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/0.4878, allocations: 332.6 kB / 356.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.488, allocations: 11.92 kB / 356.3 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/0.5008, allocations: 3.074 MB / 359.4 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.5009, allocations: 4.031 kB / 359.4 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/0.5039, allocations: 0.8213 MB / 360.2 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.5045, allocations: 172.5 kB / 360.4 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.5046, allocations: 15.94 kB / 360.4 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.5059, allocations: 91.92 kB / 360.5 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.5062, allocations: 47.92 kB / 360.6 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/0.5062, allocations: 8 kB / 360.6 MB, free: 8.262 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000487/0.5067, allocations: 257.2 kB / 360.8 MB, free: 8.012 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5067, allocations: 0 / 360.8 MB, free: 8.012 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001034/0.5078, allocations: 171.7 kB / 361 MB, free: 7.844 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003506/0.5113, allocations: 1.405 MB / 362.4 MB, free: 6.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002496/0.5139, allocations: 0.6495 MB / 363 MB, free: 5.738 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.5139, allocations: 0 / 363 MB, free: 5.738 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.5157, allocations: 429.5 kB / 363.5 MB, free: 5.309 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.5165, allocations: 73.41 kB / 363.5 MB, free: 5.238 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.5212, allocations: 0.8563 MB / 364.4 MB, free: 4.348 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.5218, allocations: 0.8397 MB / 365.2 MB, free: 3.484 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004364/0.5223, allocations: 35.28 kB / 365.3 MB, free: 3.445 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.5227, allocations: 151.4 kB / 365.4 MB, free: 3.301 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5227, allocations: 0 / 365.4 MB, free: 3.301 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2653/0.788, allocations: 14.31 MB / 379.7 MB, free: 88.92 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/0.7884, allocations: 198.6 kB / 379.9 MB, free: 88.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/3.676, allocations: 0 / 379.9 MB, free: 88.68 MB / 314.7 MB