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.183/2.183, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.443e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3103, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.4502, allocations: 73.33 MB / 367.6 MB, free: 8.516 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.4505, allocations: 63.97 kB / 367.6 MB, free: 8.453 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02069/0.4712, allocations: 4.817 MB / 372.4 MB, free: 3.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.207e-06/0.4713, allocations: 4 kB / 372.4 MB, free: 3.609 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.4713, allocations: 7.938 kB / 372.4 MB, free: 3.602 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.001265/0.4726, allocations: 0.5394 MB / 373 MB, free: 3.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.4726, allocations: 8.031 kB / 373 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.4728, allocations: 43.47 kB / 373 MB, free: 2.965 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.4732, allocations: 267.3 kB / 373.3 MB, free: 2.664 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.4733, allocations: 8 kB / 373.3 MB, free: 2.656 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/0.4734, allocations: 12 kB / 373.3 MB, free: 2.645 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005474/0.4739, allocations: 181 kB / 373.5 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.4746, allocations: 239.5 kB / 373.7 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4746, allocations: 0 / 373.7 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.4746, allocations: 3.984 kB / 373.7 MB, free: 2.215 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.4747, allocations: 8 kB / 373.7 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/0.4773, allocations: 1.099 MB / 374.8 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.478, allocations: 199 kB / 375 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004146/0.4784, allocations: 137.1 kB / 375.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.4785, allocations: 4.188 kB / 375.2 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003522/0.4788, allocations: 152.5 kB / 375.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.625e-06/0.4789, allocations: 0 / 375.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008497/0.4797, allocations: 243.6 kB / 375.6 MB, free: 284 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4798, allocations: 132.5 kB / 375.7 MB, free: 120 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.4802, allocations: 191.9 kB / 375.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.4802, allocations: 33.69 kB / 375.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.4804, allocations: 168.2 kB / 376.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.272e-05/0.4805, allocations: 67.09 kB / 376.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.4806, allocations: 0 / 376.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.4808, allocations: 334.8 kB / 376.5 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.481, allocations: 63.94 kB / 376.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.4812, allocations: 105.1 kB / 376.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4814, allocations: 64.02 kB / 376.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4814, allocations: 3.938 kB / 376.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006709/0.4821, allocations: 258 kB / 376.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.4822, allocations: 7.953 kB / 377 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4822, allocations: 0 / 377 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005332/0.4827, allocations: 88.91 kB / 377 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.483, allocations: 27.98 kB / 377.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003327/0.4863, allocations: 1.928 MB / 379 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.4867, allocations: 27.95 kB / 379 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.4868, allocations: 4 kB / 379 MB, free: 12.6 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.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.0001724/0.487, allocations: 123.7 kB / 379.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007461/0.4877, allocations: 254 kB / 379.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.4878, allocations: 31.64 kB / 379.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.514e-05/0.4879, allocations: 25.95 kB / 379.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.4879, allocations: 4 kB / 379.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.4879, allocations: 0 / 379.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.488, allocations: 0 / 379.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.4894, allocations: 0.7227 MB / 380.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4894, allocations: 7.969 kB / 380.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.4897, allocations: 19.98 kB / 380.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/0.4901, allocations: 93.02 kB / 380.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.4902, allocations: 0 / 380.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003084/0.4933, allocations: 1.868 MB / 382.2 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.4933, allocations: 3.953 kB / 382.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008975/0.4942, allocations: 425.8 kB / 382.6 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.4944, allocations: 124.8 kB / 382.7 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/0.4945, allocations: 128 / 382.7 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.4949, allocations: 27.92 kB / 382.7 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.4951, allocations: 31.95 kB / 382.8 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.4952, allocations: 8 kB / 382.8 MB, free: 8.617 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002126/0.4954, allocations: 152.5 kB / 382.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.4954, allocations: 0 / 382.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007314/0.4961, allocations: 83.84 kB / 383 MB, free: 8.387 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.001435/0.4976, allocations: 1.032 MB / 384 MB, free: 7.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009633/0.4986, allocations: 325.5 kB / 384.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.4986, allocations: 0 / 384.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.4992, allocations: 241.5 kB / 384.6 MB, free: 6.746 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.4998, allocations: 44.97 kB / 384.6 MB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.5016, allocations: 445.8 kB / 385.1 MB, free: 6.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.5021, allocations: 0.7793 MB / 385.8 MB, free: 5.426 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.5023, allocations: 18.02 kB / 385.9 MB, free: 5.406 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.5024, allocations: 75.41 kB / 385.9 MB, free: 5.332 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5025, allocations: 4 kB / 385.9 MB, free: 5.328 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0496/0.5521, allocations: 5.737 MB / 391.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/0.5524, allocations: 150.7 kB / 391.8 MB, free: 15.42 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.229, allocations: 3.938 kB / 391.8 MB, free: 15.41 MB / 346.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