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.102/2.102, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.303e-05/4.314e-05, allocations: 8 kB / 255.4 MB, free: 2.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09806/0.09814, allocations: 44.51 MB / 300 MB, free: 6.094 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5184, allocations: 75.84 MB / 375.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.5188, allocations: 69.78 kB / 375.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04052/0.5593, allocations: 8.217 MB / 384.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5594, allocations: 1.344 kB / 384.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.5594, allocations: 8 kB / 384.1 MB, free: 11.82 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003259/0.5627, allocations: 0.8343 MB / 384.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.5628, allocations: 9.625 kB / 384.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/0.563, allocations: 76.52 kB / 385 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.5632, allocations: 55.38 kB / 385.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007972/0.564, allocations: 369 kB / 385.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/0.5641, allocations: 29.56 kB / 385.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.5643, allocations: 40.67 kB / 385.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.5656, allocations: 456 kB / 385.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.5656, allocations: 4 kB / 385.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-05/0.5657, allocations: 14.28 kB / 386 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.5657, allocations: 10.06 kB / 386 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.5669, allocations: 389.6 kB / 386.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006364/0.5733, allocations: 2.036 MB / 388.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005717/0.5791, allocations: 0.7168 MB / 389.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008075/0.5799, allocations: 269.2 kB / 389.4 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.307e-05/0.58, allocations: 4.531 kB / 389.4 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000702/0.5808, allocations: 295.5 kB / 389.7 MB, free: 9.902 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 3.206e-06/0.5808, allocations: 0 / 389.7 MB, free: 9.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.00199/0.5828, allocations: 0.5492 MB / 390.2 MB, free: 9.824 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.5828, allocations: 81.02 kB / 390.3 MB, free: 9.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.5833, allocations: 323.3 kB / 390.6 MB, free: 9.617 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.767e-05/0.5834, allocations: 33.02 kB / 390.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.5836, allocations: 234 kB / 390.9 MB, free: 9.457 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.5838, allocations: 133.1 kB / 391 MB, free: 9.375 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.5838, allocations: 11.59 kB / 391 MB, free: 9.375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.5839, allocations: 347.2 kB / 391.3 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.5845, allocations: 165.8 kB / 391.5 MB, free: 9.059 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004985/0.585, allocations: 211.9 kB / 391.7 MB, free: 9.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.5854, allocations: 181.3 kB / 391.9 MB, free: 8.984 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5855, allocations: 0 / 391.9 MB, free: 8.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001802/0.5873, allocations: 0.6001 MB / 392.5 MB, free: 8.871 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/0.5873, allocations: 36.55 kB / 392.5 MB, free: 8.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5874, allocations: 4.062 kB / 392.5 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.5888, allocations: 335.4 kB / 392.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.5897, allocations: 96.17 kB / 392.9 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.6013, allocations: 3.076 MB / 396 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.6027, allocations: 102.3 kB / 396.1 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.6028, allocations: 13.97 kB / 396.1 MB, free: 7.363 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.0001981/0.603, allocations: 130.1 kB / 396.3 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.6031, allocations: 42.88 kB / 396.3 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.6033, allocations: 58.86 kB / 396.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.6033, allocations: 3.875 kB / 396.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6033, allocations: 0 / 396.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.6034, allocations: 3.875 kB / 396.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009208/0.6043, allocations: 0.5839 MB / 397 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6043, allocations: 0 / 397 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007845/0.6051, allocations: 90.72 kB / 397 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/0.6064, allocations: 335.1 kB / 397.4 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.949e-05/0.6065, allocations: 14.81 kB / 397.4 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/0.6179, allocations: 3.057 MB / 400.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.618, allocations: 0 / 400.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.6206, allocations: 0.8312 MB / 401.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.6212, allocations: 175.5 kB / 401.4 MB, free: 21.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.6213, allocations: 14.53 kB / 401.5 MB, free: 21.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.6224, allocations: 85.14 kB / 401.5 MB, free: 21.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.6226, allocations: 47.05 kB / 401.6 MB, free: 21.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.6227, allocations: 11.56 kB / 401.6 MB, free: 21.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004027/0.6231, allocations: 259.4 kB / 401.9 MB, free: 21.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6231, allocations: 3.938 kB / 401.9 MB, free: 21.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008275/0.624, allocations: 163.8 kB / 402 MB, free: 21.19 MB / 330.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.003007/0.627, allocations: 1.411 MB / 403.4 MB, free: 20.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.6293, allocations: 0.6629 MB / 404.1 MB, free: 20.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6293, allocations: 3.969 kB / 404.1 MB, free: 20.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.6308, allocations: 426.9 kB / 404.5 MB, free: 20.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.6315, allocations: 72.09 kB / 404.6 MB, free: 20.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.6356, allocations: 0.851 MB / 405.4 MB, free: 19.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.6362, allocations: 0.8436 MB / 406.3 MB, free: 19.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003765/0.6366, allocations: 38.09 kB / 406.3 MB, free: 19.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.6369, allocations: 150.3 kB / 406.5 MB, free: 19.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6369, allocations: 0 / 406.5 MB, free: 19.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04986/0.6867, allocations: 14.36 MB / 420.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/0.6871, allocations: 192.1 kB / 421 MB, free: 13.2 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/3.829, allocations: 0 / 421 MB, free: 13.2 MB / 330.7 MB