Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.795/1.795, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.283e-05/4.266e-05, allocations: 3.984 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2604, allocations: 38.77 MB / 263.9 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.4041, allocations: 80.46 MB / 344.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.4045, allocations: 75.95 kB / 344.4 MB, free: 9.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4371/0.8416, allocations: 34.06 MB / 378.4 MB, free: 81.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.8417, allocations: 0 / 378.4 MB, free: 81.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.995e-05/0.8417, allocations: 16.16 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.00278/0.8445, allocations: 1.043 MB / 379.5 MB, free: 81.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.8446, allocations: 7.875 kB / 379.5 MB, free: 81.04 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.8447, allocations: 60.41 kB / 379.6 MB, free: 81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.845, allocations: 114.2 kB / 379.7 MB, free: 80.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/0.8472, allocations: 0.7496 MB / 380.4 MB, free: 80.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.8473, allocations: 18.41 kB / 380.4 MB, free: 80.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.8474, allocations: 37.03 kB / 380.5 MB, free: 80.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009428/0.8484, allocations: 294 kB / 380.8 MB, free: 80.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.8484, allocations: 0 / 380.8 MB, free: 80.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.8485, allocations: 11.03 kB / 380.8 MB, free: 80.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.8486, allocations: 11.17 kB / 380.8 MB, free: 80.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008119/0.8494, allocations: 217.2 kB / 381 MB, free: 80.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00362/0.853, allocations: 1.208 MB / 382.2 MB, free: 80.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.8538, allocations: 185.9 kB / 382.4 MB, free: 80.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006208/0.8545, allocations: 217.6 kB / 382.6 MB, free: 79.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02109/0.8756, allocations: 10.79 MB / 393.4 MB, free: 69.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.8757, allocations: 30.56 kB / 393.4 MB, free: 69.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 5.36e-06/0.8757, allocations: 0 / 393.4 MB, free: 69.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.001382/0.8771, allocations: 345 kB / 393.8 MB, free: 69.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.8772, allocations: 84.89 kB / 393.8 MB, free: 69.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.8789, allocations: 0.6681 MB / 394.5 MB, free: 69.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/0.879, allocations: 33.55 kB / 394.5 MB, free: 69.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/0.8795, allocations: 409.6 kB / 394.9 MB, free: 68.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.8797, allocations: 81.09 kB / 395 MB, free: 68.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.8797, allocations: 4 kB / 395 MB, free: 68.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.8798, allocations: 321.6 kB / 395.3 MB, free: 68.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.8801, allocations: 67.75 kB / 395.4 MB, free: 68.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.8805, allocations: 144.9 kB / 395.6 MB, free: 68.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.8808, allocations: 83.83 kB / 395.6 MB, free: 68.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.8809, allocations: 3.062 kB / 395.6 MB, free: 68.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00107/0.882, allocations: 288.3 kB / 395.9 MB, free: 68.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.882, allocations: 6.062 kB / 395.9 MB, free: 68.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.084e-05/0.8821, allocations: 18.08 kB / 395.9 MB, free: 68.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008163/0.8829, allocations: 136.9 kB / 396.1 MB, free: 68.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.8834, allocations: 41.72 kB / 396.1 MB, free: 68.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.8846, allocations: 0.7143 MB / 396.8 MB, free: 67.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009674/0.8856, allocations: 29.5 kB / 396.9 MB, free: 67.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-05/0.8857, allocations: 15.03 kB / 396.9 MB, free: 67.54 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.000166/0.8859, allocations: 119 kB / 397 MB, free: 67.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.8862, allocations: 102.9 kB / 397.1 MB, free: 67.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.8882, allocations: 420.2 kB / 397.5 MB, free: 67.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.8882, allocations: 7.562 kB / 397.5 MB, free: 67.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.8883, allocations: 3.25 kB / 397.5 MB, free: 67.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.8883, allocations: 3.953 kB / 397.5 MB, free: 67.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.8897, allocations: 0.5052 MB / 398 MB, free: 66.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.233e-05/0.8898, allocations: 15.45 kB / 398 MB, free: 66.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.8902, allocations: 18.36 kB / 398.1 MB, free: 66.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006836/0.8909, allocations: 143.1 kB / 398.2 MB, free: 66.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.8909, allocations: 7 kB / 398.2 MB, free: 66.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.892, allocations: 0.7079 MB / 398.9 MB, free: 66.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8921, allocations: 0 / 398.9 MB, free: 66.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.8934, allocations: 448.1 kB / 399.3 MB, free: 65.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.8939, allocations: 174.1 kB / 399.5 MB, free: 65.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.8941, allocations: 11.56 kB / 399.5 MB, free: 65.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/0.8948, allocations: 7.438 kB / 399.5 MB, free: 65.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.8949, allocations: 22.44 kB / 399.6 MB, free: 65.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.895, allocations: 7.906 kB / 399.6 MB, free: 65.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001391/0.8964, allocations: 0.5244 MB / 400.1 MB, free: 65.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.513e-06/0.8964, allocations: 0 / 400.1 MB, free: 65.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001491/0.8979, allocations: 212.9 kB / 400.3 MB, free: 65.5 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.002472/0.9005, allocations: 1.199 MB / 401.5 MB, free: 64.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.9017, allocations: 263.4 kB / 401.8 MB, free: 64.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.9017, allocations: 0 / 401.8 MB, free: 64.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005881/0.9023, allocations: 177.2 kB / 401.9 MB, free: 64.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.9037, allocations: 130.4 kB / 402.1 MB, free: 64.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.908, allocations: 1.029 MB / 403.1 MB, free: 63.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.9087, allocations: 0.9579 MB / 404 MB, free: 62.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006978/0.9094, allocations: 326.4 kB / 404.4 MB, free: 62.14 MB / 314.7 MB Notification: Performance of SimCode: time 2.545e-06/0.9094, allocations: 0 / 404.4 MB, free: 62.14 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.103/4.013, allocations: 17.1 MB / 421.5 MB, free: 47.01 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat