Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_2_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.743/1.743, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2431/1.986, allocations: 46.84 MB / 249.3 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/2.103, allocations: 44.5 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3642/2.467, allocations: 76.19 MB / 370 MB, free: 7.066 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/2.468, allocations: 81.58 kB / 370.1 MB, free: 7.066 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.06437/2.532, allocations: 16.28 MB / 386.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/2.532, allocations: 15.73 kB / 386.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006527/2.539, allocations: 467.8 kB / 386.9 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/2.54, allocations: 321.1 kB / 387.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.209e-05/2.54, allocations: 15.53 kB / 387.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/2.541, allocations: 39.16 kB / 387.2 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003073/2.544, allocations: 0.576 MB / 387.8 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/2.546, allocations: 440.9 kB / 388.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.334e-05/2.546, allocations: 3.906 kB / 388.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/2.547, allocations: 0 / 388.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/2.547, allocations: 19.27 kB / 388.3 MB, free: 1.676 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00995/2.557, allocations: 2.147 MB / 390.4 MB, free: 16.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/2.558, allocations: 420.8 kB / 390.8 MB, free: 16.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005633/2.558, allocations: 227.6 kB / 391.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/2.559, allocations: 98.98 kB / 391.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/2.559, allocations: 41.5 kB / 391.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.938e-06/2.559, allocations: 0 / 391.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001745/2.56, allocations: 437.8 kB / 391.6 MB, free: 16.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/2.56, allocations: 55.72 kB / 391.7 MB, free: 16.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/2.561, allocations: 171.9 kB / 391.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.156e-05/2.561, allocations: 29.55 kB / 391.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/2.561, allocations: 233.4 kB / 392.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/2.561, allocations: 158.4 kB / 392.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/2.561, allocations: 0 / 392.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/2.561, allocations: 341.3 kB / 392.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/2.562, allocations: 140.6 kB / 392.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/2.562, allocations: 268.2 kB / 393 MB, free: 15.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008188/2.563, allocations: 199.4 kB / 393.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/2.563, allocations: 0 / 393.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001933/2.565, allocations: 0.5453 MB / 393.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/2.565, allocations: 8.156 kB / 393.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/2.565, allocations: 7.969 kB / 393.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005328/2.566, allocations: 74.09 kB / 393.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009845/2.567, allocations: 112 kB / 393.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/2.569, allocations: 1.542 MB / 395.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/2.57, allocations: 42.94 kB / 395.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/2.57, allocations: 30.33 kB / 395.5 MB, free: 13.58 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.000205/2.57, allocations: 120 kB / 395.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/2.571, allocations: 31.03 kB / 395.7 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/2.573, allocations: 0.5221 MB / 396.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/2.573, allocations: 11.77 kB / 396.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/2.573, allocations: 3.625 kB / 396.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/2.573, allocations: 3.938 kB / 396.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/2.576, allocations: 1.154 MB / 397.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/2.576, allocations: 1.281 kB / 397.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008672/2.577, allocations: 85.67 kB / 397.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005154/2.577, allocations: 82.09 kB / 397.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/2.577, allocations: 6.656 kB / 397.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/2.58, allocations: 1.538 MB / 399.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/2.58, allocations: 1.281 kB / 399.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00235/2.582, allocations: 0.7962 MB / 399.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00405/2.586, allocations: 1.808 MB / 401.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/2.587, allocations: 109.8 kB / 401.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.891e-05/2.587, allocations: 2.5 kB / 401.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/2.587, allocations: 14.47 kB / 401.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/2.587, allocations: 34.7 kB / 401.8 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/2.587, allocations: 19.14 kB / 401.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000174/2.588, allocations: 123.5 kB / 402 MB, free: 10.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001778/2.589, allocations: 143.5 kB / 402.1 MB, free: 10.2 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.0004284/2.59, allocations: 139.9 kB / 402.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001606/2.591, allocations: 0.5246 MB / 402.8 MB, free: 9.953 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/2.592, allocations: 5.25 kB / 402.8 MB, free: 9.949 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009532/2.592, allocations: 338.4 kB / 403.1 MB, free: 9.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/2.593, allocations: 13.72 kB / 403.1 MB, free: 9.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/2.598, allocations: 1.077 MB / 404.2 MB, free: 9.395 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008009/2.599, allocations: 0.8602 MB / 405.1 MB, free: 8.633 MB / 314.7 MB Notification: Performance of SimCode: time 1.373e-06/2.599, allocations: 0 / 405.1 MB, free: 8.633 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat