Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_1_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.767/1.767, allocations: 171.2 MB / 178.1 MB, free: 8.309 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1783/1.945, allocations: 41.11 MB / 219.3 MB, free: 11.21 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/2.044, allocations: 38.77 MB / 258 MB, free: 4.379 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3452/2.389, allocations: 69.64 MB / 327.7 MB, free: 2.496 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/2.389, allocations: 80.89 kB / 327.7 MB, free: 2.453 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.05066/2.44, allocations: 12.49 MB / 340.2 MB, free: 8.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/2.44, allocations: 12 kB / 340.2 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/2.44, allocations: 54.52 kB / 340.3 MB, free: 8.406 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/2.441, allocations: 256 kB / 340.5 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/2.441, allocations: 12 kB / 340.6 MB, free: 8.137 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.934e-05/2.441, allocations: 31.91 kB / 340.6 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000771/2.442, allocations: 232.2 kB / 340.8 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008396/2.443, allocations: 266.1 kB / 341.1 MB, free: 7.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/2.443, allocations: 3.984 kB / 341.1 MB, free: 7.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/2.443, allocations: 4 kB / 341.1 MB, free: 7.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/2.443, allocations: 8 kB / 341.1 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/2.446, allocations: 1.263 MB / 342.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006355/2.447, allocations: 146.3 kB / 342.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/2.447, allocations: 73.58 kB / 342.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/2.447, allocations: 4 kB / 342.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/2.447, allocations: 34.47 kB / 342.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.755e-06/2.447, allocations: 0 / 342.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008402/2.448, allocations: 189.6 kB / 342.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/2.448, allocations: 55.41 kB / 342.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/2.448, allocations: 141.1 kB / 343 MB, free: 6.102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/2.448, allocations: 29.64 kB / 343 MB, free: 6.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/2.449, allocations: 204.8 kB / 343.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.051e-05/2.449, allocations: 50.92 kB / 343.3 MB, free: 5.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/2.449, allocations: 0 / 343.3 MB, free: 5.832 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/2.449, allocations: 330.8 kB / 343.6 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/2.449, allocations: 49.31 kB / 343.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/2.449, allocations: 110.8 kB / 343.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/2.449, allocations: 64.16 kB / 343.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/2.449, allocations: 0 / 343.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001009/2.45, allocations: 255.8 kB / 344.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/2.451, allocations: 4 kB / 344.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/2.451, allocations: 224 / 344.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/2.451, allocations: 86.31 kB / 344.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/2.451, allocations: 39.91 kB / 344.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/2.454, allocations: 1.734 MB / 345.9 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/2.455, allocations: 19.83 kB / 345.9 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/2.455, allocations: 15.88 kB / 346 MB, free: 3.324 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0001317/2.455, allocations: 108.9 kB / 346.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/2.455, allocations: 7.906 kB / 346.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007641/2.456, allocations: 207.8 kB / 346.3 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/2.456, allocations: 11.84 kB / 346.3 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/2.456, allocations: 4 kB / 346.3 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/2.456, allocations: 0 / 346.3 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/2.457, allocations: 272 kB / 346.5 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/2.457, allocations: 4 kB / 346.6 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/2.457, allocations: 19.98 kB / 346.6 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004953/2.458, allocations: 89.5 kB / 346.7 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/2.458, allocations: 0 / 346.7 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/2.461, allocations: 1.731 MB / 348.4 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/2.461, allocations: 0 / 348.4 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009528/2.462, allocations: 354.2 kB / 348.7 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001733/2.463, allocations: 0.7982 MB / 349.5 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/2.464, allocations: 92.91 kB / 349.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/2.464, allocations: 0 / 349.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/2.464, allocations: 16.05 kB / 349.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/2.464, allocations: 7.984 kB / 349.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/2.464, allocations: 6.625 kB / 349.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0001736/2.464, allocations: 117.1 kB / 349.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002472/2.467, allocations: 98.56 kB / 349.9 MB, free: 15.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004139/2.467, allocations: 123.7 kB / 350 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/2.469, allocations: 264.4 kB / 350.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/2.469, allocations: 4.125 kB / 350.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005254/2.469, allocations: 189.2 kB / 350.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/2.47, allocations: 11.3 kB / 350.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/2.471, allocations: 379 kB / 350.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005198/2.472, allocations: 0.7819 MB / 351.6 MB, free: 14.01 MB / 298.7 MB Notification: Performance of SimCode: time 1.333e-06/2.472, allocations: 192 / 351.6 MB, free: 14.01 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat