Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",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.762/1.762, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1728/1.935, allocations: 41.11 MB / 219.3 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/2.041, allocations: 38.75 MB / 258 MB, free: 4.379 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3799/2.421, allocations: 101.8 MB / 359.8 MB, free: 2.652 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005387/2.422, allocations: 84.64 kB / 359.9 MB, free: 2.609 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: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.6456/3.067, allocations: 97.05 MB / 456.9 MB, free: 76.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/3.067, allocations: 11.69 kB / 456.9 MB, free: 76.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004497/3.072, allocations: 0.5167 MB / 457.4 MB, free: 75.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01305/3.085, allocations: 2.518 MB / 460 MB, free: 74.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003893/3.085, allocations: 116.6 kB / 460.1 MB, free: 74.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002049/3.088, allocations: 213.5 kB / 460.3 MB, free: 74.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01819/3.106, allocations: 3.768 MB / 464 MB, free: 73.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02383/3.13, allocations: 4.379 MB / 468.4 MB, free: 71.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002659/3.13, allocations: 15.72 kB / 468.4 MB, free: 71.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001637/3.132, allocations: 3.938 kB / 468.4 MB, free: 71.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003775/3.132, allocations: 175.3 kB / 468.6 MB, free: 71.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06147/3.194, allocations: 14.3 MB / 482.9 MB, free: 64.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007426/3.201, allocations: 1.643 MB / 484.6 MB, free: 62.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008537/3.21, allocations: 1.988 MB / 486.5 MB, free: 60.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/3.211, allocations: 143.6 kB / 486.7 MB, free: 60.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/3.211, allocations: 57.45 kB / 486.7 MB, free: 60.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 4.879e-06/3.211, allocations: 0 / 486.7 MB, free: 60.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.02904/3.24, allocations: 7.395 MB / 494.1 MB, free: 54.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/3.24, allocations: 73.41 kB / 494.2 MB, free: 53.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00518/3.245, allocations: 1.75 MB / 496 MB, free: 52.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005812/3.246, allocations: 25.7 kB / 496 MB, free: 52.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009334/3.247, allocations: 1.246 MB / 497.2 MB, free: 50.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00176/3.249, allocations: 0.7043 MB / 497.9 MB, free: 50.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005428/3.249, allocations: 0 / 497.9 MB, free: 50.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004115/3.25, allocations: 402.4 kB / 498.3 MB, free: 49.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005711/3.256, allocations: 1.246 MB / 499.6 MB, free: 48.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005966/3.262, allocations: 1.666 MB / 0.4895 GB, free: 46.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00434/3.266, allocations: 1.509 MB / 0.491 GB, free: 45.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.01e-05/3.266, allocations: 4 kB / 0.491 GB, free: 45.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01216/3.278, allocations: 3.791 MB / 0.4947 GB, free: 41.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/3.278, allocations: 8 kB / 0.4947 GB, free: 41.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-05/3.278, allocations: 12 kB / 0.4947 GB, free: 41.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003513/3.282, allocations: 0.7548 MB / 0.4954 GB, free: 40.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004803/3.287, allocations: 0.5227 MB / 0.4959 GB, free: 40.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/3.304, allocations: 8.064 MB / 0.5038 GB, free: 31.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005197/3.309, allocations: 55.94 kB / 0.5039 GB, free: 31.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007652/3.31, allocations: 91.98 kB / 0.504 GB, free: 31.54 MB / 346.7 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 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007348/3.311, allocations: 152.5 kB / 0.5041 GB, free: 31.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/3.312, allocations: 245 kB / 0.5043 GB, free: 31.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/3.328, allocations: 3.54 MB / 0.5078 GB, free: 27.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.262e-05/3.328, allocations: 20 kB / 0.5078 GB, free: 27.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-05/3.328, allocations: 8 kB / 0.5078 GB, free: 27.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.587e-05/3.328, allocations: 15.95 kB / 0.5078 GB, free: 27.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02407/3.352, allocations: 7.372 MB / 0.515 GB, free: 20.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-05/3.352, allocations: 4 kB / 0.515 GB, free: 20.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005132/3.357, allocations: 395.8 kB / 0.5154 GB, free: 19.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005707/3.363, allocations: 0.8073 MB / 0.5162 GB, free: 18.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007472/3.364, allocations: 27.97 kB / 0.5162 GB, free: 18.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/3.385, allocations: 9.495 MB / 0.5255 GB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/3.385, allocations: 7.938 kB / 0.5255 GB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01845/3.403, allocations: 5.631 MB / 0.531 GB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1855/3.589, allocations: 7.969 MB / 0.5388 GB, free: 102 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003127/3.592, allocations: 0.611 MB / 0.5394 GB, free: 101.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/3.593, allocations: 22.41 kB / 0.5394 GB, free: 101.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003598/3.597, allocations: 79.42 kB / 0.5395 GB, free: 101.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006264/3.597, allocations: 136.3 kB / 0.5396 GB, free: 101.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003499/3.598, allocations: 67.92 kB / 0.5397 GB, free: 101.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.004337/3.602, allocations: 1.318 MB / 0.541 GB, free: 101.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007698/3.61, allocations: 0.7319 MB / 0.5417 GB, free: 101.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001293/3.611, allocations: 342.5 kB / 0.542 GB, free: 101.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0123/3.624, allocations: 3.647 MB / 0.5456 GB, free: 101.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.708e-05/3.624, allocations: 0 / 0.5456 GB, free: 101.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008082/3.632, allocations: 2.292 MB / 0.5478 GB, free: 100.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006746/3.639, allocations: 0.5049 MB / 0.5483 GB, free: 100.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02748/3.666, allocations: 6.429 MB / 0.5546 GB, free: 99.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007107/3.673, allocations: 3.014 MB / 0.5575 GB, free: 98.64 MB / 346.7 MB Notification: Performance of SimCode: time 2.194e-06/3.673, allocations: 0 / 0.5575 GB, free: 98.64 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat