Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.816/1.816, allocations: 171.2 MB / 183.3 MB, free: 12.09 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.673e-05/4.689e-05, allocations: 4 kB / 225.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2585, allocations: 38.78 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.4056, allocations: 83.47 MB / 347.3 MB, free: 6.117 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.406, allocations: 79.95 kB / 347.4 MB, free: 6.039 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3545/0.7605, allocations: 23.02 MB / 370.4 MB, free: 82.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.7605, allocations: 0.5312 kB / 370.4 MB, free: 82.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.227e-05/0.7606, allocations: 20.41 kB / 370.5 MB, free: 82.75 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003226/0.7639, allocations: 0.9693 MB / 371.4 MB, free: 82.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.764, allocations: 9.594 kB / 371.4 MB, free: 82.22 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004545/0.7644, allocations: 128.8 kB / 371.6 MB, free: 82.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009716/0.7654, allocations: 146.5 kB / 371.7 MB, free: 82.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.7678, allocations: 0.6823 MB / 372.4 MB, free: 81.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/0.7679, allocations: 61.34 kB / 372.4 MB, free: 81.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.7682, allocations: 80.75 kB / 372.5 MB, free: 81.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.7703, allocations: 0.7415 MB / 373.3 MB, free: 81.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-05/0.7704, allocations: 0 / 373.3 MB, free: 81.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.7705, allocations: 31.53 kB / 373.3 MB, free: 81.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.7705, allocations: 18.5 kB / 373.3 MB, free: 81.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.772, allocations: 484.8 kB / 373.8 MB, free: 81.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00699/0.7791, allocations: 3.46 MB / 377.2 MB, free: 80.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/0.7798, allocations: 208.7 kB / 377.4 MB, free: 80.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.78, allocations: 97.05 kB / 377.5 MB, free: 80.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.7801, allocations: 3.469 kB / 377.5 MB, free: 80.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.7801, allocations: 33.75 kB / 377.6 MB, free: 79.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 4.318e-06/0.7801, allocations: 2.312 kB / 377.6 MB, free: 79.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.002171/0.7823, allocations: 0.8034 MB / 378.4 MB, free: 79.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.7824, allocations: 84.59 kB / 378.5 MB, free: 79.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.7836, allocations: 0.6201 MB / 379.1 MB, free: 79.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/0.7837, allocations: 29.02 kB / 379.1 MB, free: 79.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.7841, allocations: 497.2 kB / 379.6 MB, free: 79.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.7842, allocations: 112.9 kB / 379.7 MB, free: 78.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.7842, allocations: 12.97 kB / 379.7 MB, free: 78.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.7844, allocations: 380.8 kB / 380.1 MB, free: 78.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.7847, allocations: 105.9 kB / 380.2 MB, free: 78.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.7851, allocations: 400.6 kB / 380.6 MB, free: 78.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/0.7856, allocations: 188.9 kB / 380.8 MB, free: 78.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.7856, allocations: 2.25 kB / 380.8 MB, free: 78.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001401/0.787, allocations: 0.5709 MB / 381.3 MB, free: 78.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.7871, allocations: 13.55 kB / 381.4 MB, free: 78.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.7872, allocations: 10.78 kB / 381.4 MB, free: 78.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.7874, allocations: 32.3 kB / 381.4 MB, free: 78.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000857/0.7882, allocations: 143.6 kB / 381.5 MB, free: 78.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.7893, allocations: 1.287 MB / 382.8 MB, free: 76.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009585/0.7903, allocations: 42.98 kB / 382.9 MB, free: 76.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/0.7905, allocations: 32.91 kB / 382.9 MB, free: 76.9 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.7906, allocations: 146.8 kB / 383 MB, free: 76.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.7908, allocations: 74.31 kB / 383.1 MB, free: 76.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007687/0.7916, allocations: 297.5 kB / 383.4 MB, free: 76.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.7917, allocations: 7.75 kB / 383.4 MB, free: 76.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7917, allocations: 0 / 383.4 MB, free: 76.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.7917, allocations: 0 / 383.4 MB, free: 76.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.794, allocations: 1.055 MB / 384.5 MB, free: 76.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/0.794, allocations: 0 / 384.5 MB, free: 76.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.7946, allocations: 62.02 kB / 384.5 MB, free: 76.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/0.7947, allocations: 20.73 kB / 384.6 MB, free: 76.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.7948, allocations: 7.938 kB / 384.6 MB, free: 76.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008988/0.7957, allocations: 1.277 MB / 385.8 MB, free: 74.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.7958, allocations: 0 / 385.8 MB, free: 74.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009953/0.7968, allocations: 0.5894 MB / 386.4 MB, free: 74.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/0.7972, allocations: 170.8 kB / 386.6 MB, free: 74.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.7974, allocations: 11.64 kB / 386.6 MB, free: 74.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.7981, allocations: 27.09 kB / 386.6 MB, free: 74.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.7982, allocations: 26.89 kB / 386.7 MB, free: 74.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.7982, allocations: 7.875 kB / 386.7 MB, free: 74.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008865/0.7991, allocations: 474.7 kB / 387.1 MB, free: 73.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.7992, allocations: 0 / 387.1 MB, free: 73.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001232/0.8004, allocations: 200.4 kB / 387.3 MB, free: 73.91 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001785/0.8022, allocations: 1.784 MB / 389.1 MB, free: 72.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.8033, allocations: 421.1 kB / 389.5 MB, free: 72.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.8034, allocations: 0 / 389.5 MB, free: 72.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.8038, allocations: 221.3 kB / 389.7 MB, free: 72.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.8054, allocations: 165.6 kB / 389.9 MB, free: 72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.8093, allocations: 1.151 MB / 391.1 MB, free: 71.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.8098, allocations: 0.961 MB / 392 MB, free: 70.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006432/0.8105, allocations: 90.73 kB / 392.1 MB, free: 70.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005014/0.811, allocations: 308.6 kB / 392.4 MB, free: 70.39 MB / 314.7 MB Notification: Performance of SimCode: time 1.663e-06/0.811, allocations: 0 / 392.4 MB, free: 70.39 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0647/0.8758, allocations: 16.91 MB / 409.3 MB, free: 60.6 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.876, allocations: 189.3 kB / 409.5 MB, free: 60.37 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.247/4.123, allocations: 7.875 kB / 409.5 MB, free: 60.36 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat does not exist to compare? outputFormat=mat