Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.188/2.188, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.779e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3455, allocations: 44.49 MB / 294.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1629/0.5085, allocations: 75.18 MB / 369.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.5088, allocations: 67.95 kB / 369.5 MB, free: 6.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04164/0.5505, allocations: 8.129 MB / 377.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5506, allocations: 0 / 377.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.285e-05/0.5506, allocations: 8 kB / 377.6 MB, free: 14.42 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003501/0.5541, allocations: 0.836 MB / 378.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.5542, allocations: 8.031 kB / 378.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.5545, allocations: 55.34 kB / 378.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009218/0.5555, allocations: 375.8 kB / 378.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.5556, allocations: 12 kB / 378.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.5557, allocations: 24 kB / 378.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001209/0.5569, allocations: 365.5 kB / 379.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.5581, allocations: 415.9 kB / 379.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.5581, allocations: 0 / 379.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/0.5582, allocations: 0 / 379.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.5583, allocations: 8 kB / 379.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006394/0.5647, allocations: 1.964 MB / 381.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005745/0.5705, allocations: 0.6984 MB / 382.3 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008402/0.5714, allocations: 253.2 kB / 382.6 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.297e-05/0.5714, allocations: 4 kB / 382.6 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008061/0.5723, allocations: 284.1 kB / 382.9 MB, free: 8.926 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 4.208e-06/0.5723, allocations: 0 / 382.9 MB, free: 8.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.002234/0.5745, allocations: 0.5298 MB / 383.4 MB, free: 8.387 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.5746, allocations: 81.11 kB / 383.5 MB, free: 8.289 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.5752, allocations: 286.4 kB / 383.8 MB, free: 8.004 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.886e-05/0.5753, allocations: 29.7 kB / 383.8 MB, free: 7.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.5755, allocations: 228.5 kB / 384 MB, free: 7.742 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.5757, allocations: 126.1 kB / 384.1 MB, free: 7.617 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.5758, allocations: 4 kB / 384.1 MB, free: 7.613 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.576, allocations: 350.8 kB / 384.5 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004695/0.5765, allocations: 156.8 kB / 384.6 MB, free: 7.105 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.577, allocations: 193.9 kB / 384.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/0.5775, allocations: 150 kB / 385 MB, free: 6.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5775, allocations: 0 / 385 MB, free: 6.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001907/0.5795, allocations: 0.5449 MB / 385.5 MB, free: 6.203 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/0.5795, allocations: 33.7 kB / 385.6 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.5796, allocations: 0 / 385.6 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.581, allocations: 330.7 kB / 385.9 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009713/0.582, allocations: 99.86 kB / 386 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.5942, allocations: 2.983 MB / 389 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.5955, allocations: 95.72 kB / 389.1 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/0.5956, allocations: 19.98 kB / 389.1 MB, free: 2.523 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleTriac.thyristor.vGK:VARIABLE() "voltage between gate and cathode" type: Real 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.0002591/0.5958, allocations: 112.7 kB / 389.2 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001942/0.5978, allocations: 0.5292 MB / 389.7 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5979, allocations: 43.44 kB / 389.8 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.5981, allocations: 44.69 kB / 389.8 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.5982, allocations: 7.953 kB / 389.8 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5982, allocations: 4 kB / 389.8 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5982, allocations: 0 / 389.8 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.5992, allocations: 0.5175 MB / 390.3 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5993, allocations: 4 kB / 390.3 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008342/0.6001, allocations: 83.88 kB / 390.4 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/0.6015, allocations: 341.2 kB / 390.7 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.428e-05/0.6016, allocations: 7.938 kB / 390.8 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.6134, allocations: 2.987 MB / 393.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.6135, allocations: 0 / 393.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.6162, allocations: 0.7978 MB / 394.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.6166, allocations: 164.6 kB / 394.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.6167, allocations: 3.953 kB / 394.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.6178, allocations: 83.92 kB / 394.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.6181, allocations: 47.92 kB / 394.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.698e-05/0.6181, allocations: 11.98 kB / 394.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004142/0.6186, allocations: 228.6 kB / 395.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6186, allocations: 0 / 395.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009028/0.6195, allocations: 151.7 kB / 395.2 MB, free: 12.16 MB / 346.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.003149/0.6227, allocations: 1.361 MB / 396.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.6249, allocations: 0.6184 MB / 397.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.625, allocations: 4.062 kB / 397.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.6265, allocations: 421.2 kB / 397.6 MB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.6271, allocations: 61.53 kB / 397.7 MB, free: 9.648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.6315, allocations: 0.8246 MB / 398.5 MB, free: 8.781 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.6321, allocations: 0.8433 MB / 399.3 MB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003972/0.6325, allocations: 35.28 kB / 399.4 MB, free: 7.875 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.6329, allocations: 139.4 kB / 399.5 MB, free: 7.738 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6329, allocations: 0 / 399.5 MB, free: 7.738 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06507/0.698, allocations: 12.88 MB / 412.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003164/0.6984, allocations: 147 kB / 412.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.998/3.696, allocations: 0 / 412.5 MB, free: 10.68 MB / 362.7 MB