Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.132/2.132, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.065e-05, allocations: 8 kB / 269.5 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 47.57 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5282, allocations: 80.32 MB / 397.4 MB, free: 7.758 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.5285, allocations: 73.45 kB / 397.4 MB, free: 7.723 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04235/0.5709, allocations: 8.514 MB / 405.9 MB, free: 412 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5709, allocations: 0 / 405.9 MB, free: 412 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.377e-05/0.571, allocations: 16 kB / 406 MB, free: 396 kB / 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.003301/0.5743, allocations: 0.8244 MB / 406.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.513e-05/0.5744, allocations: 8.031 kB / 406.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002412/0.5746, allocations: 70.84 kB / 406.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.5749, allocations: 55.34 kB / 406.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008227/0.5757, allocations: 390.8 kB / 407.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.5758, allocations: 30.91 kB / 407.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.5759, allocations: 41.47 kB / 407.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.5771, allocations: 448.6 kB / 407.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.5772, allocations: 3.938 kB / 407.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-05/0.5773, allocations: 19.62 kB / 407.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.5773, allocations: 11.94 kB / 407.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.5784, allocations: 381 kB / 408.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00601/0.5845, allocations: 2.056 MB / 410.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008813/0.5933, allocations: 0.7086 MB / 411 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.5949, allocations: 261.6 kB / 411.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.457e-05/0.595, allocations: 4 kB / 411.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.596, allocations: 286 kB / 411.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 6.081e-06/0.5961, allocations: 4 kB / 411.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.003388/0.5995, allocations: 0.5537 MB / 412.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.5996, allocations: 85.11 kB / 412.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006547/0.6003, allocations: 340.1 kB / 412.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.6004, allocations: 29.27 kB / 412.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.6006, allocations: 224.9 kB / 412.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.6008, allocations: 139 kB / 412.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.6009, allocations: 3.688 kB / 412.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.6011, allocations: 351.2 kB / 413.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/0.6016, allocations: 160.8 kB / 413.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.6022, allocations: 208.4 kB / 413.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000555/0.6027, allocations: 187.7 kB / 413.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6028, allocations: 0 / 413.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002024/0.6048, allocations: 0.6007 MB / 414.4 MB, free: 9.719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.927e-05/0.6049, allocations: 33.7 kB / 414.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.6049, allocations: 0 / 414.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.6064, allocations: 338.6 kB / 414.7 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009363/0.6074, allocations: 95.86 kB / 414.8 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/0.6199, allocations: 3.102 MB / 417.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.6213, allocations: 106.5 kB / 418 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/0.6214, allocations: 12 kB / 418 MB, free: 6.684 MB / 330.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.0002146/0.6216, allocations: 119.2 kB / 418.1 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.6218, allocations: 43.53 kB / 418.2 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.622, allocations: 63.11 kB / 418.3 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.622, allocations: 4 kB / 418.3 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.622, allocations: 0 / 418.3 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.622, allocations: 3.953 kB / 418.3 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.6231, allocations: 0.5877 MB / 418.8 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6231, allocations: 0 / 418.8 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008497/0.624, allocations: 87.86 kB / 418.9 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.6255, allocations: 333.6 kB / 419.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.677e-05/0.6255, allocations: 7.75 kB / 419.3 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/0.6376, allocations: 3.068 MB / 422.3 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6376, allocations: 4 kB / 422.3 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.6405, allocations: 0.8374 MB / 423.2 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.6409, allocations: 177.5 kB / 423.3 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.6411, allocations: 13.52 kB / 423.4 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.6422, allocations: 82.73 kB / 423.4 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/0.6425, allocations: 45.98 kB / 423.5 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-05/0.6425, allocations: 15.73 kB / 423.5 MB, free: 2.301 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005291/0.6431, allocations: 267.4 kB / 423.8 MB, free: 2.102 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6431, allocations: 0 / 423.8 MB, free: 2.102 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000951/0.6441, allocations: 171.9 kB / 423.9 MB, free: 1.945 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.00323/0.6473, allocations: 1.411 MB / 425.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.6496, allocations: 0.6435 MB / 426 MB, free: 340 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6496, allocations: 0 / 426 MB, free: 340 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001528/0.6512, allocations: 427.1 kB / 426.4 MB, free: 16 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007627/0.652, allocations: 82.88 kB / 426.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/0.6567, allocations: 0.9447 MB / 427.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.6573, allocations: 0.8397 MB / 428.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004186/0.6577, allocations: 43.27 kB / 428.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.6581, allocations: 151.1 kB / 428.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6581, allocations: 0 / 428.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06836/0.7264, allocations: 14.54 MB / 443 MB, free: 15.71 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/0.7268, allocations: 182.9 kB / 443.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/3.883, allocations: 3.938 kB / 443.2 MB, free: 15.48 MB / 362.7 MB