Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",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.825/1.825, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2534/2.078, allocations: 46.83 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/2.179, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3357/2.515, allocations: 77.72 MB / 371.6 MB, free: 7.066 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/2.515, allocations: 76.27 kB / 371.7 MB, free: 7.066 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.07473/2.59, allocations: 17.92 MB / 389.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/2.59, allocations: 15.53 kB / 389.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005928/2.596, allocations: 487.7 kB / 390.1 MB, free: 1.141 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008139/2.597, allocations: 355.9 kB / 390.5 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/2.597, allocations: 23.12 kB / 390.5 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/2.597, allocations: 38.69 kB / 390.5 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00202/2.599, allocations: 0.6401 MB / 391.2 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/2.601, allocations: 0.5987 MB / 391.8 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/2.601, allocations: 3.906 kB / 391.8 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/2.601, allocations: 0 / 391.8 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/2.601, allocations: 18.25 kB / 391.8 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006706/2.608, allocations: 2.797 MB / 394.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/2.609, allocations: 443.6 kB / 395 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/2.609, allocations: 187.2 kB / 395.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/2.61, allocations: 97.84 kB / 395.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/2.61, allocations: 39.84 kB / 395.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 3.576e-06/2.61, allocations: 0 / 395.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.002028/2.612, allocations: 469.8 kB / 395.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/2.612, allocations: 82.7 kB / 395.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/2.612, allocations: 197.2 kB / 396.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/2.612, allocations: 25.7 kB / 396.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/2.612, allocations: 287.7 kB / 396.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/2.613, allocations: 168.4 kB / 396.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/2.613, allocations: 4 kB / 396.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/2.613, allocations: 347.7 kB / 396.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/2.613, allocations: 154 kB / 397 MB, free: 13.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007412/2.614, allocations: 346.3 kB / 397.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/2.615, allocations: 237.7 kB / 397.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/2.615, allocations: 1.312 kB / 397.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002503/2.618, allocations: 0.6049 MB / 398.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0011/2.619, allocations: 2.352 MB / 400.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/2.619, allocations: 10.44 kB / 400.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004717/2.62, allocations: 64.45 kB / 400.6 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/2.621, allocations: 128.7 kB / 400.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/2.623, allocations: 1.51 MB / 402.3 MB, free: 9.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009723/2.624, allocations: 66.59 kB / 402.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-05/2.624, allocations: 31.03 kB / 402.4 MB, free: 9.195 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/2.624, allocations: 3.562 kB / 402.4 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002283/2.627, allocations: 0.5415 MB / 402.9 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/2.627, allocations: 5.406 kB / 402.9 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/2.627, allocations: 55.2 kB / 403 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/2.628, allocations: 124.5 kB / 403.1 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/2.63, allocations: 1.444 MB / 404.5 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008537/2.631, allocations: 51.86 kB / 404.6 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.233e-05/2.631, allocations: 30.73 kB / 404.6 MB, free: 7.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002698/2.632, allocations: 123.4 kB / 404.7 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/2.632, allocations: 37.28 kB / 404.8 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/2.634, allocations: 0.5558 MB / 405.3 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001547/2.636, allocations: 448.9 kB / 405.8 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/2.636, allocations: 3.938 kB / 405.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/2.636, allocations: 1.312 kB / 405.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/2.639, allocations: 1.164 MB / 406.9 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/2.639, allocations: 0 / 406.9 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009693/2.64, allocations: 95.45 kB / 407 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003348/2.641, allocations: 49.33 kB / 407.1 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/2.641, allocations: 2.625 kB / 407.1 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/2.643, allocations: 1.509 MB / 408.6 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/2.643, allocations: 0 / 408.6 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002538/2.646, allocations: 0.8066 MB / 409.4 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004673/2.65, allocations: 1.88 MB / 411.3 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/2.651, allocations: 160.8 kB / 411.4 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/2.651, allocations: 1.125 kB / 411.4 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/2.651, allocations: 25.09 kB / 411.5 MB, free: 4.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/2.652, allocations: 27.3 kB / 411.5 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.19e-05/2.652, allocations: 19.75 kB / 411.5 MB, free: 4.395 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002282/2.652, allocations: 145.8 kB / 411.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003729/2.656, allocations: 281 kB / 411.9 MB, free: 4.242 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004155/2.656, allocations: 144.2 kB / 412.1 MB, free: 4.133 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002847/2.659, allocations: 1.01 MB / 413.1 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/2.659, allocations: 0 / 413.1 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008727/2.66, allocations: 334.1 kB / 413.4 MB, free: 3.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/2.66, allocations: 30.75 kB / 413.4 MB, free: 3.648 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/2.666, allocations: 1.2 MB / 414.6 MB, free: 3.195 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009165/2.667, allocations: 0.9075 MB / 415.5 MB, free: 2.406 MB / 314.7 MB Notification: Performance of SimCode: time 1.322e-06/2.667, allocations: 0 / 415.5 MB, free: 2.406 MB / 314.7 MB