Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.466e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3234, allocations: 44.5 MB / 294.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.4779, allocations: 84.73 MB / 378.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.4783, allocations: 71.97 kB / 379 MB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1246/0.6029, allocations: 32.67 MB / 411.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.603, allocations: 192 / 411.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.265e-05/0.603, allocations: 16 kB / 411.7 MB, free: 12.21 MB / 362.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.002386/0.6054, allocations: 1.036 MB / 412.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.6055, allocations: 12.03 kB / 412.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/0.6058, allocations: 114.6 kB / 412.9 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.6075, allocations: 0.7544 MB / 413.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.6076, allocations: 8 kB / 413.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.6077, allocations: 12 kB / 413.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005837/0.6083, allocations: 209.1 kB / 413.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.6089, allocations: 262.5 kB / 414.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.6089, allocations: 4 kB / 414.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.609, allocations: 3.953 kB / 414.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.609, allocations: 4 kB / 414.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.6118, allocations: 1.136 MB / 415.2 MB, free: 8.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.6123, allocations: 182.6 kB / 415.4 MB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.6128, allocations: 213.5 kB / 415.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2642/0.877, allocations: 10.76 MB / 426.4 MB, free: 92.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.8771, allocations: 42.05 kB / 426.4 MB, free: 92.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.397e-06/0.8772, allocations: 0 / 426.4 MB, free: 92.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001008/0.8782, allocations: 333.7 kB / 426.7 MB, free: 92.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.8782, allocations: 79.27 kB / 426.8 MB, free: 92.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.8793, allocations: 0.606 MB / 427.4 MB, free: 91.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.8794, allocations: 25.7 kB / 427.5 MB, free: 91.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.8798, allocations: 417.6 kB / 427.9 MB, free: 91.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/0.8799, allocations: 77.39 kB / 427.9 MB, free: 91.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.8799, allocations: 0 / 427.9 MB, free: 91.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.88, allocations: 319.9 kB / 428.3 MB, free: 91.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.8801, allocations: 55.98 kB / 428.3 MB, free: 91.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.8804, allocations: 134.9 kB / 428.4 MB, free: 91.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.8806, allocations: 82.95 kB / 428.5 MB, free: 91.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8807, allocations: 3.656 kB / 428.5 MB, free: 91.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000755/0.8814, allocations: 275.5 kB / 428.8 MB, free: 91.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.8815, allocations: 6.188 kB / 428.8 MB, free: 91.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.397e-05/0.8815, allocations: 19.8 kB / 428.8 MB, free: 91.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/0.8821, allocations: 129.4 kB / 428.9 MB, free: 91.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.8824, allocations: 40.62 kB / 429 MB, free: 91.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008709/0.8833, allocations: 0.7193 MB / 429.7 MB, free: 90.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.8839, allocations: 21.38 kB / 429.7 MB, free: 90.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.884, allocations: 15.28 kB / 429.7 MB, free: 90.74 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: J1.Dinternal:VARIABLE(unit = "V" ) type: Real 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.0001755/0.8842, allocations: 116.9 kB / 429.9 MB, free: 90.63 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008812/0.885, allocations: 340.5 kB / 430.2 MB, free: 90.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.8852, allocations: 102.6 kB / 430.3 MB, free: 90.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.8866, allocations: 392.5 kB / 430.7 MB, free: 90.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.8867, allocations: 2.5 kB / 430.7 MB, free: 90.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.8867, allocations: 1.344 kB / 430.7 MB, free: 90.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.8867, allocations: 2.031 kB / 430.7 MB, free: 90.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009482/0.8877, allocations: 477.9 kB / 431.1 MB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.567e-05/0.8878, allocations: 13.81 kB / 431.2 MB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.888, allocations: 24.03 kB / 431.2 MB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/0.8885, allocations: 127.3 kB / 431.3 MB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.8885, allocations: 10.94 kB / 431.3 MB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008566/0.8894, allocations: 0.7076 MB / 432 MB, free: 89.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.8894, allocations: 1.031 kB / 432 MB, free: 89.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009098/0.8904, allocations: 449.9 kB / 432.5 MB, free: 89.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.8907, allocations: 165.1 kB / 432.6 MB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.8908, allocations: 1.312 kB / 432.6 MB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.8913, allocations: 7.734 kB / 432.6 MB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.8914, allocations: 14.5 kB / 432.6 MB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.8914, allocations: 14 kB / 432.7 MB, free: 89.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00085/0.8923, allocations: 474.6 kB / 433.1 MB, free: 89.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8923, allocations: 0 / 433.1 MB, free: 89.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001134/0.8935, allocations: 200.3 kB / 433.3 MB, free: 89.27 MB / 362.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.001858/0.8953, allocations: 1.205 MB / 434.5 MB, free: 88.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008081/0.8962, allocations: 253.7 kB / 434.8 MB, free: 88.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8962, allocations: 2.469 kB / 434.8 MB, free: 88.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.8966, allocations: 163.1 kB / 434.9 MB, free: 88.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000936/0.8976, allocations: 117.4 kB / 435 MB, free: 88.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.9008, allocations: 1.015 MB / 436.1 MB, free: 88.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.9013, allocations: 0.959 MB / 437 MB, free: 87.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004757/0.9018, allocations: 331.4 kB / 437.3 MB, free: 87.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.9018, allocations: 3.469 kB / 437.3 MB, free: 87.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.053/3.955, allocations: 17.05 MB / 454.4 MB, free: 85.55 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat