Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_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.833/1.833, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3106/2.143, allocations: 46.83 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/2.242, allocations: 44.5 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3414/2.583, allocations: 106.6 MB / 400.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/2.584, allocations: 88.53 kB / 400.5 MB, free: 15.22 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.4086/2.993, allocations: 96.46 MB / 497 MB, free: 6.324 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/2.993, allocations: 15.88 kB / 497 MB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003447/2.996, allocations: 0.5024 MB / 497.5 MB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/3.006, allocations: 2.579 MB / 0.4883 GB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002908/3.007, allocations: 112 kB / 0.4885 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001578/3.008, allocations: 215.9 kB / 0.4887 GB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1617/3.17, allocations: 3.788 MB / 0.4924 GB, free: 108.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01497/3.185, allocations: 4.397 MB / 0.4967 GB, free: 107.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001618/3.185, allocations: 11.25 kB / 0.4967 GB, free: 107.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006895/3.186, allocations: 3.656 kB / 0.4967 GB, free: 107.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001927/3.186, allocations: 184.1 kB / 0.4968 GB, free: 107.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04037/3.227, allocations: 14.37 MB / 0.5109 GB, free: 105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004126/3.231, allocations: 1.629 MB / 0.5125 GB, free: 105 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004814/3.236, allocations: 1.987 MB / 0.5144 GB, free: 105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004751/3.236, allocations: 146.5 kB / 0.5145 GB, free: 104.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/3.236, allocations: 58.33 kB / 0.5146 GB, free: 104.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 5.159e-06/3.236, allocations: 0 / 0.5146 GB, free: 104.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.024/3.26, allocations: 7.387 MB / 0.5218 GB, free: 103.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/3.26, allocations: 76.09 kB / 0.5219 GB, free: 103.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004614/3.265, allocations: 1.771 MB / 0.5236 GB, free: 103.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005743/3.266, allocations: 25.7 kB / 0.5236 GB, free: 103.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009404/3.267, allocations: 1.254 MB / 0.5249 GB, free: 103 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001077/3.268, allocations: 0.7097 MB / 0.5256 GB, free: 102.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/3.268, allocations: 0 / 0.5256 GB, free: 102.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/3.268, allocations: 396.8 kB / 0.5259 GB, free: 102.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003082/3.271, allocations: 1.248 MB / 0.5272 GB, free: 102.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003674/3.275, allocations: 1.663 MB / 0.5288 GB, free: 101.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003895/3.279, allocations: 1.508 MB / 0.5303 GB, free: 101.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.531e-05/3.279, allocations: 3.969 kB / 0.5303 GB, free: 101.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01131/3.29, allocations: 3.786 MB / 0.534 GB, free: 101.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/3.29, allocations: 12.97 kB / 0.534 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.464e-05/3.29, allocations: 7.875 kB / 0.534 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/3.294, allocations: 0.7783 MB / 0.5347 GB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00465/3.298, allocations: 0.5225 MB / 0.5352 GB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/3.312, allocations: 8.05 MB / 0.5431 GB, free: 97.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/3.316, allocations: 60.75 kB / 0.5432 GB, free: 97.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006409/3.317, allocations: 89.41 kB / 0.5433 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.0006384/3.317, allocations: 160.4 kB / 0.5434 GB, free: 96.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009095/3.318, allocations: 243.2 kB / 0.5436 GB, free: 96.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/3.329, allocations: 3.541 MB / 0.5471 GB, free: 95.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.41e-05/3.329, allocations: 21.44 kB / 0.5471 GB, free: 95.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-05/3.329, allocations: 6.062 kB / 0.5471 GB, free: 95.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-05/3.329, allocations: 15.2 kB / 0.5471 GB, free: 95.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02257/3.352, allocations: 7.406 MB / 0.5544 GB, free: 92.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/3.352, allocations: 5.281 kB / 0.5544 GB, free: 92.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003819/3.355, allocations: 385.7 kB / 0.5547 GB, free: 92.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004118/3.36, allocations: 0.8072 MB / 0.5555 GB, free: 92.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005654/3.36, allocations: 23.44 kB / 0.5556 GB, free: 92.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01555/3.376, allocations: 9.506 MB / 0.5648 GB, free: 85.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/3.376, allocations: 3.906 kB / 0.5648 GB, free: 85.66 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0138/3.39, allocations: 5.623 MB / 0.5703 GB, free: 83.22 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01973/3.409, allocations: 7.96 MB / 0.5781 GB, free: 79.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002452/3.412, allocations: 0.6083 MB / 0.5787 GB, free: 79.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/3.413, allocations: 21.5 kB / 0.5787 GB, free: 79.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003266/3.416, allocations: 79.23 kB / 0.5788 GB, free: 79.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007682/3.417, allocations: 151.1 kB / 0.5789 GB, free: 79.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002652/3.417, allocations: 61.27 kB / 0.579 GB, free: 79.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.004139/3.422, allocations: 1.331 MB / 0.5803 GB, free: 78.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005079/3.427, allocations: 0.733 MB / 0.581 GB, free: 77.57 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.001101/3.428, allocations: 341.7 kB / 0.5813 GB, free: 77.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008953/3.437, allocations: 3.639 MB / 0.5849 GB, free: 74.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/3.437, allocations: 3.188 kB / 0.5849 GB, free: 74.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005993/3.443, allocations: 2.3 MB / 0.5871 GB, free: 71.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005323/3.448, allocations: 0.5013 MB / 0.5876 GB, free: 71.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/3.469, allocations: 6.459 MB / 0.5939 GB, free: 66.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006502/3.476, allocations: 3.022 MB / 0.5969 GB, free: 63.74 MB / 394.7 MB Notification: Performance of SimCode: time 1.733e-06/3.476, allocations: 0 / 0.5969 GB, free: 63.74 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat