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.032/2.032, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.315e-05, allocations: 4 kB / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.096, allocations: 44.5 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.463/0.559, allocations: 75.85 MB / 375.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5593, allocations: 72.72 kB / 375.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0476/0.607, allocations: 8.21 MB / 384.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.607, allocations: 0 / 384.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.469e-05/0.6071, allocations: 9.656 kB / 384.1 MB, free: 11.77 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.004307/0.6114, allocations: 0.8359 MB / 385 MB, free: 11.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/0.6115, allocations: 9 kB / 385 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000243/0.6118, allocations: 75.05 kB / 385 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.6121, allocations: 56 kB / 385.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.6131, allocations: 374.5 kB / 385.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.027e-05/0.6132, allocations: 28.88 kB / 385.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.6134, allocations: 38.09 kB / 385.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.6152, allocations: 449.8 kB / 386 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.6152, allocations: 1.312 kB / 386 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.6154, allocations: 14.81 kB / 386 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.6154, allocations: 12.97 kB / 386 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.6171, allocations: 381.2 kB / 386.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007328/0.6244, allocations: 2.041 MB / 388.4 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007843/0.6323, allocations: 0.7121 MB / 389.1 MB, free: 9.945 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009561/0.6333, allocations: 263.5 kB / 389.4 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.917e-05/0.6334, allocations: 7.062 kB / 389.4 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009449/0.6344, allocations: 292.2 kB / 389.7 MB, free: 9.863 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 3.717e-06/0.6344, allocations: 0 / 389.7 MB, free: 9.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.002764/0.6372, allocations: 0.5507 MB / 390.2 MB, free: 9.785 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.6373, allocations: 84.27 kB / 390.3 MB, free: 9.691 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.638, allocations: 317.8 kB / 390.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.6381, allocations: 32.45 kB / 390.6 MB, free: 9.551 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.6383, allocations: 231.7 kB / 390.9 MB, free: 9.426 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.6386, allocations: 132.6 kB / 391 MB, free: 9.344 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.6386, allocations: 2.5 kB / 391 MB, free: 9.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6388, allocations: 352.4 kB / 391.4 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/0.6395, allocations: 169.4 kB / 391.5 MB, free: 9.023 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007546/0.6403, allocations: 205.9 kB / 391.7 MB, free: 8.992 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006751/0.641, allocations: 186.5 kB / 391.9 MB, free: 8.953 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.641, allocations: 0 / 391.9 MB, free: 8.953 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002607/0.6436, allocations: 0.6005 MB / 392.5 MB, free: 8.836 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.6437, allocations: 37.64 kB / 392.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.6437, allocations: 0 / 392.5 MB, free: 8.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/0.6457, allocations: 331.8 kB / 392.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.6468, allocations: 97.27 kB / 393 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.6597, allocations: 3.088 MB / 396 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.6611, allocations: 101.9 kB / 396.1 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.6611, allocations: 19.41 kB / 396.2 MB, free: 7.32 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.0001808/0.6613, allocations: 117.5 kB / 396.3 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.6614, allocations: 46.88 kB / 396.3 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.6616, allocations: 55.53 kB / 396.4 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.6616, allocations: 3.875 kB / 396.4 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6617, allocations: 3.938 kB / 396.4 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.6617, allocations: 5.656 kB / 396.4 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008574/0.6625, allocations: 0.5824 MB / 397 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6626, allocations: 0 / 397 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/0.6634, allocations: 85.38 kB / 397.1 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/0.6647, allocations: 343.8 kB / 397.4 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.6648, allocations: 10.42 kB / 397.4 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/0.6759, allocations: 3.064 MB / 400.5 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.676, allocations: 4 kB / 400.5 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/0.6787, allocations: 0.8434 MB / 401.3 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.6792, allocations: 163.3 kB / 401.5 MB, free: 21.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.6793, allocations: 14.42 kB / 401.5 MB, free: 21.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.6804, allocations: 81 kB / 401.6 MB, free: 21.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.6807, allocations: 52 kB / 401.6 MB, free: 21.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.6807, allocations: 10.28 kB / 401.6 MB, free: 21.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000414/0.6812, allocations: 256.7 kB / 401.9 MB, free: 21.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6812, allocations: 0 / 401.9 MB, free: 21.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000916/0.6821, allocations: 165.2 kB / 402 MB, free: 21.15 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.003236/0.6854, allocations: 1.408 MB / 403.4 MB, free: 20.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002298/0.6877, allocations: 0.6453 MB / 404.1 MB, free: 20.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.6878, allocations: 0 / 404.1 MB, free: 20.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.6894, allocations: 426.2 kB / 404.5 MB, free: 20.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007367/0.6901, allocations: 79.62 kB / 404.6 MB, free: 20.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.6945, allocations: 0.8535 MB / 405.4 MB, free: 19.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.695, allocations: 0.8401 MB / 406.3 MB, free: 19.15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003874/0.6954, allocations: 34.53 kB / 406.3 MB, free: 19.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.6958, allocations: 149.5 kB / 406.5 MB, free: 19.13 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6958, allocations: 0 / 406.5 MB, free: 19.13 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0666/0.7624, allocations: 14.3 MB / 420.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003143/0.7628, allocations: 194.7 kB / 420.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/3.923, allocations: 3.938 kB / 420.9 MB, free: 13.19 MB / 330.7 MB