Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.703/1.703, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.276e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2968, allocations: 38.77 MB / 263.9 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4217, allocations: 69.68 MB / 333.5 MB, free: 4.035 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.422, allocations: 67.97 kB / 333.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03241/0.4544, allocations: 6.946 MB / 340.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4545, allocations: 4 kB / 340.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.714e-05/0.4545, allocations: 8 kB / 340.6 MB, free: 12.98 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001837/0.4564, allocations: 0.7218 MB / 341.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.4564, allocations: 8.031 kB / 341.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.4566, allocations: 74.53 kB / 341.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.4568, allocations: 55.34 kB / 341.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.4574, allocations: 311.7 kB / 341.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.4575, allocations: 32.77 kB / 341.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-05/0.4576, allocations: 47.95 kB / 341.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.4586, allocations: 403.9 kB / 342.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.4586, allocations: 0 / 342.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.4587, allocations: 16 kB / 342.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.4587, allocations: 8 kB / 342.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008384/0.4596, allocations: 281.5 kB / 342.5 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.4634, allocations: 1.643 MB / 344.1 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008298/0.4642, allocations: 310.8 kB / 344.5 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004428/0.4647, allocations: 185.1 kB / 344.6 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.682e-05/0.4648, allocations: 4.281 kB / 344.6 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006043/0.4654, allocations: 273.2 kB / 344.9 MB, free: 8.367 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 2.865e-06/0.4654, allocations: 4 kB / 344.9 MB, free: 8.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.001484/0.4669, allocations: 490 kB / 345.4 MB, free: 7.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.467, allocations: 209.6 kB / 345.6 MB, free: 7.605 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.4675, allocations: 295.5 kB / 345.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.4676, allocations: 33.7 kB / 345.9 MB, free: 7.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.4678, allocations: 212.5 kB / 346.1 MB, free: 7.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.468, allocations: 114.4 kB / 346.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.468, allocations: 4 kB / 346.2 MB, free: 6.941 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4682, allocations: 354.8 kB / 346.6 MB, free: 6.586 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.4686, allocations: 112.8 kB / 346.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.469, allocations: 173.8 kB / 346.9 MB, free: 6.281 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.4694, allocations: 176.4 kB / 347 MB, free: 6.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4694, allocations: 0 / 347 MB, free: 6.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001295/0.4707, allocations: 0.5016 MB / 347.5 MB, free: 5.574 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.808e-05/0.4708, allocations: 63.39 kB / 347.6 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4708, allocations: 4 kB / 347.6 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008316/0.4717, allocations: 151.4 kB / 347.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.4721, allocations: 39.91 kB / 347.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006916/0.479, allocations: 5.939 MB / 353.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006868/0.4797, allocations: 59.75 kB / 353.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.4798, allocations: 16 kB / 353.8 MB, free: 14.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,$PRE.booleanStep1.y,booleanStep1.y,$PRE.booleanStep1.nextTime,booleanStep1.nextTime,$PRE.booleanStep1.index,booleanStep1.index,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002587/0.4801, allocations: 157.1 kB / 354 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/0.4802, allocations: 47.47 kB / 354 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.4803, allocations: 56.17 kB / 354.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4804, allocations: 4 kB / 354.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4804, allocations: 0 / 354.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.4804, allocations: 0 / 354.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007554/0.4812, allocations: 453.1 kB / 354.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4812, allocations: 0 / 354.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.4814, allocations: 19.98 kB / 354.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007375/0.4822, allocations: 159.3 kB / 354.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.4823, allocations: 8 kB / 354.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006957/0.4892, allocations: 5.777 MB / 360.5 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4893, allocations: 0 / 360.5 MB, free: 7.473 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.4909, allocations: 0.5244 MB / 361 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.4913, allocations: 148.5 kB / 361.1 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.4914, allocations: 12 kB / 361.1 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.492, allocations: 39.97 kB / 361.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/0.4923, allocations: 47.92 kB / 361.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.4923, allocations: 15.98 kB / 361.2 MB, free: 6.633 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003923/0.4927, allocations: 222.2 kB / 361.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4927, allocations: 0 / 361.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0012/0.494, allocations: 163.8 kB / 361.6 MB, free: 6.254 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealGTOThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulsStart) * Number of discrete states: 6 (IdealThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,$whenCondition1,IdealThyristor2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002206/0.4962, allocations: 1.104 MB / 362.7 MB, free: 5.105 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.498, allocations: 0.865 MB / 363.6 MB, free: 4.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.498, allocations: 4 kB / 363.6 MB, free: 4.172 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.4991, allocations: 0.678 MB / 364.3 MB, free: 3.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007086/0.4999, allocations: 77.12 kB / 364.3 MB, free: 3.367 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.5017, allocations: 0.5799 MB / 364.9 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.5023, allocations: 0.8357 MB / 365.8 MB, free: 1.895 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.5025, allocations: 31.28 kB / 365.8 MB, free: 1.859 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.5028, allocations: 119.4 kB / 365.9 MB, free: 1.742 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5028, allocations: 0 / 365.9 MB, free: 1.742 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2674/0.7702, allocations: 10.26 MB / 376.2 MB, free: 90.11 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.7705, allocations: 188.3 kB / 376.4 MB, free: 89.88 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/3.559, allocations: 0 / 376.4 MB, free: 89.88 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat does not exist to compare? outputFormat=mat