Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",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.651/1.651, allocations: 194.9 MB / 202.6 MB, free: 14.27 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2037/1.855, allocations: 46.83 MB / 249.4 MB, free: 14.18 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09069/1.946, allocations: 44.5 MB / 293.9 MB, free: 1.602 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3385/2.284, allocations: 120 MB / 413.9 MB, free: 3.625 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/2.285, allocations: 81.45 kB / 413.9 MB, free: 3.586 MB / 322.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.2437/2.528, allocations: 56.93 MB / 470.9 MB, free: 1.082 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/2.529, allocations: 12 kB / 470.9 MB, free: 1.07 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00261/2.531, allocations: 440 kB / 471.3 MB, free: 0.6367 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005712/2.537, allocations: 1.718 MB / 473 MB, free: 14.86 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/2.537, allocations: 80 kB / 473.1 MB, free: 14.78 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005463/2.538, allocations: 147.9 kB / 473.3 MB, free: 14.64 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007355/2.545, allocations: 2.259 MB / 475.5 MB, free: 12.37 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007549/2.553, allocations: 2.626 MB / 478.1 MB, free: 9.59 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.702e-05/2.553, allocations: 15.78 kB / 478.2 MB, free: 9.574 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003151/2.553, allocations: 4 kB / 478.2 MB, free: 9.57 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/2.553, allocations: 96.55 kB / 478.3 MB, free: 9.473 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02638/2.58, allocations: 9.683 MB / 487.9 MB, free: 15.5 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/2.583, allocations: 1.106 MB / 489 MB, free: 14.38 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003078/2.586, allocations: 1.174 MB / 490.2 MB, free: 13.22 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004362/2.586, allocations: 146.3 kB / 490.4 MB, free: 13.06 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/2.586, allocations: 55.78 kB / 490.4 MB, free: 13 MB / 402.8 MB Notification: Performance of pre-optimization done (n=151): time 4.598e-06/2.587, allocations: 0 / 490.4 MB, free: 13 MB / 402.8 MB Notification: Performance of matching and sorting (n=174): time 0.02009/2.607, allocations: 5.833 MB / 496.2 MB, free: 7.113 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/2.607, allocations: 176.2 kB / 496.4 MB, free: 6.906 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/2.61, allocations: 1.315 MB / 497.7 MB, free: 5.59 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002582/2.61, allocations: 25.7 kB / 497.8 MB, free: 5.559 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007527/2.611, allocations: 0.8783 MB / 498.6 MB, free: 4.66 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000722/2.612, allocations: 0.5697 MB / 499.2 MB, free: 4.082 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/2.612, allocations: 0 / 499.2 MB, free: 4.082 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.000229/2.612, allocations: 381.9 kB / 499.6 MB, free: 3.703 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002481/2.615, allocations: 0.8747 MB / 0.4887 GB, free: 2.828 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002912/2.618, allocations: 1.297 MB / 0.49 GB, free: 1.359 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/2.621, allocations: 1.079 MB / 0.491 GB, free: 288 kB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/2.621, allocations: 4 kB / 0.4911 GB, free: 284 kB / 402.8 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.1382/2.759, allocations: 3.081 MB / 0.4941 GB, free: 139.4 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008803/2.76, allocations: 4.642 MB / 0.4986 GB, free: 134.5 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.083e-05/2.76, allocations: 15.59 kB / 0.4986 GB, free: 134.5 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004386/2.764, allocations: 0.9611 MB / 0.4995 GB, free: 134.5 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/2.767, allocations: 366.4 kB / 0.4999 GB, free: 134.5 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/2.787, allocations: 11.01 MB / 0.5107 GB, free: 129.5 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/2.79, allocations: 55.38 kB / 0.5107 GB, free: 129.5 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/2.79, allocations: 76.66 kB / 0.5108 GB, free: 129.5 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/2.79, allocations: 2.812 kB / 0.5108 GB, free: 129.5 MB / 402.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008052/2.798, allocations: 2.854 MB / 0.5136 GB, free: 129.4 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.792e-05/2.798, allocations: 11.78 kB / 0.5136 GB, free: 129.4 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004096/2.802, allocations: 0.9648 MB / 0.5145 GB, free: 129.3 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/2.805, allocations: 357.6 kB / 0.5149 GB, free: 129.3 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01924/2.824, allocations: 11 MB / 0.5256 GB, free: 124.2 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/2.827, allocations: 46.19 kB / 0.5257 GB, free: 124.2 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/2.827, allocations: 72.06 kB / 0.5257 GB, free: 124.2 MB / 402.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 182 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005207/2.828, allocations: 157.1 kB / 0.5259 GB, free: 124.1 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004631/2.828, allocations: 199.9 kB / 0.5261 GB, free: 124 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007878/2.836, allocations: 2.802 MB / 0.5288 GB, free: 123.9 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/2.836, allocations: 14.81 kB / 0.5288 GB, free: 123.9 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/2.836, allocations: 11.38 kB / 0.5288 GB, free: 123.9 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/2.836, allocations: 7.547 kB / 0.5288 GB, free: 123.9 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/2.851, allocations: 5.406 MB / 0.5341 GB, free: 123.2 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/2.851, allocations: 8.656 kB / 0.5341 GB, free: 123.2 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/2.853, allocations: 215.6 kB / 0.5343 GB, free: 123.2 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004734/2.858, allocations: 1.02 MB / 0.5353 GB, free: 123 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/2.858, allocations: 20.98 kB / 0.5353 GB, free: 123 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02119/2.879, allocations: 12.63 MB / 0.5477 GB, free: 114.3 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/2.88, allocations: 2.719 kB / 0.5477 GB, free: 114.3 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01052/2.89, allocations: 4.31 MB / 0.5519 GB, free: 112.4 MB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01333/2.903, allocations: 6.033 MB / 0.5578 GB, free: 109.7 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/2.905, allocations: 463.6 kB / 0.5582 GB, free: 109.4 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005183/2.906, allocations: 14.33 kB / 0.5582 GB, free: 109.4 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/2.908, allocations: 59.34 kB / 0.5583 GB, free: 109.4 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003636/2.908, allocations: 104.6 kB / 0.5584 GB, free: 109.4 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/2.908, allocations: 52.48 kB / 0.5584 GB, free: 109.3 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.00248/2.911, allocations: 0.9908 MB / 0.5594 GB, free: 108.9 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.006985/2.918, allocations: 1.03 MB / 0.5604 GB, free: 108.1 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 109 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008749/2.919, allocations: 371.8 kB / 0.5608 GB, free: 107.9 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.01181/2.931, allocations: 4.992 MB / 0.5656 GB, free: 103.3 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/2.931, allocations: 0 / 0.5656 GB, free: 103.3 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004794/2.935, allocations: 1.879 MB / 0.5675 GB, free: 101.5 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/2.939, allocations: 395.4 kB / 0.5679 GB, free: 101.2 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/2.954, allocations: 4.728 MB / 0.5725 GB, free: 97.21 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002877/2.957, allocations: 2.139 MB / 0.5746 GB, free: 95.48 MB / 402.8 MB Notification: Performance of SimCode: time 1.263e-06/2.957, allocations: 0 / 0.5746 GB, free: 95.48 MB / 402.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat does not exist to compare? outputFormat=mat