Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.639/1.639, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2152/1.854, allocations: 46.83 MB / 249.3 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/1.939, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2769/2.216, allocations: 84.67 MB / 378.5 MB, free: 6.484 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/2.216, allocations: 78.22 kB / 378.6 MB, free: 6.469 MB / 298.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.1153/2.332, allocations: 33.71 MB / 412.3 MB, free: 9.266 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/2.332, allocations: 8 kB / 412.3 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/2.332, allocations: 111.9 kB / 412.4 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/2.334, allocations: 0.7551 MB / 413.2 MB, free: 8.359 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/2.334, allocations: 8 kB / 413.2 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.817e-05/2.334, allocations: 16 kB / 413.2 MB, free: 8.336 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006456/2.335, allocations: 201.1 kB / 413.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/2.335, allocations: 262.8 kB / 413.6 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/2.335, allocations: 3.938 kB / 413.6 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/2.335, allocations: 3.938 kB / 413.7 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/2.335, allocations: 19.98 kB / 413.7 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/2.338, allocations: 1.131 MB / 414.8 MB, free: 6.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/2.339, allocations: 145.6 kB / 414.9 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000453/2.339, allocations: 205.4 kB / 415.1 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0167/2.356, allocations: 10.72 MB / 425.9 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/2.356, allocations: 34.56 kB / 425.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.146e-06/2.356, allocations: 0 / 425.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001048/2.357, allocations: 343.9 kB / 426.2 MB, free: 9.379 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/2.357, allocations: 81.11 kB / 426.3 MB, free: 9.281 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/2.358, allocations: 0.5972 MB / 426.9 MB, free: 8.668 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/2.358, allocations: 29.64 kB / 426.9 MB, free: 8.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/2.359, allocations: 244.1 kB / 427.2 MB, free: 8.391 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.052e-05/2.359, allocations: 82.84 kB / 427.3 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/2.359, allocations: 3.938 kB / 427.3 MB, free: 8.305 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/2.359, allocations: 318 kB / 427.6 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/2.359, allocations: 56.23 kB / 427.6 MB, free: 7.934 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/2.359, allocations: 130.8 kB / 427.8 MB, free: 7.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/2.36, allocations: 87.66 kB / 427.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/2.36, allocations: 0 / 427.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009415/2.361, allocations: 361.2 kB / 428.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/2.361, allocations: 7.938 kB / 428.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.675e-05/2.361, allocations: 12 kB / 428.2 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/2.361, allocations: 139.1 kB / 428.3 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/2.362, allocations: 35.97 kB / 428.4 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/2.363, allocations: 0.7279 MB / 429.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/2.363, allocations: 27.8 kB / 429.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/2.363, allocations: 12 kB / 429.1 MB, free: 6.34 MB / 330.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.000189/2.364, allocations: 120.6 kB / 429.3 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/2.364, allocations: 102.8 kB / 429.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/2.366, allocations: 438.8 kB / 429.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/2.366, allocations: 0 / 429.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/2.366, allocations: 0 / 429.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/2.366, allocations: 7.984 kB / 429.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/2.367, allocations: 474.7 kB / 430.3 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4e-05/2.367, allocations: 16 kB / 430.3 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/2.367, allocations: 15.98 kB / 430.3 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004907/2.367, allocations: 132.7 kB / 430.4 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/2.367, allocations: 7.984 kB / 430.4 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/2.369, allocations: 0.7353 MB / 431.2 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/2.369, allocations: 0 / 431.2 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009626/2.37, allocations: 444.2 kB / 431.6 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001071/2.371, allocations: 0.8242 MB / 432.4 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/2.371, allocations: 168 kB / 432.6 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/2.371, allocations: 3.906 kB / 432.6 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/2.372, allocations: 7.984 kB / 432.6 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/2.372, allocations: 15.98 kB / 432.6 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/2.372, allocations: 8 kB / 432.6 MB, free: 2.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0009323/2.373, allocations: 470.9 kB / 433.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001878/2.375, allocations: 212 kB / 433.3 MB, free: 2.055 MB / 330.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.0008023/2.375, allocations: 342.2 kB / 433.6 MB, free: 1.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008105/2.376, allocations: 251.1 kB / 433.9 MB, free: 1.477 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/2.376, allocations: 0 / 433.9 MB, free: 1.477 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004179/2.377, allocations: 167.7 kB / 434 MB, free: 1.301 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008801/2.378, allocations: 128.1 kB / 434.2 MB, free: 1.176 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/2.38, allocations: 0.8151 MB / 435 MB, free: 336 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007606/2.381, allocations: 1.003 MB / 436 MB, free: 15.3 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/2.381, allocations: 0 / 436 MB, free: 15.3 MB / 346.7 MB