Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",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.898/1.898, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2409/2.139, allocations: 46.83 MB / 249.4 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/2.235, allocations: 44.51 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3065/2.542, allocations: 76.2 MB / 370.1 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/2.542, allocations: 79.81 kB / 370.2 MB, free: 7.051 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.06856/2.611, allocations: 16.28 MB / 386.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/2.611, allocations: 7.812 kB / 386.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005635/2.617, allocations: 469.6 kB / 386.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007126/2.617, allocations: 316.8 kB / 387.3 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/2.617, allocations: 19.53 kB / 387.3 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/2.618, allocations: 30.97 kB / 387.3 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001772/2.619, allocations: 0.5787 MB / 387.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/2.621, allocations: 438.2 kB / 388.3 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/2.621, allocations: 7.891 kB / 388.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.228e-05/2.621, allocations: 0 / 388.3 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/2.621, allocations: 23.45 kB / 388.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005829/2.627, allocations: 2.153 MB / 390.5 MB, free: 400 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/2.628, allocations: 415.7 kB / 390.9 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000598/2.628, allocations: 231.1 kB / 391.1 MB, free: 336 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/2.629, allocations: 92.95 kB / 391.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/2.629, allocations: 38.38 kB / 391.2 MB, free: 16.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 4.128e-06/2.629, allocations: 0 / 391.2 MB, free: 16.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001827/2.631, allocations: 443 kB / 391.7 MB, free: 16.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/2.631, allocations: 55.78 kB / 391.7 MB, free: 16.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/2.631, allocations: 166.4 kB / 391.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/2.631, allocations: 29.69 kB / 391.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/2.631, allocations: 238 kB / 392.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/2.631, allocations: 154.7 kB / 392.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/2.631, allocations: 0 / 392.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/2.632, allocations: 344.6 kB / 392.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/2.632, allocations: 140.5 kB / 392.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/2.632, allocations: 271.7 kB / 393.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008906/2.633, allocations: 192.5 kB / 393.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/2.633, allocations: 1.312 kB / 393.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002219/2.636, allocations: 0.547 MB / 393.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/2.636, allocations: 7.734 kB / 393.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/2.636, allocations: 3.844 kB / 393.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/2.636, allocations: 77.06 kB / 393.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/2.637, allocations: 117 kB / 394 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/2.641, allocations: 1.541 MB / 395.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/2.642, allocations: 50.44 kB / 395.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/2.642, allocations: 29.3 kB / 395.6 MB, free: 13.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0002015/2.642, allocations: 124.4 kB / 395.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/2.642, allocations: 23.06 kB / 395.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/2.644, allocations: 0.5276 MB / 396.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/2.644, allocations: 3.781 kB / 396.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/2.644, allocations: 0 / 396.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/2.644, allocations: 7.828 kB / 396.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/2.647, allocations: 1.153 MB / 397.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/2.647, allocations: 1.375 kB / 397.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008847/2.648, allocations: 85.25 kB / 397.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005262/2.649, allocations: 78.41 kB / 397.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/2.649, allocations: 10.64 kB / 397.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002685/2.652, allocations: 1.535 MB / 399.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/2.652, allocations: 1.344 kB / 399.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002357/2.654, allocations: 0.7969 MB / 399.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004261/2.658, allocations: 1.807 MB / 401.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/2.659, allocations: 109 kB / 401.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/2.659, allocations: 5.156 kB / 401.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006002/2.659, allocations: 16.05 kB / 401.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/2.659, allocations: 32.05 kB / 401.9 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/2.66, allocations: 13.81 kB / 401.9 MB, free: 10.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001761/2.66, allocations: 128.8 kB / 402.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001842/2.662, allocations: 148.2 kB / 402.2 MB, free: 10.17 MB / 314.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 (46): * Single equations (assignments): 45 * 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.0003484/2.662, allocations: 136.4 kB / 402.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00168/2.664, allocations: 0.5242 MB / 402.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/2.664, allocations: 0 / 402.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009599/2.665, allocations: 341.5 kB / 403.2 MB, free: 9.801 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/2.665, allocations: 22.14 kB / 403.2 MB, free: 9.789 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/2.67, allocations: 1.069 MB / 404.3 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000817/2.671, allocations: 0.8637 MB / 405.1 MB, free: 8.605 MB / 314.7 MB Notification: Performance of SimCode: time 1.273e-06/2.671, allocations: 0 / 405.1 MB, free: 8.605 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.ParallelResonance_res.mat does not exist to compare? outputFormat=mat