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.8/1.8, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.649e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2601, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.3852, allocations: 70.19 MB / 328.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.3856, allocations: 71.97 kB / 328.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04036/0.4259, allocations: 8.165 MB / 336.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.426, allocations: 0 / 336.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.745e-05/0.426, allocations: 8 kB / 336.8 MB, free: 15.3 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.003093/0.4292, allocations: 0.832 MB / 337.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.4292, allocations: 12.03 kB / 337.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.4294, allocations: 55.34 kB / 337.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007326/0.4302, allocations: 367.7 kB / 338 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.4302, allocations: 15.95 kB / 338.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.4304, allocations: 28 kB / 338.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001129/0.4315, allocations: 361.5 kB / 338.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.4326, allocations: 411.9 kB / 338.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.4327, allocations: 0 / 338.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/0.4327, allocations: 4 kB / 338.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.4328, allocations: 8 kB / 338.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00564/0.4384, allocations: 1.963 MB / 340.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005686/0.4442, allocations: 0.6971 MB / 341.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007159/0.4449, allocations: 245.2 kB / 341.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.56e-05/0.445, allocations: 15.92 kB / 341.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007188/0.4457, allocations: 283.5 kB / 342 MB, free: 9.812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 2.986e-06/0.4458, allocations: 0 / 342 MB, free: 9.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.002003/0.4478, allocations: 0.522 MB / 342.6 MB, free: 9.281 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.4479, allocations: 85.09 kB / 342.6 MB, free: 9.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/0.4484, allocations: 290.3 kB / 342.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.4485, allocations: 25.7 kB / 343 MB, free: 8.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.4488, allocations: 232.5 kB / 343.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.449, allocations: 122.2 kB / 343.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.449, allocations: 0 / 343.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4492, allocations: 354.8 kB / 343.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/0.4497, allocations: 156.8 kB / 343.8 MB, free: 8.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/0.4502, allocations: 193.9 kB / 344 MB, free: 7.805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.4507, allocations: 154 kB / 344.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4507, allocations: 0 / 344.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001816/0.4525, allocations: 0.5372 MB / 344.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/0.4526, allocations: 41.3 kB / 344.7 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4526, allocations: 3.938 kB / 344.7 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.4541, allocations: 328.6 kB / 345 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008325/0.4549, allocations: 95.92 kB / 345.1 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.4665, allocations: 2.982 MB / 348.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.4678, allocations: 95.72 kB / 348.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/0.4678, allocations: 15.98 kB / 348.2 MB, free: 3.434 MB / 298.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.0002433/0.4681, allocations: 124.8 kB / 348.3 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0018/0.4699, allocations: 0.5173 MB / 348.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.47, allocations: 43.53 kB / 348.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.4702, allocations: 44.69 kB / 349 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.4702, allocations: 4 kB / 349 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4702, allocations: 4 kB / 349 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.4703, allocations: 7.922 kB / 349 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009205/0.4712, allocations: 0.5214 MB / 349.5 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4712, allocations: 0 / 349.5 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008224/0.472, allocations: 83.94 kB / 349.6 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.4734, allocations: 334.7 kB / 349.9 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.4735, allocations: 8 kB / 349.9 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/0.485, allocations: 2.994 MB / 352.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4851, allocations: 0 / 352.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.4878, allocations: 0.8023 MB / 353.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.4881, allocations: 168.6 kB / 353.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.4883, allocations: 7.984 kB / 353.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.4894, allocations: 75.92 kB / 353.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.4896, allocations: 55.81 kB / 354 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.4897, allocations: 12 kB / 354 MB, free: 13.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003589/0.4901, allocations: 224.6 kB / 354.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4901, allocations: 4 kB / 354.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008846/0.491, allocations: 155.7 kB / 354.4 MB, free: 13.06 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.002971/0.494, allocations: 1.35 MB / 355.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.4962, allocations: 0.6258 MB / 356.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.4962, allocations: 4.062 kB / 356.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.4976, allocations: 418 kB / 356.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/0.4983, allocations: 49.31 kB / 356.8 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.5024, allocations: 0.8289 MB / 357.7 MB, free: 9.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.5031, allocations: 0.8434 MB / 358.5 MB, free: 8.809 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003696/0.5034, allocations: 35.28 kB / 358.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.5038, allocations: 147.4 kB / 358.7 MB, free: 8.637 MB / 314.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5039, allocations: 0 / 358.7 MB, free: 8.637 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2705/0.7744, allocations: 12.86 MB / 371.5 MB, free: 94.25 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.7746, allocations: 149.6 kB / 371.7 MB, free: 94.07 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.791/3.565, allocations: 0 / 371.7 MB, free: 94.07 MB / 314.7 MB