Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.104/2.104, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.544e-05/3.552e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 47.58 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4119/0.5144, allocations: 78.23 MB / 395.3 MB, free: 9.477 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.5147, allocations: 68.03 kB / 395.3 MB, free: 9.441 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02191/0.5367, allocations: 4.9 MB / 400.2 MB, free: 5.285 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.268e-06/0.5367, allocations: 0 / 400.2 MB, free: 5.285 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.697e-05/0.5368, allocations: 11.55 kB / 400.2 MB, free: 5.277 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.001315/0.5381, allocations: 0.5394 MB / 400.8 MB, free: 4.715 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.5382, allocations: 8.031 kB / 400.8 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.5383, allocations: 56.8 kB / 400.8 MB, free: 4.656 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.5384, allocations: 39.47 kB / 400.9 MB, free: 4.617 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.5389, allocations: 285.6 kB / 401.2 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.539, allocations: 21.83 kB / 401.2 MB, free: 4.316 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/0.5391, allocations: 25.69 kB / 401.2 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/0.5398, allocations: 272.9 kB / 401.5 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.5398, allocations: 3.938 kB / 401.5 MB, free: 4.098 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.5399, allocations: 18.05 kB / 401.5 MB, free: 4.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.5399, allocations: 4 kB / 401.5 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005654/0.5405, allocations: 180.8 kB / 401.7 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/0.5432, allocations: 1.156 MB / 402.8 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.544, allocations: 200 kB / 403 MB, free: 2.832 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004226/0.5444, allocations: 139 kB / 403.2 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.5445, allocations: 8.188 kB / 403.2 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/0.5449, allocations: 153.9 kB / 403.3 MB, free: 2.594 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.657e-06/0.5449, allocations: 4.219 kB / 403.3 MB, free: 2.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009126/0.5458, allocations: 263.8 kB / 403.6 MB, free: 2.387 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/0.5459, allocations: 136.5 kB / 403.7 MB, free: 2.223 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.5463, allocations: 215.6 kB / 403.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.5463, allocations: 33.58 kB / 403.9 MB, free: 2.008 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.5465, allocations: 163.3 kB / 404.1 MB, free: 1.871 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.21e-05/0.5466, allocations: 70.38 kB / 404.2 MB, free: 1.812 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.5466, allocations: 7.875 kB / 404.2 MB, free: 1.809 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5468, allocations: 329.9 kB / 404.5 MB, free: 1.484 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.547, allocations: 67.06 kB / 404.6 MB, free: 1.449 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.5473, allocations: 118.7 kB / 404.7 MB, free: 1.348 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.5475, allocations: 70.08 kB / 404.8 MB, free: 1.305 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5475, allocations: 0 / 404.8 MB, free: 1.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007294/0.5483, allocations: 286.3 kB / 405 MB, free: 1.094 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.5483, allocations: 4 kB / 405 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.5483, allocations: 3.953 kB / 405 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/0.549, allocations: 96.22 kB / 405.1 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.5494, allocations: 23.98 kB / 405.2 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00575/0.5551, allocations: 1.985 MB / 407.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.5559, allocations: 31.77 kB / 407.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.556, allocations: 7.984 kB / 407.2 MB, free: 15.14 MB / 330.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.pulseStart,booleanPulse.pulseStart,$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.000249/0.5562, allocations: 128.4 kB / 407.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.5564, allocations: 23.72 kB / 407.3 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.5566, allocations: 37.02 kB / 407.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.5566, allocations: 0 / 407.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5566, allocations: 0 / 407.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.5566, allocations: 4 kB / 407.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.5593, allocations: 0.7891 MB / 408.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.5593, allocations: 7.938 kB / 408.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.5597, allocations: 19.98 kB / 408.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008035/0.5605, allocations: 89.73 kB / 408.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/0.5606, allocations: 7.172 kB / 408.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004787/0.5654, allocations: 1.94 MB / 410.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5655, allocations: 4.031 kB / 410.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.5669, allocations: 431.2 kB / 410.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.5673, allocations: 132.7 kB / 410.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.252e-05/0.5674, allocations: 3.312 kB / 410.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/0.568, allocations: 23.23 kB / 410.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.5683, allocations: 38.5 kB / 410.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/0.5684, allocations: 8 kB / 410.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003839/0.5688, allocations: 171.2 kB / 411 MB, free: 11.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.5688, allocations: 4 kB / 411 MB, free: 11.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001133/0.5699, allocations: 94.06 kB / 411.1 MB, free: 11.64 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.pulseStart,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.002157/0.5722, allocations: 1.064 MB / 412.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.5736, allocations: 336.7 kB / 412.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.5737, allocations: 0 / 412.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009257/0.5747, allocations: 235.2 kB / 412.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009382/0.5757, allocations: 53.41 kB / 412.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.5786, allocations: 485.7 kB / 413.3 MB, free: 9.703 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.5793, allocations: 0.7677 MB / 414 MB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003023/0.5796, allocations: 22.08 kB / 414.1 MB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.5798, allocations: 82.66 kB / 414.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of SimCode: time 1.603e-06/0.5799, allocations: 96 / 414.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04365/0.6235, allocations: 6.59 MB / 420.7 MB, free: 2.359 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/0.6239, allocations: 178 kB / 420.9 MB, free: 2.141 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.235, allocations: 0 / 420.9 MB, free: 2.141 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat does not exist to compare? outputFormat=mat