Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",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.685/1.685, allocations: 171.2 MB / 178.1 MB, free: 8.301 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2307/1.916, allocations: 41.12 MB / 219.3 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09203/2.008, allocations: 38.76 MB / 258 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3098/2.318, allocations: 69.64 MB / 327.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004457/2.318, allocations: 82.14 kB / 327.7 MB, free: 2.391 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.06281/2.381, allocations: 12.59 MB / 340.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.675e-05/2.381, allocations: 12 kB / 340.3 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009985/2.383, allocations: 59.14 kB / 340.4 MB, free: 8.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/2.383, allocations: 259.3 kB / 340.7 MB, free: 7.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/2.383, allocations: 15.91 kB / 340.7 MB, free: 7.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.752e-05/2.383, allocations: 27.94 kB / 340.7 MB, free: 7.953 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000816/2.384, allocations: 243.9 kB / 340.9 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008102/2.385, allocations: 278.5 kB / 341.2 MB, free: 7.609 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/2.385, allocations: 0 / 341.2 MB, free: 7.609 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/2.385, allocations: 0 / 341.2 MB, free: 7.609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/2.385, allocations: 8 kB / 341.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/2.389, allocations: 1.288 MB / 342.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004888/2.389, allocations: 133.5 kB / 342.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/2.39, allocations: 122.3 kB / 342.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/2.39, allocations: 0 / 342.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.018e-05/2.39, allocations: 34.56 kB / 342.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 3.337e-06/2.39, allocations: 0 / 342.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.00189/2.392, allocations: 192.1 kB / 343 MB, free: 6.148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/2.392, allocations: 55.39 kB / 343 MB, free: 6.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/2.392, allocations: 139.6 kB / 343.2 MB, free: 5.945 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/2.392, allocations: 25.7 kB / 343.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/2.393, allocations: 205.4 kB / 343.4 MB, free: 5.723 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/2.393, allocations: 57.94 kB / 343.4 MB, free: 5.672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/2.393, allocations: 4 kB / 343.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/2.393, allocations: 322.2 kB / 343.8 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/2.393, allocations: 45.31 kB / 343.8 MB, free: 5.324 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/2.393, allocations: 113.6 kB / 343.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/2.393, allocations: 68.33 kB / 344 MB, free: 5.164 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/2.393, allocations: 0 / 344 MB, free: 5.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001465/2.395, allocations: 254.5 kB / 344.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/2.395, allocations: 4 kB / 344.2 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/2.395, allocations: 4 kB / 344.2 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008223/2.396, allocations: 76.09 kB / 344.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/2.396, allocations: 43.59 kB / 344.4 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004342/2.401, allocations: 1.537 MB / 345.9 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/2.401, allocations: 27.8 kB / 345.9 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/2.402, allocations: 8 kB / 345.9 MB, free: 3.297 MB / 282.7 MB 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 (19): * Single equations (assignments): 18 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002112/2.402, allocations: 112.3 kB / 346 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/2.402, allocations: 15.81 kB / 346.1 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/2.403, allocations: 194.8 kB / 346.2 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/2.403, allocations: 11.98 kB / 346.3 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/2.403, allocations: 0 / 346.3 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/2.403, allocations: 0 / 346.3 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/2.405, allocations: 0.5675 MB / 346.8 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/2.405, allocations: 3.938 kB / 346.8 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/2.406, allocations: 31.98 kB / 346.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007087/2.407, allocations: 74.84 kB / 346.9 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/2.407, allocations: 4 kB / 346.9 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003534/2.41, allocations: 1.543 MB / 348.5 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-06/2.41, allocations: 0 / 348.5 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001381/2.412, allocations: 390.8 kB / 348.9 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001832/2.413, allocations: 0.8251 MB / 349.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/2.414, allocations: 85.02 kB / 349.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.291e-05/2.414, allocations: 4 kB / 349.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/2.414, allocations: 15.92 kB / 349.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/2.414, allocations: 15.95 kB / 349.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/2.414, allocations: 6.938 kB / 349.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0001685/2.415, allocations: 110.9 kB / 349.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002494/2.417, allocations: 99.23 kB / 350 MB, free: 15.46 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004023/2.417, allocations: 129.6 kB / 350.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001682/2.419, allocations: 262.6 kB / 350.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/2.419, allocations: 0 / 350.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/2.421, allocations: 202.1 kB / 350.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/2.421, allocations: 16.39 kB / 350.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/2.422, allocations: 390.6 kB / 351 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007474/2.423, allocations: 0.7858 MB / 351.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of SimCode: time 6.001e-06/2.423, allocations: 0 / 351.8 MB, free: 13.73 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat