Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.759/1.759, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.11e-05, allocations: 4 kB / 225.1 MB, free: 2.605 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2547, allocations: 38.76 MB / 263.9 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.4308, allocations: 102.2 MB / 366.1 MB, free: 3.496 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/0.4311, allocations: 79.95 kB / 366.1 MB, free: 3.418 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.584/1.015, allocations: 94.51 MB / 460.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.287e-06/1.015, allocations: 0 / 460.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004131/1.016, allocations: 99.88 kB / 460.7 MB, free: 14.31 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.01284/1.028, allocations: 3.54 MB / 464.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.029, allocations: 8.031 kB / 464.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001909/1.03, allocations: 0.4939 MB / 464.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/1.034, allocations: 0.5067 MB / 465.3 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00779/1.041, allocations: 2.501 MB / 467.8 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003101/1.042, allocations: 267 kB / 468.1 MB, free: 6.875 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001471/1.043, allocations: 351.9 kB / 468.4 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/1.057, allocations: 4.774 MB / 473.2 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001671/1.058, allocations: 4 kB / 473.2 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008723/1.058, allocations: 156 kB / 473.3 MB, free: 1.449 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002227/1.059, allocations: 178.9 kB / 473.5 MB, free: 1.273 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/1.072, allocations: 3.844 MB / 477.3 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04935/1.121, allocations: 14.89 MB / 492.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008091/1.129, allocations: 4.135 MB / 496.4 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004906/1.134, allocations: 1.831 MB / 498.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005595/1.135, allocations: 143.1 kB / 498.3 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/1.135, allocations: 56.55 kB / 498.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 4.688e-06/1.135, allocations: 0 / 498.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.2734/1.408, allocations: 8.321 MB / 0.4948 GB, free: 55.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/1.408, allocations: 74.47 kB / 0.4949 GB, free: 55.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005084/1.413, allocations: 2.167 MB / 0.497 GB, free: 55.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005299/1.414, allocations: 64.03 kB / 0.4971 GB, free: 55.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001256/1.415, allocations: 1.467 MB / 0.4985 GB, free: 55.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009975/1.416, allocations: 0.7389 MB / 0.4992 GB, free: 55.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/1.416, allocations: 48.84 kB / 0.4993 GB, free: 55.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/1.417, allocations: 399.5 kB / 0.4997 GB, free: 54.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/1.419, allocations: 1.238 MB / 0.5009 GB, free: 54.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003443/1.423, allocations: 1.651 MB / 0.5025 GB, free: 54.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004383/1.427, allocations: 1.49 MB / 0.5039 GB, free: 54.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.123e-05/1.427, allocations: 7.375 kB / 0.504 GB, free: 54.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01551/1.443, allocations: 3.71 MB / 0.5076 GB, free: 54.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/1.443, allocations: 7.594 kB / 0.5076 GB, free: 54.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.67e-05/1.443, allocations: 11.12 kB / 0.5076 GB, free: 54.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004866/1.448, allocations: 0.7505 MB / 0.5083 GB, free: 54.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006134/1.454, allocations: 0.5267 MB / 0.5088 GB, free: 54.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/1.474, allocations: 8.719 MB / 0.5174 GB, free: 50.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004792/1.479, allocations: 115.5 kB / 0.5175 GB, free: 50.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006144/1.48, allocations: 90.17 kB / 0.5176 GB, free: 50.2 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.0006415/1.48, allocations: 230.2 kB / 0.5178 GB, free: 50.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008892/1.481, allocations: 280.9 kB / 0.518 GB, free: 49.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/1.492, allocations: 3.65 MB / 0.5216 GB, free: 49.76 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/1.492, allocations: 18.75 kB / 0.5216 GB, free: 49.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/1.492, allocations: 7.656 kB / 0.5216 GB, free: 49.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.177e-05/1.492, allocations: 13.12 kB / 0.5216 GB, free: 49.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02171/1.514, allocations: 7.927 MB / 0.5294 GB, free: 49.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/1.514, allocations: 0 / 0.5294 GB, free: 49.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003414/1.517, allocations: 396.7 kB / 0.5298 GB, free: 49.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003654/1.521, allocations: 0.8022 MB / 0.5305 GB, free: 49.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004543/1.521, allocations: 58.62 kB / 0.5306 GB, free: 49.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/1.542, allocations: 10.21 MB / 0.5406 GB, free: 41.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.542, allocations: 5.438 kB / 0.5406 GB, free: 41.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01768/1.56, allocations: 5.616 MB / 0.5461 GB, free: 39.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003138/1.563, allocations: 0.6452 MB / 0.5467 GB, free: 38.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0012/1.565, allocations: 50.22 kB / 0.5467 GB, free: 38.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004045/1.569, allocations: 127.6 kB / 0.5469 GB, free: 38.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009141/1.57, allocations: 173.3 kB / 0.547 GB, free: 38.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003367/1.57, allocations: 67.64 kB / 0.5471 GB, free: 38.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005505/1.575, allocations: 1.669 MB / 0.5487 GB, free: 38.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.283e-06/1.576, allocations: 0 / 0.5487 GB, free: 38.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005897/1.581, allocations: 0.835 MB / 0.5495 GB, free: 38.02 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.01975/1.601, allocations: 7.141 MB / 0.5565 GB, free: 34.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008838/1.61, allocations: 3.72 MB / 0.5601 GB, free: 32.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.61, allocations: 0 / 0.5601 GB, free: 32.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005997/1.616, allocations: 2.384 MB / 0.5625 GB, free: 31.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005939/1.622, allocations: 0.7385 MB / 0.5632 GB, free: 31.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/1.643, allocations: 7.417 MB / 0.5704 GB, free: 28.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003351/1.646, allocations: 2.79 MB / 0.5732 GB, free: 26.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003176/1.65, allocations: 1.401 MB / 0.5745 GB, free: 24.97 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/1.65, allocations: 0 / 0.5745 GB, free: 24.97 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.91/6.56, allocations: 154 MB / 0.7249 GB, free: 15.85 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat