Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.729/1.729, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.074e-05, allocations: 0 / 225.1 MB, free: 2.199 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3114, allocations: 38.78 MB / 263.9 MB, free: 9.777 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.4916, allocations: 102.2 MB / 366.1 MB, free: 3.422 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.4919, allocations: 83.95 kB / 366.1 MB, free: 3.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5611/1.053, allocations: 94.51 MB / 460.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.336e-06/1.053, allocations: 0 / 460.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0006196/1.054, allocations: 103.9 kB / 460.7 MB, free: 14.15 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.01718/1.071, allocations: 3.533 MB / 464.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.689e-05/1.071, allocations: 11.97 kB / 464.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002981/1.074, allocations: 0.5016 MB / 464.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004364/1.079, allocations: 0.5067 MB / 465.3 MB, free: 9.523 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/1.09, allocations: 2.494 MB / 467.8 MB, free: 6.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004885/1.091, allocations: 267 kB / 468.1 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/1.093, allocations: 355.9 kB / 468.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/1.112, allocations: 4.815 MB / 473.2 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/1.112, allocations: 7.938 kB / 473.2 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005531/1.112, allocations: 148 kB / 473.4 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002363/1.113, allocations: 175 kB / 473.5 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/1.126, allocations: 3.893 MB / 477.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0425/1.169, allocations: 14.89 MB / 492.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007958/1.177, allocations: 4.157 MB / 496.5 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005332/1.182, allocations: 1.827 MB / 498.3 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006509/1.183, allocations: 151 kB / 498.5 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.936e-05/1.183, allocations: 52.56 kB / 498.5 MB, free: 7.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 4.439e-06/1.183, allocations: 0 / 498.5 MB, free: 7.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.3035/1.486, allocations: 8.331 MB / 0.495 GB, free: 56.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/1.486, allocations: 76 kB / 0.495 GB, free: 55.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004627/1.491, allocations: 2.164 MB / 0.4971 GB, free: 55.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004946/1.492, allocations: 60.14 kB / 0.4972 GB, free: 55.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/1.493, allocations: 1.587 MB / 0.4988 GB, free: 55.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009755/1.494, allocations: 0.7432 MB / 0.4995 GB, free: 55.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/1.494, allocations: 44.72 kB / 0.4995 GB, free: 55.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/1.494, allocations: 395.1 kB / 0.4999 GB, free: 54.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002774/1.497, allocations: 1.238 MB / 0.5011 GB, free: 54.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003034/1.5, allocations: 1.663 MB / 0.5027 GB, free: 54.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003572/1.504, allocations: 1.49 MB / 0.5042 GB, free: 54.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-05/1.504, allocations: 9.625 kB / 0.5042 GB, free: 54.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01052/1.514, allocations: 3.907 MB / 0.508 GB, free: 54.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/1.514, allocations: 10.06 kB / 0.508 GB, free: 54.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/1.514, allocations: 13.44 kB / 0.508 GB, free: 54.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003071/1.518, allocations: 0.7568 MB / 0.5088 GB, free: 54.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004179/1.522, allocations: 0.5244 MB / 0.5093 GB, free: 54.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/1.535, allocations: 8.712 MB / 0.5178 GB, free: 50.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003316/1.538, allocations: 121.6 kB / 0.5179 GB, free: 50.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003827/1.539, allocations: 87.14 kB / 0.518 GB, free: 50.21 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.0005991/1.539, allocations: 237.2 kB / 0.5182 GB, free: 50.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008007/1.54, allocations: 278.8 kB / 0.5185 GB, free: 49.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009054/1.549, allocations: 3.647 MB / 0.522 GB, free: 49.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/1.549, allocations: 20.5 kB / 0.5221 GB, free: 49.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/1.549, allocations: 6.312 kB / 0.5221 GB, free: 49.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-05/1.549, allocations: 14.38 kB / 0.5221 GB, free: 49.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02095/1.57, allocations: 7.932 MB / 0.5298 GB, free: 49.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/1.57, allocations: 3.969 kB / 0.5298 GB, free: 49.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003299/1.574, allocations: 397.1 kB / 0.5302 GB, free: 49.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003494/1.577, allocations: 0.8033 MB / 0.531 GB, free: 49.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000327/1.578, allocations: 52.06 kB / 0.531 GB, free: 49.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/1.593, allocations: 10.22 MB / 0.541 GB, free: 41.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.593, allocations: 3.844 kB / 0.541 GB, free: 41.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/1.605, allocations: 5.613 MB / 0.5465 GB, free: 39.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/1.607, allocations: 0.6501 MB / 0.5471 GB, free: 38.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005732/1.607, allocations: 54.05 kB / 0.5472 GB, free: 38.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/1.61, allocations: 130 kB / 0.5473 GB, free: 38.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005507/1.61, allocations: 176.6 kB / 0.5475 GB, free: 38.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/1.611, allocations: 64.11 kB / 0.5475 GB, free: 38.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003529/1.614, allocations: 1.66 MB / 0.5492 GB, free: 38.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.614, allocations: 0 / 0.5492 GB, free: 38.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004085/1.618, allocations: 0.8335 MB / 0.55 GB, free: 37.94 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.01286/1.631, allocations: 7.14 MB / 0.557 GB, free: 34.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00824/1.639, allocations: 3.776 MB / 0.5606 GB, free: 32.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.639, allocations: 0 / 0.5606 GB, free: 32.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005532/1.645, allocations: 2.432 MB / 0.563 GB, free: 31.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005388/1.65, allocations: 0.7492 MB / 0.5637 GB, free: 31.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/1.671, allocations: 7.486 MB / 0.5711 GB, free: 27.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003527/1.674, allocations: 2.842 MB / 0.5738 GB, free: 25.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0036/1.678, allocations: 0.6807 MB / 0.5745 GB, free: 24.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003148/1.681, allocations: 1.384 MB / 0.5759 GB, free: 23.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.953e-06/1.681, allocations: 4 kB / 0.5759 GB, free: 23.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4914/2.172, allocations: 74.44 MB / 0.6486 GB, free: 62.74 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/2.173, allocations: 202.7 kB / 0.6487 GB, free: 62.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.562/7.734, allocations: 0 / 0.6487 GB, free: 62.52 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat