Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.206/2.206, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.592e-05/4.593e-05, allocations: 7.984 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 50.41 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4549/0.5642, allocations: 104.3 MB / 446.9 MB, free: 6.195 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.5645, allocations: 75.77 kB / 447 MB, free: 6.156 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3294/0.894, allocations: 81.49 MB / 0.5161 GB, free: 8.367 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.894, allocations: 4 kB / 0.5161 GB, free: 8.363 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.771e-05/0.8941, allocations: 12 kB / 0.5161 GB, free: 8.352 MB / 442.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.004769/0.8989, allocations: 1.211 MB / 0.5173 GB, free: 7.098 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/0.8989, allocations: 8.031 kB / 0.5173 GB, free: 7.09 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.8991, allocations: 62.53 kB / 0.5174 GB, free: 7.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/0.8995, allocations: 116 kB / 0.5175 GB, free: 6.906 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.9023, allocations: 0.7637 MB / 0.5182 GB, free: 6.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.283e-05/0.9023, allocations: 24.52 kB / 0.5183 GB, free: 6.062 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.9025, allocations: 16 kB / 0.5183 GB, free: 6.047 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.9038, allocations: 331.4 kB / 0.5186 GB, free: 5.711 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.9038, allocations: 0 / 0.5186 GB, free: 5.711 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/0.9039, allocations: 8 kB / 0.5186 GB, free: 5.703 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.904, allocations: 8 kB / 0.5186 GB, free: 5.695 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.905, allocations: 245.1 kB / 0.5188 GB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004612/0.9097, allocations: 1.289 MB / 0.5201 GB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/0.9105, allocations: 166.8 kB / 0.5202 GB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006631/0.9112, allocations: 189.2 kB / 0.5204 GB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3396/1.251, allocations: 9.227 MB / 0.5294 GB, free: 106.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004046/1.251, allocations: 155.7 kB / 0.5296 GB, free: 106.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 2.805e-06/1.251, allocations: 0 / 0.5296 GB, free: 106.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007293/1.252, allocations: 292.5 kB / 0.5299 GB, free: 106.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/1.252, allocations: 113.4 kB / 0.53 GB, free: 106 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/1.253, allocations: 0.754 MB / 0.5307 GB, free: 105.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/1.253, allocations: 32.41 kB / 0.5307 GB, free: 105.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/1.254, allocations: 470.3 kB / 0.5312 GB, free: 105.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/1.254, allocations: 55.14 kB / 0.5312 GB, free: 105.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/1.254, allocations: 8.438 kB / 0.5313 GB, free: 105.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.26e-05/1.254, allocations: 317 kB / 0.5316 GB, free: 105.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/1.254, allocations: 71.94 kB / 0.5316 GB, free: 105.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/1.255, allocations: 225.8 kB / 0.5318 GB, free: 105.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/1.255, allocations: 106.5 kB / 0.5319 GB, free: 105.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/1.255, allocations: 1.875 kB / 0.5319 GB, free: 105.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008802/1.256, allocations: 400.5 kB / 0.5323 GB, free: 105.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/1.256, allocations: 8.969 kB / 0.5323 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.697e-05/1.256, allocations: 20.23 kB / 0.5324 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/1.256, allocations: 10.53 kB / 0.5324 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/1.257, allocations: 98.44 kB / 0.5325 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/1.257, allocations: 9.062 kB / 0.5325 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007553/1.258, allocations: 71.2 kB / 0.5325 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/1.258, allocations: 18.84 kB / 0.5325 GB, free: 105 MB / 442.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.0001288/1.258, allocations: 128.3 kB / 0.5327 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.258, allocations: 115.6 kB / 0.5328 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/1.259, allocations: 387 kB / 0.5332 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.259, allocations: 1.844 kB / 0.5332 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.259, allocations: 0.9062 kB / 0.5332 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/1.259, allocations: 5.312 kB / 0.5332 GB, free: 104.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008424/1.26, allocations: 0.5789 MB / 0.5337 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.56e-05/1.26, allocations: 18.53 kB / 0.5337 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/1.261, allocations: 58.77 kB / 0.5338 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/1.261, allocations: 1.625 kB / 0.5338 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/1.261, allocations: 13.61 kB / 0.5338 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/1.261, allocations: 2.406 kB / 0.5338 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.261, allocations: 1.578 kB / 0.5338 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/1.262, allocations: 380.2 kB / 0.5342 GB, free: 104.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/1.262, allocations: 205.9 kB / 0.5344 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/1.262, allocations: 7.859 kB / 0.5344 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/1.263, allocations: 37.59 kB / 0.5344 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.263, allocations: 35.28 kB / 0.5345 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/1.263, allocations: 12.7 kB / 0.5345 GB, free: 104.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001049/1.264, allocations: 0.5881 MB / 0.535 GB, free: 104.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.264, allocations: 0 / 0.535 GB, free: 104.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00104/1.265, allocations: 248.3 kB / 0.5353 GB, free: 104.1 MB / 442.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.001961/1.267, allocations: 1.473 MB / 0.5367 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006727/1.268, allocations: 251.1 kB / 0.537 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.268, allocations: 0 / 0.537 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/1.268, allocations: 134.6 kB / 0.5371 GB, free: 103.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/1.269, allocations: 162 kB / 0.5372 GB, free: 103.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/1.273, allocations: 1.135 MB / 0.5383 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/1.273, allocations: 0.9759 MB / 0.5393 GB, free: 102.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006498/1.274, allocations: 110.2 kB / 0.5394 GB, free: 102.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005032/1.274, allocations: 321 kB / 0.5397 GB, free: 102.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.183e-06/1.274, allocations: 0 / 0.5397 GB, free: 102.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05969/1.334, allocations: 22.9 MB / 0.5621 GB, free: 101.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/1.334, allocations: 187.5 kB / 0.5622 GB, free: 101 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.69/5.025, allocations: 3.375 kB / 0.5623 GB, free: 101 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat does not exist to compare? outputFormat=mat