Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",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.658/1.658, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2033/1.861, allocations: 46.83 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/1.957, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3189/2.276, allocations: 106.6 MB / 400.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/2.277, allocations: 82.61 kB / 400.6 MB, free: 15.16 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.4231/2.7, allocations: 96.64 MB / 497.3 MB, free: 6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/2.7, allocations: 11.94 kB / 497.3 MB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/2.703, allocations: 0.5063 MB / 497.8 MB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009841/2.713, allocations: 2.572 MB / 0.4886 GB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/2.713, allocations: 116 kB / 0.4888 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/2.715, allocations: 215.9 kB / 0.489 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1385/2.853, allocations: 3.791 MB / 0.4927 GB, free: 108.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01405/2.868, allocations: 4.4 MB / 0.497 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001421/2.868, allocations: 5.219 kB / 0.497 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005773/2.868, allocations: 8.25 kB / 0.497 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001958/2.869, allocations: 180.6 kB / 0.4971 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03888/2.907, allocations: 14.37 MB / 0.5112 GB, free: 105.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/2.912, allocations: 1.636 MB / 0.5128 GB, free: 105.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004831/2.916, allocations: 1.985 MB / 0.5147 GB, free: 105.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004891/2.917, allocations: 140.8 kB / 0.5149 GB, free: 105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/2.917, allocations: 59.44 kB / 0.5149 GB, free: 105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 4.889e-06/2.917, allocations: 2.734 kB / 0.5149 GB, free: 105 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.02362/2.941, allocations: 7.389 MB / 0.5221 GB, free: 104 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/2.941, allocations: 75.62 kB / 0.5222 GB, free: 103.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004105/2.945, allocations: 1.767 MB / 0.5239 GB, free: 103.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004814/2.945, allocations: 29.2 kB / 0.524 GB, free: 103.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007007/2.946, allocations: 1.252 MB / 0.5252 GB, free: 103.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008495/2.947, allocations: 0.7121 MB / 0.5259 GB, free: 102.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/2.947, allocations: 0 / 0.5259 GB, free: 102.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/2.947, allocations: 398.1 kB / 0.5263 GB, free: 102.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/2.95, allocations: 1.245 MB / 0.5275 GB, free: 102.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003193/2.954, allocations: 1.667 MB / 0.5291 GB, free: 102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/2.957, allocations: 1.508 MB / 0.5306 GB, free: 102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/2.957, allocations: 3.594 kB / 0.5306 GB, free: 102 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01047/2.968, allocations: 3.784 MB / 0.5343 GB, free: 101.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/2.968, allocations: 12.83 kB / 0.5343 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/2.968, allocations: 13.19 kB / 0.5343 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003463/2.971, allocations: 0.7632 MB / 0.535 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00484/2.976, allocations: 0.5344 MB / 0.5356 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/2.991, allocations: 8.04 MB / 0.5434 GB, free: 97.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/2.994, allocations: 62.86 kB / 0.5435 GB, free: 97.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003203/2.995, allocations: 91.31 kB / 0.5436 GB, free: 97.04 MB / 394.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.000598/2.995, allocations: 151.4 kB / 0.5437 GB, free: 96.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007018/2.996, allocations: 251 kB / 0.5439 GB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/3.006, allocations: 3.54 MB / 0.5474 GB, free: 95.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/3.006, allocations: 21.69 kB / 0.5474 GB, free: 95.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/3.006, allocations: 7.469 kB / 0.5474 GB, free: 95.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.857e-05/3.006, allocations: 15.16 kB / 0.5474 GB, free: 95.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02094/3.027, allocations: 7.395 MB / 0.5547 GB, free: 92.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/3.027, allocations: 3.656 kB / 0.5547 GB, free: 92.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003868/3.031, allocations: 391.6 kB / 0.555 GB, free: 92.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004236/3.035, allocations: 0.8094 MB / 0.5558 GB, free: 92.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005003/3.036, allocations: 25.55 kB / 0.5559 GB, free: 92.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/3.052, allocations: 9.5 MB / 0.5651 GB, free: 85.67 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/3.052, allocations: 6.312 kB / 0.5651 GB, free: 85.67 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01333/3.065, allocations: 5.623 MB / 0.5706 GB, free: 83.23 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01905/3.084, allocations: 7.967 MB / 0.5784 GB, free: 79.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002385/3.087, allocations: 0.6078 MB / 0.579 GB, free: 79.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007029/3.087, allocations: 15.42 kB / 0.579 GB, free: 79.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002782/3.09, allocations: 83.88 kB / 0.5791 GB, free: 79.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004615/3.091, allocations: 136.7 kB / 0.5792 GB, free: 79.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/3.091, allocations: 71.28 kB / 0.5793 GB, free: 79.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00298/3.094, allocations: 1.331 MB / 0.5806 GB, free: 77.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004779/3.099, allocations: 0.7312 MB / 0.5813 GB, free: 77.14 MB / 394.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.0008842/3.1, allocations: 343.8 kB / 0.5816 GB, free: 76.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008503/3.108, allocations: 3.636 MB / 0.5852 GB, free: 73.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/3.108, allocations: 0 / 0.5852 GB, free: 73.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00585/3.114, allocations: 2.31 MB / 0.5874 GB, free: 71.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004848/3.119, allocations: 0.5061 MB / 0.5879 GB, free: 71.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/3.139, allocations: 6.445 MB / 0.5942 GB, free: 65.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005625/3.145, allocations: 3.023 MB / 0.5972 GB, free: 63.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.744e-06/3.145, allocations: 8 kB / 0.5972 GB, free: 63.31 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat