Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.793/1.793, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.506e-05, allocations: 4 kB / 225.1 MB, free: 2.133 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2927, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1794/0.4722, allocations: 80.46 MB / 344.3 MB, free: 9.125 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.4726, allocations: 75.95 kB / 344.4 MB, free: 9.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3819/0.8545, allocations: 34.07 MB / 378.4 MB, free: 81.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.8545, allocations: 0 / 378.4 MB, free: 81.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.263e-05/0.8546, allocations: 11.66 kB / 378.5 MB, free: 81.72 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002177/0.8568, allocations: 1.034 MB / 379.5 MB, free: 81.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.8568, allocations: 7.844 kB / 379.5 MB, free: 81.04 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.857, allocations: 60.81 kB / 379.6 MB, free: 81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.8572, allocations: 114.3 kB / 379.7 MB, free: 80.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.8588, allocations: 0.7484 MB / 380.4 MB, free: 80.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.8589, allocations: 21.84 kB / 380.4 MB, free: 80.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.859, allocations: 28.16 kB / 380.5 MB, free: 80.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.8597, allocations: 302.6 kB / 380.8 MB, free: 80.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.8597, allocations: 0 / 380.8 MB, free: 80.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.8598, allocations: 9.875 kB / 380.8 MB, free: 80.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.8598, allocations: 10.34 kB / 380.8 MB, free: 80.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/0.8604, allocations: 220 kB / 381 MB, free: 80.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.8631, allocations: 1.215 MB / 382.2 MB, free: 80.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.8637, allocations: 192.9 kB / 382.4 MB, free: 80.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004066/0.8641, allocations: 217.9 kB / 382.6 MB, free: 79.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01398/0.8781, allocations: 10.79 MB / 393.4 MB, free: 69.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.8782, allocations: 34.31 kB / 393.4 MB, free: 69.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 3.897e-06/0.8782, allocations: 0 / 393.4 MB, free: 69.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.000915/0.8792, allocations: 355.5 kB / 393.8 MB, free: 69.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.8792, allocations: 80.7 kB / 393.9 MB, free: 69.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.8803, allocations: 0.6761 MB / 394.5 MB, free: 69.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.8804, allocations: 29.7 kB / 394.6 MB, free: 69.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/0.8808, allocations: 428.7 kB / 395 MB, free: 68.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.051e-05/0.8809, allocations: 83.31 kB / 395.1 MB, free: 68.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.8809, allocations: 4 kB / 395.1 MB, free: 68.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.343e-05/0.881, allocations: 316.7 kB / 395.4 MB, free: 68.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.8812, allocations: 56.05 kB / 395.4 MB, free: 68.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.8814, allocations: 148.8 kB / 395.6 MB, free: 68.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.8817, allocations: 88.75 kB / 395.7 MB, free: 68.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.8817, allocations: 0 / 395.7 MB, free: 68.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008596/0.8825, allocations: 385.5 kB / 396 MB, free: 68.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.8826, allocations: 4.062 kB / 396 MB, free: 68.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.31e-05/0.8826, allocations: 23.66 kB / 396.1 MB, free: 68.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005267/0.8832, allocations: 135.5 kB / 396.2 MB, free: 68.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.8835, allocations: 35.27 kB / 396.2 MB, free: 68.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008024/0.8843, allocations: 0.7131 MB / 397 MB, free: 67.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006071/0.8849, allocations: 29.66 kB / 397 MB, free: 67.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.885, allocations: 17.47 kB / 397 MB, free: 67.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.8851, allocations: 112.9 kB / 397.1 MB, free: 67.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.8853, allocations: 112.7 kB / 397.2 MB, free: 67.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.8866, allocations: 406.7 kB / 397.6 MB, free: 67.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.8867, allocations: 3.75 kB / 397.6 MB, free: 67.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.8867, allocations: 3.469 kB / 397.6 MB, free: 67.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.8867, allocations: 5.266 kB / 397.6 MB, free: 67.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009583/0.8877, allocations: 0.5134 MB / 398.1 MB, free: 66.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.864e-05/0.8878, allocations: 9.625 kB / 398.2 MB, free: 66.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.888, allocations: 17.58 kB / 398.2 MB, free: 66.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004628/0.8885, allocations: 144.7 kB / 398.3 MB, free: 66.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.8885, allocations: 3.344 kB / 398.3 MB, free: 66.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007416/0.8893, allocations: 0.7057 MB / 399 MB, free: 66.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8893, allocations: 3.875 kB / 399 MB, free: 66.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/0.8902, allocations: 453.5 kB / 399.5 MB, free: 65.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.8905, allocations: 176.9 kB / 399.6 MB, free: 65.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.8906, allocations: 4 kB / 399.6 MB, free: 65.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.8911, allocations: 7.375 kB / 399.6 MB, free: 65.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.8912, allocations: 30.08 kB / 399.7 MB, free: 65.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.8913, allocations: 9.375 kB / 399.7 MB, free: 65.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009551/0.8923, allocations: 0.5286 MB / 400.2 MB, free: 65.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8923, allocations: 0 / 400.2 MB, free: 65.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001007/0.8933, allocations: 208.8 kB / 400.4 MB, free: 65.42 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001702/0.895, allocations: 1.211 MB / 401.6 MB, free: 64.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008262/0.8959, allocations: 260.7 kB / 401.9 MB, free: 64.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.8959, allocations: 4 kB / 401.9 MB, free: 64.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.8963, allocations: 173 kB / 402.1 MB, free: 64.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008851/0.8972, allocations: 118.9 kB / 402.2 MB, free: 63.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.9002, allocations: 1.004 MB / 403.2 MB, free: 63.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.9007, allocations: 0.9548 MB / 404.1 MB, free: 62.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005446/0.9012, allocations: 101.5 kB / 404.2 MB, free: 62.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/0.9017, allocations: 320.5 kB / 404.5 MB, free: 61.8 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.9017, allocations: 0 / 404.5 MB, free: 61.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0689/0.9706, allocations: 16.98 MB / 421.5 MB, free: 46.75 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.9709, allocations: 175.1 kB / 421.7 MB, free: 46.53 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.436/4.407, allocations: 0 / 421.7 MB, free: 46.53 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat