Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.59e-05, allocations: 0 / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3084, allocations: 44.5 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2096/0.518, allocations: 120 MB / 414.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/0.5184, allocations: 95.92 kB / 414.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5149/1.033, allocations: 54.31 MB / 468.6 MB, free: 82.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.033, allocations: 0 / 468.6 MB, free: 82.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003388/1.034, allocations: 62.59 kB / 468.7 MB, free: 82.25 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: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.009529/1.043, allocations: 2.555 MB / 471.2 MB, free: 79.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.043, allocations: 8.031 kB / 471.2 MB, free: 79.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/1.046, allocations: 428 kB / 471.7 MB, free: 79.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006172/1.053, allocations: 1.712 MB / 473.4 MB, free: 77.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/1.053, allocations: 79.95 kB / 473.5 MB, free: 77.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/1.054, allocations: 147.9 kB / 473.6 MB, free: 77.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007183/1.061, allocations: 2.212 MB / 475.8 MB, free: 75.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00915/1.07, allocations: 2.591 MB / 478.4 MB, free: 72.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/1.07, allocations: 11.84 kB / 478.4 MB, free: 72.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007088/1.071, allocations: 7.984 kB / 478.4 MB, free: 72.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/1.071, allocations: 96.55 kB / 478.5 MB, free: 72.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02639/1.098, allocations: 9.63 MB / 488.1 MB, free: 62.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004771/1.103, allocations: 2.646 MB / 490.8 MB, free: 59.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002634/1.105, allocations: 1.089 MB / 491.9 MB, free: 58.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005254/1.106, allocations: 134.3 kB / 492 MB, free: 58.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/1.106, allocations: 52.2 kB / 492.1 MB, free: 58.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=151): time 5.65e-06/1.106, allocations: 0 / 492.1 MB, free: 58.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=174): time 0.01883/1.125, allocations: 5.743 MB / 497.8 MB, free: 52.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/1.125, allocations: 176.2 kB / 498 MB, free: 52.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/1.128, allocations: 1.315 MB / 499.3 MB, free: 50.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004515/1.129, allocations: 29.7 kB / 499.3 MB, free: 50.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009817/1.13, allocations: 1.086 MB / 0.4887 GB, free: 49.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008418/1.13, allocations: 0.5658 MB / 0.4892 GB, free: 49.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/1.131, allocations: 0 / 0.4892 GB, free: 49.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/1.131, allocations: 386.7 kB / 0.4896 GB, free: 48.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/1.133, allocations: 0.8473 MB / 0.4904 GB, free: 47.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/1.135, allocations: 1.265 MB / 0.4917 GB, free: 46.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/1.138, allocations: 1.036 MB / 0.4927 GB, free: 45.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.391e-05/1.138, allocations: 7.938 kB / 0.4927 GB, free: 45.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.008303/1.147, allocations: 2.916 MB / 0.4955 GB, free: 42.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009744/1.148, allocations: 4.533 MB / 0.5 GB, free: 37.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-05/1.148, allocations: 19.98 kB / 0.5 GB, free: 37.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004007/1.152, allocations: 0.9409 MB / 0.5009 GB, free: 36.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/1.155, allocations: 371.4 kB / 0.5012 GB, free: 36.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/1.174, allocations: 11.54 MB / 0.5125 GB, free: 24.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/1.177, allocations: 83.75 kB / 0.5126 GB, free: 24.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005739/1.177, allocations: 72.06 kB / 0.5127 GB, free: 24.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.177, allocations: 4 kB / 0.5127 GB, free: 24.18 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008006/1.185, allocations: 2.784 MB / 0.5154 GB, free: 21.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/1.185, allocations: 15.94 kB / 0.5154 GB, free: 21.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003398/1.189, allocations: 0.9304 MB / 0.5163 GB, free: 20.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002718/1.192, allocations: 363.6 kB / 0.5167 GB, free: 20.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0198/1.211, allocations: 11.65 MB / 0.528 GB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/1.213, allocations: 59.91 kB / 0.5281 GB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003903/1.214, allocations: 72 kB / 0.5282 GB, free: 7.824 MB / 362.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 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 182 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005705/1.214, allocations: 156.5 kB / 0.5283 GB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007265/1.222, allocations: 2.592 MB / 0.5308 GB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000974/1.223, allocations: 197.6 kB / 0.531 GB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007615/1.23, allocations: 2.736 MB / 0.5337 GB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-05/1.23, allocations: 16 kB / 0.5337 GB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/1.23, allocations: 8 kB / 0.5337 GB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.339e-05/1.23, allocations: 11.92 kB / 0.5337 GB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/1.247, allocations: 5.359 MB / 0.539 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/1.248, allocations: 0 / 0.539 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/1.25, allocations: 223.7 kB / 0.5392 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006225/1.256, allocations: 1.003 MB / 0.5402 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000555/1.257, allocations: 15.98 kB / 0.5402 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02734/1.284, allocations: 13.19 MB / 0.5531 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/1.284, allocations: 4 kB / 0.5531 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/1.297, allocations: 4.179 MB / 0.5571 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/1.299, allocations: 470.5 kB / 0.5576 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009499/1.3, allocations: 11.98 kB / 0.5576 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/1.303, allocations: 76.08 kB / 0.5577 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008235/1.304, allocations: 141.7 kB / 0.5578 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002073/1.304, allocations: 51.98 kB / 0.5579 GB, free: 8.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002797/1.307, allocations: 0.9827 MB / 0.5588 GB, free: 7.594 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.307, allocations: 0 / 0.5588 GB, free: 7.594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007338/1.314, allocations: 1.023 MB / 0.5598 GB, free: 6.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 109 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01371/1.328, allocations: 5.53 MB / 0.5652 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.3564/1.684, allocations: 5.101 MB / 0.5702 GB, free: 104 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.684, allocations: 1.938 kB / 0.5702 GB, free: 104 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005696/1.69, allocations: 2.003 MB / 0.5722 GB, free: 103.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004329/1.694, allocations: 409.6 kB / 0.5726 GB, free: 103.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.713, allocations: 5.118 MB / 0.5776 GB, free: 102.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003315/1.717, allocations: 2.019 MB / 0.5795 GB, free: 101.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002467/1.719, allocations: 0.974 MB / 0.5805 GB, free: 101.6 MB / 394.7 MB Notification: Performance of SimCode: time 2.044e-06/1.719, allocations: 0 / 0.5805 GB, free: 101.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.259/5.978, allocations: 100.1 MB / 0.6782 GB, free: 26.22 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat does not exist to compare? outputFormat=mat