Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",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.695/1.695, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2407/1.936, allocations: 46.83 MB / 249.3 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09689/2.033, allocations: 44.51 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2966/2.329, allocations: 76.19 MB / 370 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/2.33, allocations: 75.52 kB / 370.1 MB, free: 7.023 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.06176/2.392, allocations: 16.2 MB / 386.3 MB, free: 2.277 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/2.392, allocations: 15.56 kB / 386.3 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004958/2.397, allocations: 466.8 kB / 386.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007283/2.397, allocations: 318.7 kB / 387.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/2.398, allocations: 15.41 kB / 387.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/2.398, allocations: 39 kB / 387.2 MB, free: 1.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001694/2.399, allocations: 0.563 MB / 387.7 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/2.401, allocations: 426.5 kB / 388.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/2.401, allocations: 7.891 kB / 388.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.526e-05/2.401, allocations: 0 / 388.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/2.401, allocations: 15.16 kB / 388.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/2.406, allocations: 2.112 MB / 390.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/2.407, allocations: 436.2 kB / 390.7 MB, free: 16.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/2.408, allocations: 172.5 kB / 390.9 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/2.408, allocations: 89.28 kB / 390.9 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/2.408, allocations: 42.56 kB / 391 MB, free: 16.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.296e-06/2.408, allocations: 0 / 391 MB, free: 16.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001695/2.41, allocations: 447.7 kB / 391.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/2.41, allocations: 59.69 kB / 391.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/2.41, allocations: 166.2 kB / 391.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.546e-05/2.41, allocations: 29.7 kB / 391.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/2.41, allocations: 236.8 kB / 391.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/2.41, allocations: 161.5 kB / 392.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/2.41, allocations: 0 / 392.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/2.41, allocations: 336.7 kB / 392.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/2.411, allocations: 136.1 kB / 392.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/2.411, allocations: 254.3 kB / 392.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008236/2.412, allocations: 198.8 kB / 393 MB, free: 15.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/2.412, allocations: 3.719 kB / 393 MB, free: 15.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001908/2.414, allocations: 0.54 MB / 393.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/2.414, allocations: 7.812 kB / 393.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/2.414, allocations: 0 / 393.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005424/2.415, allocations: 100.2 kB / 393.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009322/2.416, allocations: 108.8 kB / 393.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/2.419, allocations: 1.736 MB / 395.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/2.42, allocations: 46.42 kB / 395.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/2.42, allocations: 18.88 kB / 395.5 MB, free: 13.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002055/2.42, allocations: 131.5 kB / 395.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/2.42, allocations: 27.08 kB / 395.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/2.422, allocations: 0.5199 MB / 396.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/2.422, allocations: 7.781 kB / 396.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/2.422, allocations: 3.875 kB / 396.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/2.422, allocations: 0 / 396.2 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/2.425, allocations: 1.093 MB / 397.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/2.425, allocations: 0 / 397.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/2.426, allocations: 83.53 kB / 397.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/2.426, allocations: 81.22 kB / 397.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/2.427, allocations: 10.55 kB / 397.5 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/2.43, allocations: 1.733 MB / 399.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/2.43, allocations: 1.312 kB / 399.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002316/2.432, allocations: 0.7611 MB / 400 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004138/2.436, allocations: 1.753 MB / 401.7 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/2.436, allocations: 114.1 kB / 401.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/2.436, allocations: 4.219 kB / 401.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/2.437, allocations: 13.92 kB / 401.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/2.437, allocations: 24.94 kB / 401.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/2.437, allocations: 21.2 kB / 401.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.00017/2.437, allocations: 125 kB / 402 MB, free: 10.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001863/2.439, allocations: 149.2 kB / 402.2 MB, free: 10.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004244/2.44, allocations: 139.2 kB / 402.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001659/2.441, allocations: 0.5224 MB / 402.8 MB, free: 9.879 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/2.442, allocations: 0 / 402.8 MB, free: 9.879 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009579/2.443, allocations: 337.9 kB / 403.2 MB, free: 9.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/2.443, allocations: 16.33 kB / 403.2 MB, free: 9.742 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/2.448, allocations: 1.056 MB / 404.2 MB, free: 9.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008728/2.449, allocations: 0.8617 MB / 405.1 MB, free: 8.57 MB / 314.7 MB Notification: Performance of SimCode: time 4.719e-06/2.449, allocations: 0 / 405.1 MB, free: 8.57 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat