Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.829e-05, allocations: 7.984 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.2998, allocations: 44.49 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.4886, allocations: 106.7 MB / 401 MB, free: 7.059 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003579/0.489, allocations: 83.95 kB / 401 MB, free: 6.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6285/1.118, allocations: 92.87 MB / 493.9 MB, free: 56.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.525e-06/1.118, allocations: 0 / 493.9 MB, free: 56.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004241/1.118, allocations: 99.88 kB / 494 MB, free: 56.01 MB / 362.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.01332/1.131, allocations: 3.549 MB / 497.6 MB, free: 52.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/1.132, allocations: 11.97 kB / 497.6 MB, free: 52.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/1.135, allocations: 0.5064 MB / 498.1 MB, free: 51.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008414/1.143, allocations: 2.543 MB / 0.4889 GB, free: 49.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/1.144, allocations: 112 kB / 0.489 GB, free: 49.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001444/1.145, allocations: 215.9 kB / 0.4892 GB, free: 49.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01134/1.156, allocations: 3.696 MB / 0.4928 GB, free: 45.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/1.172, allocations: 4.329 MB / 0.497 GB, free: 40.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/1.172, allocations: 15.78 kB / 0.4971 GB, free: 40.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005256/1.172, allocations: 4 kB / 0.4971 GB, free: 40.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002223/1.173, allocations: 179 kB / 0.4972 GB, free: 40.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03838/1.211, allocations: 14.23 MB / 0.5111 GB, free: 26.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006215/1.217, allocations: 4.065 MB / 0.5151 GB, free: 21.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004104/1.221, allocations: 1.752 MB / 0.5168 GB, free: 20.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005712/1.222, allocations: 151 kB / 0.5169 GB, free: 19.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/1.222, allocations: 56.56 kB / 0.517 GB, free: 19.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=201): time 6.032e-06/1.222, allocations: 0 / 0.517 GB, free: 19.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=221): time 0.02256/1.245, allocations: 7.206 MB / 0.524 GB, free: 12.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/1.245, allocations: 77.34 kB / 0.5241 GB, free: 12.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004172/1.249, allocations: 1.746 MB / 0.5258 GB, free: 10.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005583/1.249, allocations: 25.7 kB / 0.5258 GB, free: 10.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0014/1.251, allocations: 1.613 MB / 0.5274 GB, free: 9.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.252, allocations: 0.6965 MB / 0.5281 GB, free: 8.348 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/1.252, allocations: 0 / 0.5281 GB, free: 8.348 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/1.252, allocations: 406.5 kB / 0.5285 GB, free: 7.945 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002733/1.255, allocations: 1.191 MB / 0.5296 GB, free: 6.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/1.259, allocations: 1.611 MB / 0.5312 GB, free: 4.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003399/1.262, allocations: 1.435 MB / 0.5326 GB, free: 3.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.566e-05/1.262, allocations: 8 kB / 0.5326 GB, free: 3.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01027/1.272, allocations: 3.662 MB / 0.5362 GB, free: 15.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/1.272, allocations: 8 kB / 0.5362 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.561e-05/1.272, allocations: 12 kB / 0.5362 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003381/1.276, allocations: 0.7588 MB / 0.537 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004719/1.281, allocations: 0.5266 MB / 0.5375 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/1.296, allocations: 8.342 MB / 0.5456 GB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003347/1.3, allocations: 75.95 kB / 0.5457 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007046/1.301, allocations: 84 kB / 0.5458 GB, free: 5.668 MB / 378.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.0006867/1.301, allocations: 160.6 kB / 0.5459 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01006/1.311, allocations: 3.215 MB / 0.5491 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001394/1.313, allocations: 245 kB / 0.5493 GB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/1.324, allocations: 3.419 MB / 0.5526 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/1.324, allocations: 20 kB / 0.5527 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/1.324, allocations: 12 kB / 0.5527 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.633e-05/1.324, allocations: 11.95 kB / 0.5527 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02333/1.347, allocations: 7.288 MB / 0.5598 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/1.347, allocations: 4 kB / 0.5598 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003664/1.351, allocations: 399.8 kB / 0.5602 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003906/1.355, allocations: 0.7927 MB / 0.561 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004892/1.355, allocations: 27.97 kB / 0.561 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2912/1.647, allocations: 9.801 MB / 0.5706 GB, free: 82.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/1.647, allocations: 6.109 kB / 0.5706 GB, free: 82.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/1.66, allocations: 5.391 MB / 0.5758 GB, free: 82.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/1.663, allocations: 0.6017 MB / 0.5764 GB, free: 81.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009786/1.664, allocations: 19.27 kB / 0.5764 GB, free: 81.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/1.666, allocations: 90.69 kB / 0.5765 GB, free: 81.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007157/1.667, allocations: 181.6 kB / 0.5767 GB, free: 81.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/1.667, allocations: 65.41 kB / 0.5768 GB, free: 81.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002916/1.67, allocations: 1.316 MB / 0.578 GB, free: 81.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.67, allocations: 0 / 0.578 GB, free: 81.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00455/1.675, allocations: 0.7173 MB / 0.5787 GB, free: 81.8 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.01407/1.689, allocations: 6.896 MB / 0.5855 GB, free: 80 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008681/1.698, allocations: 3.623 MB / 0.589 GB, free: 79.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.698, allocations: 0 / 0.589 GB, free: 79.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005866/1.704, allocations: 2.348 MB / 0.5913 GB, free: 78.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005199/1.709, allocations: 0.5293 MB / 0.5918 GB, free: 78.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/1.732, allocations: 7.255 MB / 0.5989 GB, free: 77.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005025/1.737, allocations: 2.852 MB / 0.6017 GB, free: 76.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003808/1.74, allocations: 0.6284 MB / 0.6023 GB, free: 76.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003609/1.744, allocations: 1.358 MB / 0.6036 GB, free: 76.69 MB / 394.7 MB Notification: Performance of SimCode: time 1.773e-06/1.744, allocations: 2.25 kB / 0.6036 GB, free: 76.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1671/1.911, allocations: 61.84 MB / 0.664 GB, free: 40.88 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/1.912, allocations: 166.6 kB / 0.6642 GB, free: 40.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.163/7.074, allocations: 0 / 0.6642 GB, free: 40.68 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat