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.827/1.827, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.086e-05/5.101e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3407, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.4894, allocations: 80.46 MB / 344.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.4897, allocations: 67.97 kB / 344.4 MB, free: 9.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3883/0.878, allocations: 34.06 MB / 378.5 MB, free: 81.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.8781, allocations: 0 / 378.5 MB, free: 81.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.881e-05/0.8781, allocations: 15.59 kB / 378.5 MB, free: 81.69 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.00243/0.8806, allocations: 1.036 MB / 379.5 MB, free: 81.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.8806, allocations: 11.09 kB / 379.5 MB, free: 81.01 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.8808, allocations: 62.39 kB / 379.6 MB, free: 80.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.8811, allocations: 110.9 kB / 379.7 MB, free: 80.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.8828, allocations: 0.7474 MB / 380.5 MB, free: 80.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.8829, allocations: 28.44 kB / 380.5 MB, free: 80.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.185e-05/0.883, allocations: 27.98 kB / 380.5 MB, free: 80.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/0.8837, allocations: 296.3 kB / 380.8 MB, free: 80.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.8837, allocations: 0 / 380.8 MB, free: 80.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/0.8838, allocations: 13.97 kB / 380.8 MB, free: 80.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.8838, allocations: 3.969 kB / 380.8 MB, free: 80.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.8844, allocations: 215.5 kB / 381 MB, free: 80.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.8871, allocations: 1.216 MB / 382.2 MB, free: 80.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.8876, allocations: 191.5 kB / 382.4 MB, free: 79.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.888, allocations: 212.6 kB / 382.6 MB, free: 79.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01793/0.906, allocations: 10.79 MB / 393.4 MB, free: 69.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.906, allocations: 30.56 kB / 393.5 MB, free: 69.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.986e-06/0.906, allocations: 0 / 393.5 MB, free: 69.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008481/0.9069, allocations: 344.5 kB / 393.8 MB, free: 69.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.907, allocations: 77.11 kB / 393.9 MB, free: 69.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.908, allocations: 0.6771 MB / 394.5 MB, free: 69.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.9081, allocations: 29.45 kB / 394.6 MB, free: 69.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.9085, allocations: 437.8 kB / 395 MB, free: 68.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/0.9085, allocations: 78 kB / 395.1 MB, free: 68.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.9086, allocations: 0 / 395.1 MB, free: 68.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.9086, allocations: 321.6 kB / 395.4 MB, free: 68.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.9088, allocations: 59 kB / 395.4 MB, free: 68.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.909, allocations: 153 kB / 395.6 MB, free: 68.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.9092, allocations: 81.08 kB / 395.7 MB, free: 68.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.9093, allocations: 0 / 395.7 MB, free: 68.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007808/0.9101, allocations: 381.9 kB / 396 MB, free: 68.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.9101, allocations: 10.33 kB / 396.1 MB, free: 68.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.015e-05/0.9101, allocations: 17.62 kB / 396.1 MB, free: 68.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005023/0.9107, allocations: 138.3 kB / 396.2 MB, free: 68.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.911, allocations: 37.64 kB / 396.2 MB, free: 68.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007651/0.9117, allocations: 0.7105 MB / 397 MB, free: 67.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.9123, allocations: 27.94 kB / 397 MB, free: 67.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.9123, allocations: 15.94 kB / 397 MB, free: 67.44 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.0001018/0.9124, allocations: 123.5 kB / 397.1 MB, free: 67.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.9126, allocations: 101 kB / 397.2 MB, free: 67.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.9139, allocations: 414.4 kB / 397.6 MB, free: 67.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.9139, allocations: 3.969 kB / 397.6 MB, free: 67.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9139, allocations: 0 / 397.6 MB, free: 67.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.9139, allocations: 9.156 kB / 397.6 MB, free: 67.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007889/0.9147, allocations: 0.5038 MB / 398.1 MB, free: 66.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.304e-05/0.9148, allocations: 14.34 kB / 398.2 MB, free: 66.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.915, allocations: 18.91 kB / 398.2 MB, free: 66.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.9154, allocations: 143.7 kB / 398.3 MB, free: 66.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.9155, allocations: 6.719 kB / 398.3 MB, free: 66.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006758/0.9162, allocations: 0.6975 MB / 399 MB, free: 66.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.9162, allocations: 6.875 kB / 399 MB, free: 66.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007468/0.9169, allocations: 453.4 kB / 399.5 MB, free: 65.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.9172, allocations: 181.9 kB / 399.6 MB, free: 65.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.9174, allocations: 3 kB / 399.6 MB, free: 65.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.9178, allocations: 14.47 kB / 399.7 MB, free: 65.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.9179, allocations: 18.61 kB / 399.7 MB, free: 65.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.9179, allocations: 10.06 kB / 399.7 MB, free: 65.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008456/0.9188, allocations: 0.5302 MB / 400.2 MB, free: 65.44 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.9188, allocations: 0 / 400.2 MB, free: 65.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008768/0.9197, allocations: 208.2 kB / 400.4 MB, free: 65.41 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.001489/0.9212, allocations: 1.212 MB / 401.6 MB, free: 64.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006679/0.9219, allocations: 259.4 kB / 401.9 MB, free: 64.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9219, allocations: 0.5625 kB / 401.9 MB, free: 64.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.9223, allocations: 174.6 kB / 402.1 MB, free: 64.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007441/0.923, allocations: 130.4 kB / 402.2 MB, free: 63.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.9255, allocations: 0.992 MB / 403.2 MB, free: 62.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.9259, allocations: 0.9612 MB / 404.1 MB, free: 62.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005057/0.9264, allocations: 96.19 kB / 404.2 MB, free: 62.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.9268, allocations: 320.4 kB / 404.5 MB, free: 61.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.9269, allocations: 0 / 404.5 MB, free: 61.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09341/1.02, allocations: 16.97 MB / 421.5 MB, free: 46.76 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/1.021, allocations: 177.8 kB / 421.7 MB, free: 46.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/4.121, allocations: 4 kB / 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