Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.754/1.754, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.36e-05/5.389e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09081, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5426, allocations: 117.1 MB / 417.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.5429, allocations: 94.03 kB / 417.2 MB, free: 6.801 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7244/1.267, allocations: 117.6 MB / 0.5222 GB, free: 61.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.267, allocations: 0 / 0.5222 GB, free: 61.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005982/1.268, allocations: 141.5 kB / 0.5223 GB, free: 61.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.02207/1.29, allocations: 4.912 MB / 0.5271 GB, free: 60 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/1.29, allocations: 10.61 kB / 0.5271 GB, free: 60 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003131/1.293, allocations: 0.7024 MB / 0.5278 GB, free: 59.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008324/1.302, allocations: 0.9929 MB / 0.5288 GB, free: 59.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01878/1.321, allocations: 4.6 MB / 0.5333 GB, free: 58.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005981/1.321, allocations: 386.1 kB / 0.5337 GB, free: 58.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002405/1.324, allocations: 0.506 MB / 0.5342 GB, free: 58.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02323/1.347, allocations: 6.662 MB / 0.5407 GB, free: 58.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003383/1.347, allocations: 14.67 kB / 0.5407 GB, free: 58.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002238/1.35, allocations: 223.2 kB / 0.5409 GB, free: 58.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003541/1.35, allocations: 224.4 kB / 0.5411 GB, free: 58.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01807/1.368, allocations: 5.369 MB / 0.5463 GB, free: 58.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05797/1.426, allocations: 21.45 MB / 0.5673 GB, free: 53.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/1.438, allocations: 8.628 MB / 0.5757 GB, free: 48.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005844/1.444, allocations: 2.211 MB / 0.5779 GB, free: 47.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01754/1.462, allocations: 6.186 MB / 0.5839 GB, free: 44.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/1.462, allocations: 61.75 kB / 0.584 GB, free: 44.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=220): time 4.529e-06/1.462, allocations: 0 / 0.584 GB, free: 44.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=239): time 0.02941/1.491, allocations: 8.948 MB / 0.5927 GB, free: 40.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/1.491, allocations: 75.09 kB / 0.5928 GB, free: 40.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0065/1.498, allocations: 2.584 MB / 0.5953 GB, free: 39.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000598/1.499, allocations: 65.33 kB / 0.5954 GB, free: 39.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002007/1.501, allocations: 2.303 MB / 0.5976 GB, free: 37.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001072/1.502, allocations: 0.8146 MB / 0.5984 GB, free: 37.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/1.502, allocations: 55.47 kB / 0.5985 GB, free: 37.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/1.502, allocations: 420.7 kB / 0.5989 GB, free: 36.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002928/1.505, allocations: 1.298 MB / 0.6001 GB, free: 36.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/1.509, allocations: 2.032 MB / 0.6021 GB, free: 35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003842/1.513, allocations: 1.647 MB / 0.6037 GB, free: 34.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.383e-05/1.513, allocations: 7.594 kB / 0.6037 GB, free: 34.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01154/1.524, allocations: 4.461 MB / 0.6081 GB, free: 32.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/1.524, allocations: 17.5 kB / 0.6081 GB, free: 32.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.012e-05/1.524, allocations: 26.86 kB / 0.6081 GB, free: 32.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002995/1.527, allocations: 0.7568 MB / 0.6089 GB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004864/1.532, allocations: 0.6422 MB / 0.6095 GB, free: 32.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/1.547, allocations: 13.33 MB / 0.6225 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/1.552, allocations: 158.1 kB / 0.6227 GB, free: 21.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006302/1.552, allocations: 119.5 kB / 0.6228 GB, free: 21.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007165/1.553, allocations: 283.6 kB / 0.6231 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009269/1.554, allocations: 322.6 kB / 0.6234 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/1.564, allocations: 4.114 MB / 0.6274 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/1.565, allocations: 28.39 kB / 0.6274 GB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.137e-05/1.565, allocations: 13.03 kB / 0.6274 GB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-05/1.565, allocations: 15.2 kB / 0.6274 GB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02333/1.588, allocations: 9.021 MB / 0.6362 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/1.588, allocations: 3.406 kB / 0.6363 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/1.591, allocations: 391.5 kB / 0.6366 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004012/1.595, allocations: 0.914 MB / 0.6375 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004913/1.596, allocations: 66.31 kB / 0.6376 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02055/1.616, allocations: 16.48 MB / 0.6537 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/1.617, allocations: 10.44 kB / 0.6537 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/1.632, allocations: 6.273 MB / 0.6598 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002776/1.635, allocations: 0.6994 MB / 0.6605 GB, free: 7.508 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009625/1.636, allocations: 59.52 kB / 0.6606 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003238/1.639, allocations: 148 kB / 0.6607 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000654/1.64, allocations: 197.2 kB / 0.6609 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002621/1.64, allocations: 71.03 kB / 0.6609 GB, free: 7.168 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005191/1.645, allocations: 1.967 MB / 0.6629 GB, free: 5.391 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.493e-06/1.645, allocations: 0 / 0.6629 GB, free: 5.391 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006168/1.651, allocations: 1.015 MB / 0.6639 GB, free: 4.379 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 171 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3225/1.974, allocations: 8.16 MB / 0.6718 GB, free: 66.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01057/1.985, allocations: 4.35 MB / 0.6761 GB, free: 65.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.985, allocations: 1.281 kB / 0.6761 GB, free: 65.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007499/1.992, allocations: 2.916 MB / 0.6789 GB, free: 64.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006958/1.999, allocations: 0.8407 MB / 0.6797 GB, free: 64.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02799/2.027, allocations: 9.642 MB / 0.6892 GB, free: 62.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005385/2.033, allocations: 3.521 MB / 0.6926 GB, free: 61.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004658/2.037, allocations: 0.768 MB / 0.6934 GB, free: 61.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004183/2.042, allocations: 1.948 MB / 0.6953 GB, free: 61.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/2.042, allocations: 0 / 0.6953 GB, free: 61.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2007/2.242, allocations: 87.05 MB / 0.7803 GB, free: 33.19 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/2.243, allocations: 194.7 kB / 0.7804 GB, free: 32.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.466/7.709, allocations: 0 / 0.7804 GB, free: 32.95 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat