Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.583/1.583, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.757e-05, allocations: 3.438 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2445, allocations: 38.76 MB / 263.9 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1719/0.4164, allocations: 102.1 MB / 366 MB, free: 3.586 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/0.4168, allocations: 83.94 kB / 366.1 MB, free: 3.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5937/1.01, allocations: 94.36 MB / 460.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.01, allocations: 0 / 460.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004384/1.011, allocations: 99.88 kB / 460.5 MB, free: 14.5 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: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.013/1.024, allocations: 3.537 MB / 464 MB, free: 10.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.024, allocations: 8.031 kB / 464.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001593/1.026, allocations: 0.4978 MB / 464.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/1.028, allocations: 0.5067 MB / 465.1 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007635/1.036, allocations: 2.501 MB / 467.6 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002908/1.036, allocations: 263 kB / 467.8 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/1.037, allocations: 363.8 kB / 468.2 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/1.05, allocations: 4.763 MB / 472.9 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/1.05, allocations: 11.98 kB / 472.9 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005825/1.051, allocations: 156 kB / 473.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002055/1.051, allocations: 171 kB / 473.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/1.063, allocations: 3.84 MB / 477.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04142/1.104, allocations: 14.89 MB / 492 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00744/1.111, allocations: 4.123 MB / 496.1 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004822/1.116, allocations: 1.847 MB / 498 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005121/1.117, allocations: 139 kB / 498.1 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/1.117, allocations: 60.56 kB / 498.2 MB, free: 7.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 4.579e-06/1.117, allocations: 0 / 498.2 MB, free: 7.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.2619/1.379, allocations: 8.316 MB / 0.4946 GB, free: 55.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/1.379, allocations: 77.25 kB / 0.4947 GB, free: 55.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00513/1.384, allocations: 2.161 MB / 0.4968 GB, free: 55.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005117/1.385, allocations: 67.23 kB / 0.4969 GB, free: 55.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/1.386, allocations: 1.473 MB / 0.4983 GB, free: 55.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009935/1.387, allocations: 0.7344 MB / 0.499 GB, free: 55.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/1.387, allocations: 46.12 kB / 0.4991 GB, free: 55.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/1.387, allocations: 405.7 kB / 0.4994 GB, free: 54.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/1.39, allocations: 1.232 MB / 0.5006 GB, free: 54.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003005/1.393, allocations: 1.649 MB / 0.5023 GB, free: 54.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/1.396, allocations: 1.495 MB / 0.5037 GB, free: 54.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/1.396, allocations: 3.688 kB / 0.5037 GB, free: 54.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.009053/1.405, allocations: 3.705 MB / 0.5073 GB, free: 54.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/1.405, allocations: 12 kB / 0.5073 GB, free: 54.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/1.406, allocations: 9.5 kB / 0.5074 GB, free: 54.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/1.409, allocations: 0.7545 MB / 0.5081 GB, free: 54.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004248/1.413, allocations: 0.5222 MB / 0.5086 GB, free: 54.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/1.426, allocations: 8.72 MB / 0.5171 GB, free: 50.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/1.429, allocations: 118.6 kB / 0.5172 GB, free: 50.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003444/1.43, allocations: 84.22 kB / 0.5173 GB, free: 50.09 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.0006136/1.43, allocations: 236.6 kB / 0.5175 GB, free: 49.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007957/1.431, allocations: 276.8 kB / 0.5178 GB, free: 49.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008953/1.44, allocations: 3.642 MB / 0.5214 GB, free: 49.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/1.44, allocations: 22.22 kB / 0.5214 GB, free: 49.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.44, allocations: 7.344 kB / 0.5214 GB, free: 49.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.934e-05/1.44, allocations: 14.17 kB / 0.5214 GB, free: 49.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02041/1.461, allocations: 7.924 MB / 0.5291 GB, free: 49.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/1.461, allocations: 3.406 kB / 0.5291 GB, free: 49.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00331/1.464, allocations: 398.7 kB / 0.5295 GB, free: 49.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003553/1.468, allocations: 0.8002 MB / 0.5303 GB, free: 48.97 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003568/1.468, allocations: 54.62 kB / 0.5304 GB, free: 48.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/1.483, allocations: 10.23 MB / 0.5403 GB, free: 41.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.483, allocations: 7.375 kB / 0.5404 GB, free: 41.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.495, allocations: 5.612 MB / 0.5458 GB, free: 39.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/1.497, allocations: 0.6471 MB / 0.5465 GB, free: 38.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007982/1.498, allocations: 50.2 kB / 0.5465 GB, free: 38.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/1.501, allocations: 124.7 kB / 0.5466 GB, free: 38.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005901/1.501, allocations: 183.1 kB / 0.5468 GB, free: 38.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/1.502, allocations: 62.64 kB / 0.5469 GB, free: 38.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003589/1.505, allocations: 1.664 MB / 0.5485 GB, free: 38.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.21e-07/1.505, allocations: 0 / 0.5485 GB, free: 38.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004099/1.509, allocations: 0.8311 MB / 0.5493 GB, free: 37.93 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.01334/1.523, allocations: 7.144 MB / 0.5563 GB, free: 34.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008371/1.531, allocations: 3.718 MB / 0.5599 GB, free: 32.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.531, allocations: 4 kB / 0.5599 GB, free: 32.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005619/1.537, allocations: 2.383 MB / 0.5622 GB, free: 31.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005716/1.543, allocations: 0.7452 MB / 0.563 GB, free: 31.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/1.562, allocations: 7.411 MB / 0.5702 GB, free: 28.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003134/1.565, allocations: 2.784 MB / 0.5729 GB, free: 26.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003065/1.569, allocations: 1.398 MB / 0.5743 GB, free: 25.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/1.569, allocations: 4 kB / 0.5743 GB, free: 25.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.56/6.129, allocations: 154 MB / 0.7246 GB, free: 15.94 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat