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"}) [: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.62/1.62, allocations: 171.2 MB / 178.1 MB, free: 8.289 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2334/1.854, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/1.955, allocations: 38.77 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3349/2.29, allocations: 80.03 MB / 338 MB, free: 8.137 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/2.29, allocations: 68.22 kB / 338.1 MB, free: 8.105 MB / 282.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.1498/2.44, allocations: 33.84 MB / 371.9 MB, free: 11.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/2.44, allocations: 8 kB / 372 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/2.44, allocations: 110.7 kB / 372.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/2.443, allocations: 0.7546 MB / 372.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/2.443, allocations: 8 kB / 372.8 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/2.443, allocations: 12 kB / 372.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008582/2.444, allocations: 213.1 kB / 373 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008365/2.445, allocations: 254.9 kB / 373.3 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/2.445, allocations: 0 / 373.3 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.185e-05/2.445, allocations: 0 / 373.3 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/2.445, allocations: 23.89 kB / 373.3 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005315/2.45, allocations: 1.137 MB / 374.5 MB, free: 8.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/2.451, allocations: 149.6 kB / 374.6 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004964/2.451, allocations: 201.4 kB / 374.8 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02006/2.471, allocations: 10.72 MB / 385.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/2.471, allocations: 34.52 kB / 385.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.707e-06/2.471, allocations: 0 / 385.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001191/2.473, allocations: 341.2 kB / 385.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/2.473, allocations: 77.11 kB / 386 MB, free: 11.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/2.474, allocations: 0.605 MB / 386.6 MB, free: 10.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.143e-05/2.474, allocations: 25.7 kB / 386.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/2.474, allocations: 240.3 kB / 386.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.724e-05/2.475, allocations: 74.84 kB / 386.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/2.475, allocations: 0 / 386.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/2.475, allocations: 325.9 kB / 387.2 MB, free: 10 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/2.475, allocations: 56.23 kB / 387.3 MB, free: 9.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/2.475, allocations: 129.6 kB / 387.4 MB, free: 9.785 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/2.476, allocations: 84.86 kB / 387.5 MB, free: 9.703 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/2.476, allocations: 0 / 387.5 MB, free: 9.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001035/2.477, allocations: 361.1 kB / 387.8 MB, free: 9.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/2.477, allocations: 8 kB / 387.8 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.313e-05/2.477, allocations: 12 kB / 387.9 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/2.478, allocations: 137.1 kB / 388 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/2.478, allocations: 35.91 kB / 388 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/2.479, allocations: 0.7217 MB / 388.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006344/2.48, allocations: 35.73 kB / 388.8 MB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/2.48, allocations: 16 kB / 388.8 MB, free: 8.352 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.0002029/2.48, allocations: 108.9 kB / 388.9 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/2.48, allocations: 102.8 kB / 389 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/2.482, allocations: 447.1 kB / 389.4 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/2.483, allocations: 3.984 kB / 389.4 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/2.483, allocations: 0 / 389.4 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/2.483, allocations: 3.938 kB / 389.4 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/2.484, allocations: 475.1 kB / 389.9 MB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.523e-05/2.484, allocations: 16 kB / 389.9 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/2.484, allocations: 19.97 kB / 389.9 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005292/2.485, allocations: 132.7 kB / 390.1 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/2.485, allocations: 4 kB / 390.1 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/2.486, allocations: 0.7263 MB / 390.8 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/2.486, allocations: 0 / 390.8 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001518/2.488, allocations: 451.8 kB / 391.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001917/2.49, allocations: 0.821 MB / 392.1 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/2.49, allocations: 171.9 kB / 392.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/2.491, allocations: 3.984 kB / 392.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/2.491, allocations: 11.89 kB / 392.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/2.491, allocations: 11.98 kB / 392.3 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/2.491, allocations: 8 kB / 392.3 MB, free: 4.734 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001185/2.493, allocations: 474.9 kB / 392.7 MB, free: 4.262 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00286/2.496, allocations: 215.7 kB / 392.9 MB, free: 4.051 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.001254/2.497, allocations: 346.5 kB / 393.3 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/2.498, allocations: 250.2 kB / 393.5 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/2.498, allocations: 0 / 393.5 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000468/2.498, allocations: 167.7 kB / 393.7 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/2.5, allocations: 116.2 kB / 393.8 MB, free: 3.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/2.503, allocations: 0.8229 MB / 394.6 MB, free: 2.301 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008791/2.504, allocations: 1.007 MB / 395.6 MB, free: 1.266 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/2.504, allocations: 0 / 395.6 MB, free: 1.266 MB / 330.7 MB