Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.834/1.834, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.344e-05, allocations: 0 / 225.1 MB, free: 2.137 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2924, allocations: 38.77 MB / 263.9 MB, free: 9.793 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.4996, allocations: 93.86 MB / 357.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.4999, allocations: 71.97 kB / 357.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4877/0.9876, allocations: 75.3 MB / 433.1 MB, free: 40.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.9877, allocations: 4 kB / 433.1 MB, free: 40.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.874e-05/0.9877, allocations: 12 kB / 433.1 MB, free: 40.67 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.004059/0.9918, allocations: 1.21 MB / 434.3 MB, free: 39.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/0.9919, allocations: 8.031 kB / 434.3 MB, free: 39.41 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.9921, allocations: 66.53 kB / 434.4 MB, free: 39.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.9924, allocations: 118.6 kB / 434.5 MB, free: 39.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.9943, allocations: 0.7637 MB / 435.3 MB, free: 38.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.9943, allocations: 16.56 kB / 435.3 MB, free: 38.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.825e-05/0.9944, allocations: 27.98 kB / 435.3 MB, free: 38.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.9952, allocations: 324.5 kB / 435.6 MB, free: 38.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.9953, allocations: 3.938 kB / 435.6 MB, free: 38.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.9953, allocations: 16 kB / 435.6 MB, free: 38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.9954, allocations: 4 kB / 435.6 MB, free: 38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006069/0.996, allocations: 246.2 kB / 435.9 MB, free: 37.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/0.9989, allocations: 1.278 MB / 437.2 MB, free: 36.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.9994, allocations: 182.7 kB / 437.3 MB, free: 36.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/0.9998, allocations: 177.1 kB / 437.5 MB, free: 36.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01203/1.012, allocations: 9.278 MB / 446.8 MB, free: 25.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003764/1.012, allocations: 156.8 kB / 446.9 MB, free: 25.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 2.624e-06/1.012, allocations: 0 / 446.9 MB, free: 25.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.000708/1.013, allocations: 296.2 kB / 447.2 MB, free: 25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/1.013, allocations: 106.8 kB / 447.3 MB, free: 24.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/1.014, allocations: 0.7648 MB / 448.1 MB, free: 24.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/1.014, allocations: 29.7 kB / 448.1 MB, free: 24.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/1.015, allocations: 472.3 kB / 448.6 MB, free: 23.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/1.015, allocations: 55.27 kB / 448.6 MB, free: 23.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/1.015, allocations: 4 kB / 448.7 MB, free: 23.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.22e-05/1.015, allocations: 326 kB / 449 MB, free: 23.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/1.015, allocations: 79.89 kB / 449 MB, free: 23.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/1.015, allocations: 222.1 kB / 449.3 MB, free: 22.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/1.016, allocations: 107.6 kB / 449.4 MB, free: 22.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.016, allocations: 0 / 449.4 MB, free: 22.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008401/1.017, allocations: 416.5 kB / 449.8 MB, free: 22.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/1.017, allocations: 13.08 kB / 449.8 MB, free: 22.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.161e-05/1.017, allocations: 20 kB / 449.8 MB, free: 22.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/1.017, allocations: 8.625 kB / 449.8 MB, free: 22.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/1.017, allocations: 95.88 kB / 449.9 MB, free: 22.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/1.017, allocations: 11.94 kB / 449.9 MB, free: 22.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007743/1.018, allocations: 71.64 kB / 450 MB, free: 22.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/1.018, allocations: 24 kB / 450 MB, free: 22.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001382/1.018, allocations: 128.8 kB / 450.1 MB, free: 21.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/1.019, allocations: 114.6 kB / 450.3 MB, free: 21.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/1.02, allocations: 388.2 kB / 450.6 MB, free: 21.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/1.02, allocations: 4 kB / 450.6 MB, free: 21.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.02, allocations: 0 / 450.6 MB, free: 21.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.02, allocations: 0 / 450.6 MB, free: 21.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009189/1.021, allocations: 0.5828 MB / 451.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.386e-05/1.021, allocations: 19.98 kB / 451.2 MB, free: 20.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/1.022, allocations: 52.02 kB / 451.3 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-06/1.022, allocations: 4 kB / 451.3 MB, free: 20.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/1.022, allocations: 15.94 kB / 451.3 MB, free: 20.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/1.022, allocations: 3.938 kB / 451.3 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.022, allocations: 0 / 451.3 MB, free: 20.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000687/1.022, allocations: 384.4 kB / 451.7 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/1.023, allocations: 207.7 kB / 451.9 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/1.023, allocations: 4 kB / 451.9 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006167/1.024, allocations: 43.95 kB / 451.9 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/1.024, allocations: 31.95 kB / 452 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/1.024, allocations: 12 kB / 452 MB, free: 20 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000969/1.025, allocations: 0.5936 MB / 452.6 MB, free: 19.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.025, allocations: 0 / 452.6 MB, free: 19.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001036/1.026, allocations: 251.7 kB / 452.8 MB, free: 19.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VDS.T0,VDS.counter,VDS.counter2,VGS.T0,VGS.counter,VGS.counter2) * Number of discrete states: 4 (VGS.counter,VDS.counter,VGS.counter2,VDS.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001785/1.028, allocations: 1.473 MB / 454.3 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006489/1.028, allocations: 254.3 kB / 454.5 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.028, allocations: 0 / 454.5 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/1.029, allocations: 137.6 kB / 454.7 MB, free: 17.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008258/1.029, allocations: 140.3 kB / 454.8 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/1.033, allocations: 1.155 MB / 456 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/1.033, allocations: 0.9763 MB / 456.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005523/1.034, allocations: 102.4 kB / 457 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/1.034, allocations: 323.3 kB / 457.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.332e-06/1.034, allocations: 4 kB / 457.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0861/1.12, allocations: 23.01 MB / 480.4 MB, free: 7.492 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002905/1.12, allocations: 188.9 kB / 480.6 MB, free: 7.258 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.598/4.718, allocations: 4 kB / 480.6 MB, free: 7.254 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat does not exist to compare? outputFormat=mat