Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.06e-05, allocations: 8 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/0.0934, allocations: 44.5 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4332/0.5266, allocations: 107.3 MB / 407.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.527, allocations: 85.8 kB / 407.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3614/0.8884, allocations: 93.93 MB / 0.4895 GB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.218e-06/0.8885, allocations: 3.938 kB / 0.4895 GB, free: 15.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003839/0.8888, allocations: 103.9 kB / 0.4896 GB, free: 15.16 MB / 394.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.01284/0.9017, allocations: 3.545 MB / 0.4931 GB, free: 11.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.9018, allocations: 8.031 kB / 0.4931 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001573/0.9034, allocations: 0.5018 MB / 0.4936 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.9056, allocations: 0.5024 MB / 0.4941 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008229/0.9139, allocations: 2.548 MB / 0.4965 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003045/0.9142, allocations: 263 kB / 0.4968 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009801/0.9152, allocations: 351.9 kB / 0.4971 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/0.9285, allocations: 4.844 MB / 0.5019 GB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/0.9287, allocations: 0 / 0.5019 GB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005907/0.9293, allocations: 159.9 kB / 0.502 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000276/0.9296, allocations: 171.1 kB / 0.5022 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.9412, allocations: 3.921 MB / 0.506 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3087/1.25, allocations: 14.94 MB / 0.5206 GB, free: 72.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006825/1.257, allocations: 4.151 MB / 0.5247 GB, free: 70.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004456/1.261, allocations: 1.831 MB / 0.5264 GB, free: 70.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/1.262, allocations: 151.3 kB / 0.5266 GB, free: 70.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/1.262, allocations: 56.75 kB / 0.5266 GB, free: 70.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.98e-06/1.262, allocations: 0 / 0.5266 GB, free: 70.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.02749/1.289, allocations: 8.334 MB / 0.5348 GB, free: 69.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/1.29, allocations: 72.56 kB / 0.5348 GB, free: 69.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004596/1.294, allocations: 2.186 MB / 0.537 GB, free: 69.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000455/1.295, allocations: 62.55 kB / 0.537 GB, free: 69.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/1.296, allocations: 1.484 MB / 0.5385 GB, free: 69.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008164/1.297, allocations: 0.7383 MB / 0.5392 GB, free: 68.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/1.297, allocations: 41.12 kB / 0.5392 GB, free: 68.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/1.297, allocations: 404.4 kB / 0.5396 GB, free: 68.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/1.3, allocations: 1.238 MB / 0.5408 GB, free: 68.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002848/1.302, allocations: 1.665 MB / 0.5425 GB, free: 67.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003035/1.305, allocations: 1.489 MB / 0.5439 GB, free: 67.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/1.306, allocations: 7.359 kB / 0.5439 GB, free: 67.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008616/1.314, allocations: 3.733 MB / 0.5476 GB, free: 67.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.314, allocations: 15.41 kB / 0.5476 GB, free: 67.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-05/1.314, allocations: 9.094 kB / 0.5476 GB, free: 67.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002967/1.317, allocations: 0.7583 MB / 0.5483 GB, free: 67.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/1.321, allocations: 0.5279 MB / 0.5489 GB, free: 67.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/1.334, allocations: 8.706 MB / 0.5574 GB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/1.337, allocations: 117.5 kB / 0.5575 GB, free: 63.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/1.338, allocations: 90.86 kB / 0.5576 GB, free: 63.73 MB / 410.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.0006004/1.338, allocations: 235.5 kB / 0.5578 GB, free: 63.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006394/1.339, allocations: 286.2 kB / 0.5581 GB, free: 63.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008735/1.348, allocations: 3.633 MB / 0.5616 GB, free: 63.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/1.348, allocations: 27.91 kB / 0.5616 GB, free: 63.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.348, allocations: 7.156 kB / 0.5616 GB, free: 63.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.596e-05/1.348, allocations: 13.59 kB / 0.5616 GB, free: 63.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01951/1.367, allocations: 7.947 MB / 0.5694 GB, free: 62.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.367, allocations: 0 / 0.5694 GB, free: 62.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003079/1.37, allocations: 397.5 kB / 0.5698 GB, free: 62.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003466/1.374, allocations: 0.8176 MB / 0.5706 GB, free: 62.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002795/1.374, allocations: 57.7 kB / 0.5706 GB, free: 62.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/1.388, allocations: 10.21 MB / 0.5806 GB, free: 54.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.388, allocations: 7.438 kB / 0.5806 GB, free: 54.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/1.4, allocations: 5.605 MB / 0.5861 GB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002266/1.403, allocations: 0.6456 MB / 0.5867 GB, free: 51.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005922/1.403, allocations: 50.03 kB / 0.5868 GB, free: 51.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/1.406, allocations: 126.6 kB / 0.5869 GB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005893/1.406, allocations: 184.9 kB / 0.5871 GB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/1.407, allocations: 62.42 kB / 0.5871 GB, free: 51.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003439/1.41, allocations: 1.677 MB / 0.5888 GB, free: 51.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.41, allocations: 0 / 0.5888 GB, free: 51.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003724/1.414, allocations: 0.8376 MB / 0.5896 GB, free: 51.03 MB / 410.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.01262/1.426, allocations: 7.131 MB / 0.5966 GB, free: 47.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007938/1.434, allocations: 3.777 MB / 0.6002 GB, free: 45.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.434, allocations: 6.125 kB / 0.6002 GB, free: 45.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00527/1.44, allocations: 2.439 MB / 0.6026 GB, free: 44.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005265/1.445, allocations: 0.7367 MB / 0.6033 GB, free: 44.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/1.463, allocations: 7.453 MB / 0.6106 GB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003046/1.466, allocations: 2.79 MB / 0.6133 GB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003107/1.469, allocations: 1.408 MB / 0.6147 GB, free: 39.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/1.469, allocations: 0 / 0.6147 GB, free: 39.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.755/6.225, allocations: 155.3 MB / 0.7664 GB, free: 33.92 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat