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.793/1.793, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.174e-05/4.2e-05, allocations: 4 kB / 225.1 MB, free: 2.133 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2668, allocations: 38.77 MB / 263.9 MB, free: 9.781 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.3959, allocations: 70.86 MB / 334.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.3963, allocations: 71.95 kB / 334.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04375/0.44, allocations: 8.252 MB / 343 MB, free: 10.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4401, allocations: 0 / 343 MB, free: 10.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.422e-05/0.4402, allocations: 8 kB / 343 MB, free: 10.45 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.00351/0.4437, allocations: 0.832 MB / 343.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/0.4438, allocations: 12.03 kB / 343.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002637/0.444, allocations: 74.89 kB / 344 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.4443, allocations: 59.34 kB / 344 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008866/0.4452, allocations: 371.4 kB / 344.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.4453, allocations: 32.78 kB / 344.4 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.4454, allocations: 36 kB / 344.5 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.4468, allocations: 449.5 kB / 344.9 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.4469, allocations: 3.938 kB / 344.9 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.798e-05/0.447, allocations: 19.98 kB / 344.9 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.447, allocations: 11.94 kB / 344.9 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.4483, allocations: 391 kB / 345.3 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006858/0.4552, allocations: 2.034 MB / 347.3 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006067/0.4613, allocations: 0.7103 MB / 348.1 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009115/0.4623, allocations: 268.5 kB / 348.3 MB, free: 4.941 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.265e-05/0.4624, allocations: 12 kB / 348.3 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008719/0.4633, allocations: 286.5 kB / 348.6 MB, free: 4.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 4.168e-06/0.4633, allocations: 0 / 348.6 MB, free: 4.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.002267/0.4656, allocations: 0.5568 MB / 349.2 MB, free: 4.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.4658, allocations: 89.05 kB / 349.3 MB, free: 3.965 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/0.4664, allocations: 318.9 kB / 349.6 MB, free: 3.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.4666, allocations: 37.7 kB / 349.6 MB, free: 3.605 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.4669, allocations: 232.5 kB / 349.8 MB, free: 3.375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.4672, allocations: 122.2 kB / 349.9 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/0.4672, allocations: 12 kB / 350 MB, free: 3.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4674, allocations: 350.8 kB / 350.3 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.468, allocations: 164.8 kB / 350.5 MB, free: 2.727 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000596/0.4686, allocations: 206.3 kB / 350.7 MB, free: 2.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/0.4692, allocations: 183.7 kB / 350.8 MB, free: 2.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4692, allocations: 4.031 kB / 350.8 MB, free: 2.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00219/0.4715, allocations: 0.6008 MB / 351.4 MB, free: 1.711 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.778e-05/0.4716, allocations: 33.7 kB / 351.5 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4716, allocations: 0 / 351.5 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/0.4732, allocations: 336.7 kB / 351.8 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009341/0.4742, allocations: 87.92 kB / 351.9 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.4872, allocations: 3.079 MB / 355 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.4886, allocations: 111.6 kB / 355.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-05/0.4887, allocations: 8 kB / 355.1 MB, free: 13.93 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.0002417/0.489, allocations: 126.6 kB / 355.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.4891, allocations: 39.53 kB / 355.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.4894, allocations: 64.48 kB / 355.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.4894, allocations: 7.938 kB / 355.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4894, allocations: 0 / 355.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.4894, allocations: 3.953 kB / 355.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.4906, allocations: 0.5794 MB / 355.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.4906, allocations: 0 / 355.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008583/0.4915, allocations: 87.92 kB / 356 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/0.493, allocations: 336.7 kB / 356.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.4932, allocations: 4 kB / 356.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01263/0.5059, allocations: 3.073 MB / 359.4 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5059, allocations: 0 / 359.4 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.509, allocations: 0.8373 MB / 360.2 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004406/0.5095, allocations: 176.4 kB / 360.4 MB, free: 8.371 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.5096, allocations: 11.95 kB / 360.4 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.5109, allocations: 83.92 kB / 360.5 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/0.5112, allocations: 47.92 kB / 360.5 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.54e-05/0.5113, allocations: 15.98 kB / 360.6 MB, free: 8.215 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004924/0.5118, allocations: 257.2 kB / 360.8 MB, free: 7.965 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5118, allocations: 0 / 360.8 MB, free: 7.965 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009789/0.5128, allocations: 163.8 kB / 361 MB, free: 7.805 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.003666/0.5165, allocations: 1.406 MB / 362.4 MB, free: 6.367 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002628/0.5192, allocations: 0.6657 MB / 363 MB, free: 5.676 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5192, allocations: 0 / 363 MB, free: 5.676 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.521, allocations: 438.7 kB / 363.5 MB, free: 5.234 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007591/0.5218, allocations: 69.42 kB / 363.5 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.5265, allocations: 0.8636 MB / 364.4 MB, free: 4.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.5271, allocations: 0.8397 MB / 365.2 MB, free: 3.406 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004634/0.5276, allocations: 39.27 kB / 365.3 MB, free: 3.363 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/0.5279, allocations: 147.4 kB / 365.4 MB, free: 3.223 MB / 314.7 MB Notification: Performance of SimCode: time 1.653e-06/0.528, allocations: 0 / 365.4 MB, free: 3.223 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2692/0.7972, allocations: 14.36 MB / 379.8 MB, free: 88.84 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.7975, allocations: 195.8 kB / 380 MB, free: 88.61 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.987/3.785, allocations: 0 / 380 MB, free: 88.61 MB / 314.7 MB