Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.308e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4849/0.5897, allocations: 107.2 MB / 424.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.5901, allocations: 85.89 kB / 424.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2218/0.8119, allocations: 50.15 MB / 474.5 MB, free: 1.742 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.812, allocations: 0 / 474.5 MB, free: 1.742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000322/0.8123, allocations: 67.94 kB / 474.5 MB, free: 1.676 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.009759/0.8221, allocations: 2.487 MB / 477 MB, free: 15.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.8222, allocations: 12.03 kB / 477 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009891/0.8232, allocations: 341.4 kB / 477.4 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.8246, allocations: 336.3 kB / 477.7 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005609/0.8302, allocations: 1.772 MB / 479.5 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.8305, allocations: 180.6 kB / 479.6 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006095/0.8311, allocations: 235.8 kB / 479.9 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008042/0.8391, allocations: 3.009 MB / 482.9 MB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.213e-05/0.8393, allocations: 7.906 kB / 482.9 MB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003704/0.8397, allocations: 92 kB / 483 MB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/0.8398, allocations: 108.6 kB / 483.1 MB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007087/0.8469, allocations: 2.426 MB / 485.5 MB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02713/0.8741, allocations: 9.778 MB / 495.3 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004807/0.879, allocations: 2.15 MB / 497.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00279/0.8818, allocations: 0.9294 MB / 498.4 MB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/0.8824, allocations: 219.9 kB / 498.6 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.8825, allocations: 43.56 kB / 498.6 MB, free: 8.781 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 5.741e-06/0.8825, allocations: 0 / 498.6 MB, free: 8.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=141): time 0.03215/0.9147, allocations: 6.519 MB / 0.4933 GB, free: 2.203 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.9148, allocations: 64.72 kB / 0.4934 GB, free: 2.129 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006248/0.9211, allocations: 1.508 MB / 0.4948 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004878/0.9216, allocations: 45.7 kB / 0.4949 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001899/0.9236, allocations: 1.14 MB / 0.496 GB, free: 15.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001201/0.9248, allocations: 492.9 kB / 0.4965 GB, free: 14.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.9251, allocations: 28 kB / 0.4965 GB, free: 14.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002916/0.9254, allocations: 373.9 kB / 0.4968 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003561/0.929, allocations: 0.8004 MB / 0.4976 GB, free: 13.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004368/0.9334, allocations: 1.169 MB / 0.4988 GB, free: 12.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004107/0.9376, allocations: 0.973 MB / 0.4997 GB, free: 11.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/0.9377, allocations: 0 / 0.4997 GB, free: 11.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.01138/0.9491, allocations: 2.7 MB / 0.5024 GB, free: 8.715 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.9492, allocations: 15.98 kB / 0.5024 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/0.9492, allocations: 12 kB / 0.5024 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002665/0.9519, allocations: 0.585 MB / 0.503 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/0.955, allocations: 363.5 kB / 0.5033 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/0.9684, allocations: 6.319 MB / 0.5095 GB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/0.9712, allocations: 119.8 kB / 0.5096 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000418/0.9716, allocations: 60.12 kB / 0.5096 GB, free: 0.9727 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (172): * Single equations (assignments): 169 * 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: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004963/0.9722, allocations: 204.5 kB / 0.5098 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007057/0.9729, allocations: 189.7 kB / 0.51 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.284/1.257, allocations: 2.516 MB / 0.5125 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.04e-05/1.257, allocations: 14.69 kB / 0.5125 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-05/1.257, allocations: 5.875 kB / 0.5125 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.083e-05/1.257, allocations: 7.5 kB / 0.5125 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/1.274, allocations: 5.256 MB / 0.5176 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/1.274, allocations: 2.219 kB / 0.5176 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/1.277, allocations: 233.2 kB / 0.5179 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003328/1.28, allocations: 0.6412 MB / 0.5185 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004139/1.28, allocations: 34.89 kB / 0.5185 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/1.295, allocations: 8.059 MB / 0.5264 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/1.295, allocations: 5.406 kB / 0.5264 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009343/1.304, allocations: 3.824 MB / 0.5301 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/1.306, allocations: 452.1 kB / 0.5306 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005491/1.306, allocations: 29.38 kB / 0.5306 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002019/1.308, allocations: 99.02 kB / 0.5307 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005473/1.309, allocations: 133.7 kB / 0.5308 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/1.309, allocations: 41.52 kB / 0.5309 GB, free: 107.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002538/1.312, allocations: 1.157 MB / 0.532 GB, free: 107.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.02e-07/1.312, allocations: 0 / 0.532 GB, free: 107.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003127/1.315, allocations: 0.5698 MB / 0.5325 GB, free: 107.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.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 (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01013/1.325, allocations: 5.257 MB / 0.5377 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005966/1.331, allocations: 2.426 MB / 0.54 GB, free: 105.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.331, allocations: 0 / 0.54 GB, free: 105.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004174/1.335, allocations: 1.597 MB / 0.5416 GB, free: 104.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/1.339, allocations: 440.5 kB / 0.542 GB, free: 104.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/1.352, allocations: 4.833 MB / 0.5467 GB, free: 102.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/1.354, allocations: 2.063 MB / 0.5488 GB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002177/1.356, allocations: 432.5 kB / 0.5492 GB, free: 101.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/1.358, allocations: 0.9195 MB / 0.5501 GB, free: 100.9 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/1.358, allocations: 0 / 0.5501 GB, free: 100.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/1.482, allocations: 49.82 MB / 0.5987 GB, free: 72.84 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/1.482, allocations: 202.7 kB / 0.5989 GB, free: 72.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.238/5.72, allocations: 0 / 0.5989 GB, free: 72.61 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat does not exist to compare? outputFormat=mat