Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.811e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.5421, allocations: 102.1 MB / 419.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.5424, allocations: 65.78 kB / 419.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2487/0.7911, allocations: 74.16 MB / 493.4 MB, free: 14.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.7912, allocations: 0 / 493.4 MB, free: 14.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.843e-05/0.7912, allocations: 12 kB / 493.4 MB, free: 14.73 MB / 410.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.003521/0.7948, allocations: 1.218 MB / 494.6 MB, free: 13.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.7948, allocations: 12.03 kB / 494.6 MB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.795, allocations: 58.55 kB / 494.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.7953, allocations: 122.6 kB / 494.8 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.7973, allocations: 0.7599 MB / 495.5 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.7974, allocations: 20.56 kB / 495.5 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.994e-05/0.7975, allocations: 20 kB / 495.6 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009127/0.7984, allocations: 323.4 kB / 495.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.7985, allocations: 0 / 495.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.7985, allocations: 15.98 kB / 495.9 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.7986, allocations: 8 kB / 495.9 MB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007655/0.7993, allocations: 245.1 kB / 496.1 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003375/0.8027, allocations: 1.273 MB / 497.4 MB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.8033, allocations: 174.8 kB / 497.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.8038, allocations: 181.1 kB / 497.8 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0154/0.8192, allocations: 9.266 MB / 0.4951 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004223/0.8197, allocations: 163.1 kB / 0.4953 GB, free: 15.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 3.576e-06/0.8197, allocations: 0 / 0.4953 GB, free: 15.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008508/0.8206, allocations: 292.3 kB / 0.4956 GB, free: 15.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.8207, allocations: 106.8 kB / 0.4957 GB, free: 14.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.8223, allocations: 0.7648 MB / 0.4964 GB, free: 14.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.8223, allocations: 29.7 kB / 0.4965 GB, free: 14.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005706/0.8229, allocations: 472.3 kB / 0.4969 GB, free: 13.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.8231, allocations: 59.25 kB / 0.497 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.8231, allocations: 4 kB / 0.497 GB, free: 13.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.8233, allocations: 318 kB / 0.4973 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.8235, allocations: 75.95 kB / 0.4973 GB, free: 13.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.8239, allocations: 235.5 kB / 0.4976 GB, free: 12.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.8242, allocations: 100.2 kB / 0.4977 GB, free: 12.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.8242, allocations: 0 / 0.4977 GB, free: 12.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001014/0.8252, allocations: 400 kB / 0.498 GB, free: 12.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.8253, allocations: 8 kB / 0.4981 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.087e-05/0.8254, allocations: 20 kB / 0.4981 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.8254, allocations: 8 kB / 0.4981 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006847/0.8261, allocations: 100.5 kB / 0.4982 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/0.8261, allocations: 11.94 kB / 0.4982 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008509/0.827, allocations: 67.56 kB / 0.4983 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.355e-05/0.8271, allocations: 24 kB / 0.4983 GB, free: 12.19 MB / 426.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.0001687/0.8273, allocations: 128.8 kB / 0.4984 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.8275, allocations: 110.6 kB / 0.4985 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.829, allocations: 386.2 kB / 0.4989 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.8291, allocations: 4 kB / 0.4989 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.8291, allocations: 0 / 0.4989 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.8291, allocations: 3.984 kB / 0.4989 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.8302, allocations: 0.575 MB / 0.4994 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.843e-05/0.8303, allocations: 20 kB / 0.4995 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/0.8308, allocations: 59.95 kB / 0.4995 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.8308, allocations: 4 kB / 0.4995 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.8309, allocations: 7.984 kB / 0.4995 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.8309, allocations: 4 kB / 0.4995 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8309, allocations: 3.938 kB / 0.4995 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008748/0.8318, allocations: 380.2 kB / 0.4999 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.8322, allocations: 207.6 kB / 0.5001 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.8324, allocations: 11.98 kB / 0.5001 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006395/0.8331, allocations: 39.97 kB / 0.5001 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.8332, allocations: 31.95 kB / 0.5002 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.8333, allocations: 15.98 kB / 0.5002 GB, free: 10.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001227/0.8345, allocations: 0.5858 MB / 0.5008 GB, free: 9.508 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.8345, allocations: 0 / 0.5008 GB, free: 9.508 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001229/0.8358, allocations: 255.7 kB / 0.501 GB, free: 9.258 MB / 426.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.002542/0.8384, allocations: 1.484 MB / 0.5025 GB, free: 7.727 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008494/0.8392, allocations: 246.3 kB / 0.5027 GB, free: 7.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8393, allocations: 0 / 0.5027 GB, free: 7.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.8397, allocations: 137.9 kB / 0.5028 GB, free: 7.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009433/0.8406, allocations: 144.6 kB / 0.503 GB, free: 7.199 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.8445, allocations: 1.148 MB / 0.5041 GB, free: 6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/0.8452, allocations: 0.9763 MB / 0.505 GB, free: 4.996 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006221/0.8458, allocations: 106.4 kB / 0.5051 GB, free: 4.887 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/0.8464, allocations: 323.3 kB / 0.5054 GB, free: 4.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/0.8464, allocations: 0 / 0.5054 GB, free: 4.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3673/1.214, allocations: 22.99 MB / 0.5279 GB, free: 108.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/1.214, allocations: 177.5 kB / 0.5281 GB, free: 108 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.374/4.588, allocations: 3.938 kB / 0.5281 GB, free: 108 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat does not exist to compare? outputFormat=mat