Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.386e-05, allocations: 8 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.5406, allocations: 82.17 MB / 399.2 MB, free: 5.566 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.5409, allocations: 72.84 kB / 399.3 MB, free: 5.531 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05141/0.5924, allocations: 11.02 MB / 410.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5924, allocations: 0 / 410.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.726e-05/0.5925, allocations: 12 kB / 410.3 MB, free: 12.18 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002153/0.5947, allocations: 0.7934 MB / 411.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.5947, allocations: 12.03 kB / 411.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.5949, allocations: 77.64 kB / 411.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.5951, allocations: 67.25 kB / 411.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009622/0.5961, allocations: 407.1 kB / 411.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.5962, allocations: 32.3 kB / 411.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.5963, allocations: 35.62 kB / 411.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.5973, allocations: 417 kB / 412.1 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.5974, allocations: 3.938 kB / 412.1 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/0.5975, allocations: 15.5 kB / 412.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.5975, allocations: 12 kB / 412.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008482/0.5983, allocations: 284.9 kB / 412.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00422/0.6026, allocations: 1.754 MB / 414.2 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009329/0.6036, allocations: 344.1 kB / 414.5 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/0.604, allocations: 183.1 kB / 414.7 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.55e-05/0.6041, allocations: 4 kB / 414.7 MB, free: 8.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006143/0.6047, allocations: 248 kB / 414.9 MB, free: 8.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 3.456e-06/0.6047, allocations: 4 kB / 414.9 MB, free: 8.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.001584/0.6063, allocations: 455 kB / 415.4 MB, free: 7.855 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.6065, allocations: 191.4 kB / 415.6 MB, free: 7.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009879/0.6075, allocations: 441.8 kB / 416 MB, free: 7.285 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.16e-05/0.6076, allocations: 37.62 kB / 416 MB, free: 7.246 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.6079, allocations: 259.8 kB / 416.3 MB, free: 7.066 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.6081, allocations: 115.9 kB / 416.4 MB, free: 6.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.6081, allocations: 11.44 kB / 416.4 MB, free: 6.965 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.6083, allocations: 360.6 kB / 416.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.6086, allocations: 109.8 kB / 416.9 MB, free: 6.559 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.6091, allocations: 199.2 kB / 417.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.6095, allocations: 125.8 kB / 417.2 MB, free: 6.301 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.6095, allocations: 0 / 417.2 MB, free: 6.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001253/0.6108, allocations: 455.9 kB / 417.6 MB, free: 5.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.6109, allocations: 8 kB / 417.6 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.6109, allocations: 4.094 kB / 417.6 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000831/0.6117, allocations: 160.7 kB / 417.8 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.6122, allocations: 51.09 kB / 417.8 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007222/0.6194, allocations: 5.927 MB / 423.8 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007873/0.6203, allocations: 61.83 kB / 423.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.6203, allocations: 19.56 kB / 423.8 MB, free: 15.62 MB / 346.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: 16 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * 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: 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.0002083/0.6205, allocations: 134.3 kB / 424 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.6207, allocations: 55.28 kB / 424 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.6223, allocations: 0.4913 MB / 424.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.6223, allocations: 4 kB / 424.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.6224, allocations: 4 kB / 424.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.6224, allocations: 0 / 424.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009425/0.6233, allocations: 0.4911 MB / 425 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6234, allocations: 3.938 kB / 425 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.6236, allocations: 35.34 kB / 425.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007218/0.6244, allocations: 151.1 kB / 425.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/0.6244, allocations: 10.61 kB / 425.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006998/0.6314, allocations: 5.778 MB / 431 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6315, allocations: 0 / 431 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.6331, allocations: 0.491 MB / 431.5 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/0.6336, allocations: 165.4 kB / 431.7 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.6337, allocations: 19.75 kB / 431.7 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.6343, allocations: 34.86 kB / 431.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.6345, allocations: 58.59 kB / 431.8 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.6346, allocations: 7.875 kB / 431.8 MB, free: 7.871 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007018/0.6353, allocations: 355.2 kB / 432.1 MB, free: 7.605 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6353, allocations: 0 / 432.1 MB, free: 7.605 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001267/0.6366, allocations: 177.2 kB / 432.3 MB, free: 7.449 MB / 346.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,IdealGTOThyristor1.fire,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00304/0.6396, allocations: 1.347 MB / 433.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.6414, allocations: 0.7527 MB / 434.4 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6414, allocations: 0 / 434.4 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.6425, allocations: 0.6156 MB / 435 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009818/0.6435, allocations: 107.4 kB / 435.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.6468, allocations: 0.8164 MB / 435.9 MB, free: 4.164 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.6474, allocations: 0.8692 MB / 436.8 MB, free: 3.273 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004454/0.6479, allocations: 63.42 kB / 436.9 MB, free: 3.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.6482, allocations: 167.6 kB / 437 MB, free: 3.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6482, allocations: 4 kB / 437 MB, free: 3.156 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0641/0.7123, allocations: 12.79 MB / 449.8 MB, free: 6.387 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003851/0.7128, allocations: 229.8 kB / 450 MB, free: 6.078 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.459/4.171, allocations: 4 kB / 450 MB, free: 6.074 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat does not exist to compare? outputFormat=mat