Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",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.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2709/2.096, allocations: 46.83 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/2.191, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3083/2.499, allocations: 76.2 MB / 370.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/2.5, allocations: 82.41 kB / 370.2 MB, free: 7.062 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.06737/2.567, allocations: 16.19 MB / 386.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/2.567, allocations: 11.72 kB / 386.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00562/2.573, allocations: 463.7 kB / 386.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006568/2.573, allocations: 315.8 kB / 387.2 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/2.573, allocations: 18.88 kB / 387.2 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/2.574, allocations: 34.97 kB / 387.2 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001761/2.575, allocations: 0.5612 MB / 387.8 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/2.577, allocations: 427.5 kB / 388.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/2.577, allocations: 3.906 kB / 388.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.442e-05/2.577, allocations: 3.906 kB / 388.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/2.577, allocations: 11.81 kB / 388.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005138/2.582, allocations: 2.116 MB / 390.3 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/2.583, allocations: 429.4 kB / 390.7 MB, free: 16.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/2.584, allocations: 183.9 kB / 390.9 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/2.584, allocations: 93.09 kB / 391 MB, free: 16.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/2.584, allocations: 42.81 kB / 391.1 MB, free: 16.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.507e-06/2.584, allocations: 3.938 kB / 391.1 MB, free: 16.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001774/2.586, allocations: 438.3 kB / 391.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/2.586, allocations: 67.44 kB / 391.6 MB, free: 16.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/2.586, allocations: 161 kB / 391.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/2.586, allocations: 25.7 kB / 391.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/2.586, allocations: 236.5 kB / 392 MB, free: 15.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/2.586, allocations: 162 kB / 392.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/2.586, allocations: 0 / 392.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/2.587, allocations: 334.2 kB / 392.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/2.587, allocations: 146.6 kB / 392.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/2.588, allocations: 255.5 kB / 392.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008987/2.589, allocations: 194.6 kB / 393 MB, free: 15.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/2.589, allocations: 0 / 393 MB, free: 15.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00206/2.591, allocations: 0.5378 MB / 393.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/2.591, allocations: 10.06 kB / 393.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/2.591, allocations: 3.906 kB / 393.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005926/2.591, allocations: 97.56 kB / 393.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/2.592, allocations: 103.1 kB / 393.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/2.596, allocations: 1.749 MB / 395.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/2.596, allocations: 39.06 kB / 395.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.928e-05/2.596, allocations: 26.3 kB / 395.6 MB, free: 13.49 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.0001973/2.597, allocations: 120.6 kB / 395.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/2.597, allocations: 23.34 kB / 395.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/2.599, allocations: 0.5293 MB / 396.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/2.599, allocations: 7.781 kB / 396.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/2.599, allocations: 3.938 kB / 396.3 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/2.599, allocations: 7.891 kB / 396.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/2.602, allocations: 1.091 MB / 397.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/2.602, allocations: 0 / 397.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008841/2.603, allocations: 83.86 kB / 397.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005528/2.603, allocations: 82.22 kB / 397.5 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/2.604, allocations: 4.531 kB / 397.5 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003201/2.607, allocations: 1.731 MB / 399.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/2.607, allocations: 1.312 kB / 399.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002429/2.609, allocations: 0.7578 MB / 400 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004262/2.614, allocations: 1.749 MB / 401.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/2.614, allocations: 117.5 kB / 401.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/2.614, allocations: 0 / 401.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005827/2.614, allocations: 19.67 kB / 401.9 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/2.615, allocations: 27.33 kB / 401.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/2.615, allocations: 12.97 kB / 402 MB, free: 10.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001805/2.615, allocations: 133.2 kB / 402.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001986/2.617, allocations: 150.3 kB / 402.2 MB, free: 10.15 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.0003343/2.617, allocations: 140.5 kB / 402.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001565/2.619, allocations: 0.5217 MB / 402.9 MB, free: 9.906 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.619, allocations: 0 / 402.9 MB, free: 9.906 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008836/2.62, allocations: 331 kB / 403.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/2.62, allocations: 24.98 kB / 403.2 MB, free: 9.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/2.625, allocations: 1.054 MB / 404.3 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008912/2.626, allocations: 0.8718 MB / 405.2 MB, free: 8.594 MB / 314.7 MB Notification: Performance of SimCode: time 8.836e-06/2.626, allocations: 0 / 405.2 MB, free: 8.594 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat