Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.115/2.115, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.381e-05/3.387e-05, allocations: 7.984 kB / 292.2 MB, free: 8.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1026, allocations: 50.42 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4419/0.5445, allocations: 91.71 MB / 434.3 MB, free: 2.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.5448, allocations: 74.28 kB / 434.4 MB, free: 2.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1377/0.6825, allocations: 37.34 MB / 471.8 MB, free: 1.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6826, allocations: 0 / 471.8 MB, free: 1.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.501e-05/0.6826, allocations: 12.19 kB / 471.8 MB, free: 1.605 MB / 378.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.00232/0.685, allocations: 1.032 MB / 472.8 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.685, allocations: 12.02 kB / 472.8 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.6851, allocations: 58.55 kB / 472.9 MB, free: 460 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.6854, allocations: 110.7 kB / 473 MB, free: 348 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.6872, allocations: 0.7545 MB / 473.7 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.6873, allocations: 20.52 kB / 473.8 MB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-05/0.6874, allocations: 27.98 kB / 473.8 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/0.6881, allocations: 298.6 kB / 474.1 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.6882, allocations: 0 / 474.1 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.6882, allocations: 11.94 kB / 474.1 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.6883, allocations: 8 kB / 474.1 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.6889, allocations: 213.1 kB / 474.3 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002994/0.6919, allocations: 1.203 MB / 475.5 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/0.6924, allocations: 190.6 kB / 475.7 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/0.6929, allocations: 225.2 kB / 475.9 MB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01704/0.71, allocations: 10.79 MB / 486.7 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.7101, allocations: 34.56 kB / 486.7 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 3.657e-06/0.7101, allocations: 0 / 486.7 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.001046/0.7111, allocations: 353.2 kB / 487.1 MB, free: 236 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.7112, allocations: 81.11 kB / 487.2 MB, free: 136 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.7125, allocations: 0.6652 MB / 487.8 MB, free: 15.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.7126, allocations: 29.7 kB / 487.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.713, allocations: 422.3 kB / 488.3 MB, free: 15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.671e-05/0.7132, allocations: 70.91 kB / 488.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.7132, allocations: 12 kB / 488.3 MB, free: 14.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7133, allocations: 318.8 kB / 488.7 MB, free: 14.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.7135, allocations: 64.23 kB / 488.7 MB, free: 14.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.7138, allocations: 133.7 kB / 488.8 MB, free: 14.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.714, allocations: 83.59 kB / 488.9 MB, free: 14.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7141, allocations: 0 / 488.9 MB, free: 14.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007813/0.7149, allocations: 302 kB / 489.2 MB, free: 13.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.7149, allocations: 7.984 kB / 489.2 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.515e-05/0.715, allocations: 16 kB / 489.2 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000579/0.7155, allocations: 133.1 kB / 489.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.7159, allocations: 39.97 kB / 489.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009581/0.7168, allocations: 0.7044 MB / 490.1 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006279/0.7175, allocations: 39.78 kB / 490.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/0.7176, allocations: 19.98 kB / 490.2 MB, free: 13 MB / 410.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.0001309/0.7177, allocations: 113.9 kB / 490.3 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.7179, allocations: 106.8 kB / 490.4 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.7194, allocations: 403.3 kB / 490.8 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.7195, allocations: 4 kB / 490.8 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7195, allocations: 0 / 490.8 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.7195, allocations: 0 / 490.8 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.7206, allocations: 0.5189 MB / 491.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.841e-05/0.7207, allocations: 12 kB / 491.3 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.7209, allocations: 19.97 kB / 491.3 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005013/0.7214, allocations: 139.5 kB / 491.5 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.7215, allocations: 12 kB / 491.5 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009079/0.7224, allocations: 0.7083 MB / 492.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7224, allocations: 0 / 492.2 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.7234, allocations: 451.3 kB / 492.6 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/0.7238, allocations: 175.8 kB / 492.8 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.724, allocations: 4 kB / 492.8 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/0.7245, allocations: 8 kB / 492.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.7246, allocations: 15.98 kB / 492.8 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.7246, allocations: 11.98 kB / 492.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001079/0.7257, allocations: 0.5197 MB / 493.4 MB, free: 9.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.7257, allocations: 4 kB / 493.4 MB, free: 9.668 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001079/0.7268, allocations: 219.7 kB / 493.6 MB, free: 9.453 MB / 410.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.002104/0.729, allocations: 1.202 MB / 494.8 MB, free: 8.219 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008628/0.7299, allocations: 265.6 kB / 495.1 MB, free: 7.949 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7299, allocations: 0 / 495.1 MB, free: 7.949 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.7303, allocations: 159.9 kB / 495.2 MB, free: 7.781 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.7316, allocations: 152.8 kB / 495.4 MB, free: 7.629 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.7349, allocations: 1.034 MB / 496.4 MB, free: 6.547 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.7356, allocations: 0.9646 MB / 497.4 MB, free: 5.555 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/0.7362, allocations: 323.3 kB / 497.7 MB, free: 5.238 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7362, allocations: 0 / 497.7 MB, free: 5.238 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.847/3.583, allocations: 17.1 MB / 0.5027 GB, free: 4.16 MB / 426.7 MB