Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.144/2.144, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.269e-05/5.285e-05, allocations: 4 kB / 269.5 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4829/0.5886, allocations: 113.2 MB / 430.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/0.5891, allocations: 90.02 kB / 430.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2607/0.8498, allocations: 58.39 MB / 488.7 MB, free: 3.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.8498, allocations: 4 kB / 488.7 MB, free: 3.516 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004182/0.8503, allocations: 87.86 kB / 488.8 MB, free: 3.43 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.01152/0.8618, allocations: 2.888 MB / 491.7 MB, free: 488 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.8619, allocations: 11.97 kB / 491.7 MB, free: 476 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001779/0.8637, allocations: 409 kB / 492.1 MB, free: 56 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/0.8659, allocations: 408.1 kB / 492.5 MB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008396/0.8744, allocations: 2.164 MB / 494.7 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/0.8748, allocations: 209.5 kB / 494.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.876, allocations: 287.9 kB / 495.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.8883, allocations: 3.567 MB / 498.7 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001585/0.8885, allocations: 11.98 kB / 498.7 MB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008297/0.8893, allocations: 124 kB / 498.8 MB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002331/0.8896, allocations: 129.5 kB / 499 MB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.9001, allocations: 2.83 MB / 0.49 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03537/0.9355, allocations: 11.69 MB / 0.5014 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004697/0.9403, allocations: 1.934 MB / 0.5033 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/0.9431, allocations: 0.9273 MB / 0.5042 GB, free: 7.133 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/0.9437, allocations: 219.5 kB / 0.5045 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.9437, allocations: 51.88 kB / 0.5045 GB, free: 6.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 4.569e-06/0.9438, allocations: 0 / 0.5045 GB, free: 6.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=149): time 0.03199/0.9758, allocations: 6.359 MB / 0.5107 GB, free: 416 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.9759, allocations: 72.72 kB / 0.5108 GB, free: 332 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3138/1.29, allocations: 1.709 MB / 0.5125 GB, free: 105.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004239/1.29, allocations: 50.27 kB / 0.5125 GB, free: 105.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001688/1.292, allocations: 1.409 MB / 0.5139 GB, free: 105.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009255/1.293, allocations: 0.5085 MB / 0.5144 GB, free: 105.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/1.293, allocations: 41.19 kB / 0.5144 GB, free: 105.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/1.293, allocations: 376.8 kB / 0.5148 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002475/1.296, allocations: 0.853 MB / 0.5156 GB, free: 104.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/1.299, allocations: 1.383 MB / 0.517 GB, free: 104.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/1.302, allocations: 1.095 MB / 0.518 GB, free: 104.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.3e-05/1.302, allocations: 5.062 kB / 0.518 GB, free: 104.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01035/1.313, allocations: 2.94 MB / 0.5209 GB, free: 104 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/1.313, allocations: 16.34 kB / 0.5209 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.508e-05/1.313, allocations: 17.09 kB / 0.5209 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/1.317, allocations: 0.5405 MB / 0.5215 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005569/1.322, allocations: 444.3 kB / 0.5219 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/1.335, allocations: 6.278 MB / 0.528 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/1.339, allocations: 141.1 kB / 0.5281 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005237/1.339, allocations: 78.11 kB / 0.5282 GB, free: 101.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 206 * 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 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00052/1.34, allocations: 220.1 kB / 0.5284 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007069/1.34, allocations: 212.8 kB / 0.5286 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007011/1.347, allocations: 2.616 MB / 0.5312 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/1.347, allocations: 15.72 kB / 0.5312 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.348, allocations: 7.828 kB / 0.5312 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.464e-05/1.348, allocations: 11.34 kB / 0.5312 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/1.364, allocations: 5.701 MB / 0.5368 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.364, allocations: 3.5 kB / 0.5368 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/1.366, allocations: 263.4 kB / 0.537 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002552/1.368, allocations: 0.5836 MB / 0.5376 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/1.369, allocations: 41.38 kB / 0.5377 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/1.381, allocations: 7.983 MB / 0.5455 GB, free: 95.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.381, allocations: 0 / 0.5455 GB, free: 95.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009141/1.39, allocations: 4.031 MB / 0.5494 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/1.392, allocations: 488.3 kB / 0.5499 GB, free: 93.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005785/1.393, allocations: 34.95 kB / 0.5499 GB, free: 93.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002356/1.395, allocations: 97.02 kB / 0.55 GB, free: 93.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004639/1.396, allocations: 117.3 kB / 0.5501 GB, free: 93.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.396, allocations: 43.94 kB / 0.5501 GB, free: 93.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003613/1.399, allocations: 1.306 MB / 0.5514 GB, free: 92.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.41e-07/1.4, allocations: 7.5 kB / 0.5514 GB, free: 92.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003818/1.403, allocations: 0.6125 MB / 0.552 GB, free: 92.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 121 * 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 {(5,76.0%) 20,(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.01196/1.415, allocations: 5.585 MB / 0.5575 GB, free: 89.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006844/1.422, allocations: 2.52 MB / 0.5599 GB, free: 88.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.422, allocations: 0 / 0.5599 GB, free: 88.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00421/1.427, allocations: 1.539 MB / 0.5614 GB, free: 87.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/1.431, allocations: 494.1 kB / 0.5619 GB, free: 87.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/1.448, allocations: 5.377 MB / 0.5672 GB, free: 85.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00353/1.451, allocations: 2.277 MB / 0.5694 GB, free: 84.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002944/1.454, allocations: 0.4943 MB / 0.5699 GB, free: 84.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002801/1.457, allocations: 1.135 MB / 0.571 GB, free: 83.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/1.457, allocations: 4 kB / 0.571 GB, free: 83.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1797/1.637, allocations: 55.61 MB / 0.6253 GB, free: 44.68 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/1.637, allocations: 208 kB / 0.6255 GB, free: 44.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.514/6.151, allocations: 4 kB / 0.6255 GB, free: 44.46 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource_res.mat does not exist to compare? outputFormat=mat