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 1.902/1.902, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.57e-05, allocations: 8 kB / 255.5 MB, free: 3.062 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.09248, allocations: 44.5 MB / 300 MB, free: 6.5 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5095/0.6021, allocations: 120.7 MB / 420.7 MB, free: 4.855 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.6024, allocations: 83.95 kB / 420.7 MB, free: 4.844 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2518/0.8542, allocations: 55.01 MB / 475.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.8543, allocations: 0 / 475.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003708/0.8547, allocations: 71.88 kB / 475.8 MB, free: 8.875 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.01052/0.8652, allocations: 2.559 MB / 478.4 MB, free: 6.285 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.279e-05/0.8653, allocations: 8.031 kB / 478.4 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001622/0.8669, allocations: 337.5 kB / 478.7 MB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/0.8702, allocations: 432.3 kB / 479.1 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006684/0.877, allocations: 1.707 MB / 480.8 MB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/0.8774, allocations: 176.7 kB / 481 MB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001215/0.8786, allocations: 235.9 kB / 481.3 MB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.8895, allocations: 2.907 MB / 484.2 MB, free: 288 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/0.8897, allocations: 11.91 kB / 484.2 MB, free: 276 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009137/0.8907, allocations: 104 kB / 484.3 MB, free: 172 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/0.8909, allocations: 92.55 kB / 484.4 MB, free: 76 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008694/0.8996, allocations: 2.328 MB / 486.7 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03206/0.9317, allocations: 10.08 MB / 496.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006064/0.9378, allocations: 2.696 MB / 499.5 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/0.9409, allocations: 1.101 MB / 0.4888 GB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000602/0.9416, allocations: 138.3 kB / 0.489 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.9417, allocations: 59.8 kB / 0.489 GB, free: 15.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 4.779e-06/0.9417, allocations: 3.938 kB / 0.489 GB, free: 15.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.03201/0.9737, allocations: 7.316 MB / 0.4962 GB, free: 7.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.9739, allocations: 176.2 kB / 0.4963 GB, free: 7.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004668/0.9786, allocations: 1.577 MB / 0.4979 GB, free: 5.938 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000458/0.9791, allocations: 53.7 kB / 0.4979 GB, free: 5.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.9805, allocations: 1.074 MB / 0.499 GB, free: 4.793 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.9816, allocations: 0.5775 MB / 0.4995 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.9819, allocations: 40 kB / 0.4996 GB, free: 4.168 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002701/0.9822, allocations: 394.7 kB / 0.5 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002688/0.9849, allocations: 0.8825 MB / 0.5008 GB, free: 2.891 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003279/0.9882, allocations: 1.301 MB / 0.5021 GB, free: 1.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/0.9914, allocations: 1.083 MB / 0.5032 GB, free: 352 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/0.9915, allocations: 4 kB / 0.5032 GB, free: 348 kB / 394.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01014/1.002, allocations: 3.081 MB / 0.5062 GB, free: 13.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001919/1.004, allocations: 4.532 MB / 0.5106 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.088e-05/1.004, allocations: 12 kB / 0.5106 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004634/1.008, allocations: 0.9604 MB / 0.5115 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/1.012, allocations: 367.4 kB / 0.5119 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3001/1.312, allocations: 11.95 MB / 0.5236 GB, free: 95.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/1.315, allocations: 114.1 kB / 0.5237 GB, free: 95.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005846/1.315, allocations: 73 kB / 0.5237 GB, free: 95.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.315, allocations: 3.188 kB / 0.5237 GB, free: 95.29 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01022/1.326, allocations: 2.999 MB / 0.5267 GB, free: 95.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.68e-05/1.326, allocations: 13.33 kB / 0.5267 GB, free: 95.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004003/1.33, allocations: 0.9534 MB / 0.5276 GB, free: 95.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002975/1.333, allocations: 358.7 kB / 0.528 GB, free: 95.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/1.354, allocations: 12.08 MB / 0.5398 GB, free: 89.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/1.356, allocations: 93.25 kB / 0.5398 GB, free: 89.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004734/1.357, allocations: 74.5 kB / 0.5399 GB, free: 89.85 MB / 410.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.0006912/1.357, allocations: 223.8 kB / 0.5401 GB, free: 89.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007607/1.358, allocations: 212.7 kB / 0.5403 GB, free: 89.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008534/1.367, allocations: 2.918 MB / 0.5432 GB, free: 89.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/1.367, allocations: 18.16 kB / 0.5432 GB, free: 89.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/1.367, allocations: 10.11 kB / 0.5432 GB, free: 89.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.893e-05/1.367, allocations: 11.48 kB / 0.5432 GB, free: 89.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/1.384, allocations: 5.817 MB / 0.5489 GB, free: 89.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/1.384, allocations: 5.578 kB / 0.5489 GB, free: 89.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/1.386, allocations: 216.3 kB / 0.5491 GB, free: 89.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004649/1.391, allocations: 1.031 MB / 0.5501 GB, free: 88.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004918/1.392, allocations: 46.34 kB / 0.5502 GB, free: 88.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03249/1.424, allocations: 13.65 MB / 0.5635 GB, free: 79.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.424, allocations: 6.688 kB / 0.5635 GB, free: 79.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/1.44, allocations: 4.353 MB / 0.5677 GB, free: 78.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002404/1.442, allocations: 490.6 kB / 0.5682 GB, free: 77.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/1.443, allocations: 41.16 kB / 0.5683 GB, free: 77.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003883/1.447, allocations: 103 kB / 0.5684 GB, free: 77.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009598/1.448, allocations: 147.2 kB / 0.5685 GB, free: 77.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000296/1.449, allocations: 53.38 kB / 0.5685 GB, free: 77.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004367/1.453, allocations: 1.208 MB / 0.5697 GB, free: 77.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.132e-06/1.453, allocations: 0 / 0.5697 GB, free: 77.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009636/1.463, allocations: 1.182 MB / 0.5709 GB, free: 77.02 MB / 410.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.01495/1.478, allocations: 5.701 MB / 0.5764 GB, free: 74.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01391/1.492, allocations: 5.248 MB / 0.5816 GB, free: 71.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/1.492, allocations: 3.906 kB / 0.5816 GB, free: 71.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005337/1.497, allocations: 2.036 MB / 0.5836 GB, free: 70.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004525/1.502, allocations: 0.5263 MB / 0.5841 GB, free: 70.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/1.519, allocations: 5.295 MB / 0.5892 GB, free: 68.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/1.522, allocations: 2.013 MB / 0.5912 GB, free: 67.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002288/1.524, allocations: 0.9762 MB / 0.5922 GB, free: 66.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/1.524, allocations: 0 / 0.5922 GB, free: 66.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.683/6.207, allocations: 102.1 MB / 0.6918 GB, free: 92.08 MB / 410.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