Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.556e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09839, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.419/0.5175, allocations: 73.99 MB / 374 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5178, allocations: 68.62 kB / 374 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02153/0.5394, allocations: 4.876 MB / 378.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5394, allocations: 0 / 378.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.646e-05/0.5395, allocations: 6.281 kB / 378.9 MB, free: 12.04 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001295/0.5408, allocations: 0.5414 MB / 379.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.5409, allocations: 9.594 kB / 379.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.541, allocations: 57.23 kB / 379.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.5411, allocations: 38.77 kB / 379.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.5416, allocations: 272.9 kB / 379.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.5417, allocations: 23.75 kB / 379.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.5418, allocations: 23.66 kB / 379.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007519/0.5425, allocations: 270.2 kB / 380.1 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.5426, allocations: 0 / 380.1 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.5426, allocations: 8.781 kB / 380.1 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.5426, allocations: 8.484 kB / 380.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00058/0.5432, allocations: 186.5 kB / 380.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.5459, allocations: 1.161 MB / 381.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/0.5467, allocations: 200.5 kB / 381.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004302/0.5472, allocations: 133.2 kB / 381.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.5472, allocations: 11.25 kB / 381.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003665/0.5476, allocations: 159.9 kB / 382 MB, free: 10.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 4.418e-06/0.5476, allocations: 0 / 382 MB, free: 10.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009116/0.5485, allocations: 262.7 kB / 382.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.5486, allocations: 142 kB / 382.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.549, allocations: 215.4 kB / 382.6 MB, free: 10.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.5491, allocations: 32.42 kB / 382.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.5492, allocations: 171.1 kB / 382.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.088e-05/0.5493, allocations: 61.38 kB / 382.9 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.5493, allocations: 7.125 kB / 382.9 MB, free: 10.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.5494, allocations: 333.4 kB / 383.2 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.5496, allocations: 71.53 kB / 383.3 MB, free: 9.688 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.5499, allocations: 116.4 kB / 383.4 MB, free: 9.637 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.5501, allocations: 75.78 kB / 383.4 MB, free: 9.629 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5501, allocations: 1.594 kB / 383.4 MB, free: 9.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007313/0.5509, allocations: 284.4 kB / 383.7 MB, free: 9.559 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.5509, allocations: 7.469 kB / 383.7 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.5509, allocations: 4 kB / 383.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/0.5515, allocations: 92.45 kB / 383.8 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.5518, allocations: 23.59 kB / 383.9 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.5549, allocations: 1.99 MB / 385.8 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.5555, allocations: 34.62 kB / 385.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.5555, allocations: 5.625 kB / 385.9 MB, free: 8.152 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,$PRE.idealTriac.idealThyristor.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor1.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.5557, allocations: 122.7 kB / 386 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.5557, allocations: 24.72 kB / 386 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.891e-05/0.5558, allocations: 29.62 kB / 386.1 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.5559, allocations: 3.156 kB / 386.1 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.5559, allocations: 0.8438 kB / 386.1 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5559, allocations: 3.094 kB / 386.1 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.5574, allocations: 0.796 MB / 386.9 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.5574, allocations: 2.625 kB / 386.9 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.5577, allocations: 18.86 kB / 386.9 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.5581, allocations: 85.89 kB / 387 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.5582, allocations: 4.938 kB / 387 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/0.5611, allocations: 1.945 MB / 388.9 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5611, allocations: 0 / 388.9 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.5623, allocations: 450.8 kB / 389.4 MB, free: 22.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.5626, allocations: 126.7 kB / 389.5 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.595e-05/0.5627, allocations: 5.906 kB / 389.5 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.5631, allocations: 19.45 kB / 389.5 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.5633, allocations: 40.77 kB / 389.5 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.5633, allocations: 5.188 kB / 389.5 MB, free: 21.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002842/0.5636, allocations: 175.7 kB / 389.7 MB, free: 21.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5636, allocations: 4 kB / 389.7 MB, free: 21.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007903/0.5644, allocations: 90.12 kB / 389.8 MB, free: 21.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,booleanPulse.pulsStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Number of discrete states: 2 (idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001439/0.5659, allocations: 1.056 MB / 390.9 MB, free: 21.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.567, allocations: 328.6 kB / 391.2 MB, free: 20.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.567, allocations: 5.188 kB / 391.2 MB, free: 20.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006275/0.5676, allocations: 245 kB / 391.4 MB, free: 20.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.5683, allocations: 51.38 kB / 391.5 MB, free: 20.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.5701, allocations: 481 kB / 391.9 MB, free: 20.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.5706, allocations: 0.7706 MB / 392.7 MB, free: 19.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.5708, allocations: 23.31 kB / 392.7 MB, free: 19.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.571, allocations: 75.81 kB / 392.8 MB, free: 19.83 MB / 330.7 MB Notification: Performance of SimCode: time 1.572e-06/0.571, allocations: 3.906 kB / 392.8 MB, free: 19.83 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03867/0.6097, allocations: 6.59 MB / 399.4 MB, free: 19.16 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/0.6101, allocations: 185.7 kB / 399.6 MB, free: 18.94 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/3.279, allocations: 0 / 399.6 MB, free: 18.94 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat does not exist to compare? outputFormat=mat