Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CascodeCircuit,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.81/1.81, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2111/2.021, allocations: 46.83 MB / 249.4 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/2.113, allocations: 44.5 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3056/2.419, allocations: 84.67 MB / 378.6 MB, free: 6.059 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/2.419, allocations: 75.27 kB / 378.7 MB, free: 6.047 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.1309/2.55, allocations: 33.72 MB / 412.4 MB, free: 9.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/2.55, allocations: 8 kB / 412.4 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/2.551, allocations: 111.9 kB / 412.5 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/2.553, allocations: 0.7499 MB / 413.2 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/2.553, allocations: 8 kB / 413.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/2.553, allocations: 20 kB / 413.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007191/2.554, allocations: 205.1 kB / 413.5 MB, free: 8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007524/2.554, allocations: 262.8 kB / 413.7 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/2.554, allocations: 0 / 413.7 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/2.554, allocations: 3.938 kB / 413.7 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/2.555, allocations: 11.98 kB / 413.7 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/2.558, allocations: 1.139 MB / 414.9 MB, free: 6.523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/2.558, allocations: 141.7 kB / 415 MB, free: 6.379 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/2.559, allocations: 209.4 kB / 415.2 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01878/2.577, allocations: 10.72 MB / 425.9 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/2.578, allocations: 34.56 kB / 426 MB, free: 9.586 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.186e-06/2.578, allocations: 0 / 426 MB, free: 9.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001136/2.579, allocations: 329.1 kB / 426.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/2.579, allocations: 89.11 kB / 426.4 MB, free: 9.152 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/2.58, allocations: 0.5933 MB / 427 MB, free: 8.539 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/2.58, allocations: 29.69 kB / 427 MB, free: 8.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/2.58, allocations: 248.1 kB / 427.3 MB, free: 8.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/2.581, allocations: 82.8 kB / 427.3 MB, free: 8.176 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/2.581, allocations: 3.938 kB / 427.3 MB, free: 8.172 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/2.581, allocations: 314 kB / 427.6 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/2.581, allocations: 56.23 kB / 427.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/2.581, allocations: 134.8 kB / 427.8 MB, free: 7.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/2.582, allocations: 79.8 kB / 427.9 MB, free: 7.562 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/2.582, allocations: 0 / 427.9 MB, free: 7.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001085/2.583, allocations: 361.2 kB / 428.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/2.583, allocations: 8.219 kB / 428.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.468e-05/2.583, allocations: 19.98 kB / 428.3 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/2.583, allocations: 128.8 kB / 428.4 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/2.584, allocations: 39.92 kB / 428.5 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/2.585, allocations: 0.7357 MB / 429.2 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/2.586, allocations: 19.75 kB / 429.2 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/2.586, allocations: 12 kB / 429.2 MB, free: 6.211 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.0001963/2.586, allocations: 120.8 kB / 429.3 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/2.586, allocations: 106.8 kB / 429.4 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/2.588, allocations: 446.9 kB / 429.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/2.588, allocations: 0 / 429.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/2.588, allocations: 0 / 429.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/2.588, allocations: 7.984 kB / 429.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/2.589, allocations: 474.9 kB / 430.3 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.613e-05/2.589, allocations: 15.98 kB / 430.4 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/2.59, allocations: 15.98 kB / 430.4 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005645/2.59, allocations: 136.5 kB / 430.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/2.59, allocations: 4 kB / 430.5 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/2.592, allocations: 0.7357 MB / 431.3 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.592, allocations: 0 / 431.3 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00104/2.593, allocations: 436.7 kB / 431.7 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001178/2.594, allocations: 0.8208 MB / 432.5 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/2.594, allocations: 164 kB / 432.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/2.594, allocations: 7.891 kB / 432.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005498/2.595, allocations: 8 kB / 432.7 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/2.595, allocations: 15.98 kB / 432.7 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/2.595, allocations: 8 kB / 432.7 MB, free: 2.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001033/2.596, allocations: 478.8 kB / 433.2 MB, free: 2.121 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001989/2.598, allocations: 215.8 kB / 433.4 MB, free: 1.914 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.000826/2.599, allocations: 325.2 kB / 433.7 MB, free: 1.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008794/2.6, allocations: 251.2 kB / 433.9 MB, free: 1.352 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.6, allocations: 0 / 433.9 MB, free: 1.352 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004881/2.6, allocations: 173.9 kB / 434.1 MB, free: 1.172 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000955/2.601, allocations: 116.7 kB / 434.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/2.604, allocations: 0.819 MB / 435 MB, free: 212 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008608/2.605, allocations: 1.003 MB / 436 MB, free: 15.18 MB / 346.7 MB Notification: Performance of SimCode: time 3.556e-06/2.605, allocations: 0 / 436 MB, free: 15.18 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat