Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.874e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09083, allocations: 44.51 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4396/0.5305, allocations: 88.6 MB / 388.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.5308, allocations: 78.31 kB / 388.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08564/0.6165, allocations: 22.94 MB / 411.6 MB, free: 6.645 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6165, allocations: 0 / 411.6 MB, free: 6.645 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.508e-05/0.6166, allocations: 15.53 kB / 411.6 MB, free: 6.645 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.001901/0.6185, allocations: 0.9806 MB / 412.6 MB, free: 5.934 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6185, allocations: 15.61 kB / 412.6 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001864/0.6187, allocations: 119.2 kB / 412.7 MB, free: 5.875 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006346/0.6194, allocations: 147.9 kB / 412.9 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.6209, allocations: 0.6814 MB / 413.5 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.828e-05/0.6209, allocations: 59.75 kB / 413.6 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.6211, allocations: 78.06 kB / 413.7 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.6228, allocations: 0.7407 MB / 414.4 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.82e-05/0.6229, allocations: 7.75 kB / 414.4 MB, free: 5.207 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.623, allocations: 34.05 kB / 414.5 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.6231, allocations: 19.44 kB / 414.5 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.6243, allocations: 482.6 kB / 414.9 MB, free: 5.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005172/0.6294, allocations: 3.459 MB / 418.4 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.63, allocations: 208.2 kB / 418.6 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.6302, allocations: 96.66 kB / 418.7 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.6303, allocations: 3.875 kB / 418.7 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.6303, allocations: 38.44 kB / 418.7 MB, free: 2.828 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.585e-06/0.6303, allocations: 0 / 418.7 MB, free: 2.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001628/0.632, allocations: 0.8096 MB / 419.6 MB, free: 2.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.632, allocations: 88.23 kB / 419.6 MB, free: 2.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009637/0.633, allocations: 0.6144 MB / 420.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.633, allocations: 32.14 kB / 420.3 MB, free: 2.031 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.6334, allocations: 0.4985 MB / 420.8 MB, free: 1.723 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.602e-05/0.6334, allocations: 102.7 kB / 420.9 MB, free: 1.652 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.6335, allocations: 11.19 kB / 420.9 MB, free: 1.652 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.6336, allocations: 375.7 kB / 421.3 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.6339, allocations: 105.1 kB / 421.4 MB, free: 1.316 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.6343, allocations: 397.4 kB / 421.8 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.6347, allocations: 184.2 kB / 421.9 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.6347, allocations: 3.844 kB / 421.9 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001145/0.6359, allocations: 0.5857 MB / 422.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.6359, allocations: 7.406 kB / 422.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.6359, allocations: 11.59 kB / 422.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.6361, allocations: 28.67 kB / 422.6 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.6369, allocations: 155.6 kB / 422.7 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.638, allocations: 1.288 MB / 424 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007389/0.6388, allocations: 38.89 kB / 424 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.6388, allocations: 27.06 kB / 424.1 MB, free: 15.34 MB / 330.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.000165/0.639, allocations: 149.4 kB / 424.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.6392, allocations: 70.06 kB / 424.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006724/0.6398, allocations: 295.1 kB / 424.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6399, allocations: 0 / 424.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6399, allocations: 3.875 kB / 424.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.6399, allocations: 4.031 kB / 424.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.6418, allocations: 1.049 MB / 425.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.6418, allocations: 0 / 425.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004938/0.6423, allocations: 58.62 kB / 425.7 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.6424, allocations: 27.25 kB / 425.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.6425, allocations: 9.219 kB / 425.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.6436, allocations: 1.271 MB / 427 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.6436, allocations: 3.953 kB / 427 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000897/0.6445, allocations: 0.5759 MB / 427.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/0.6448, allocations: 180.6 kB / 427.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.645, allocations: 11.12 kB / 427.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.6455, allocations: 22.86 kB / 427.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.6456, allocations: 23.28 kB / 427.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.6456, allocations: 11.69 kB / 427.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008128/0.6465, allocations: 478.4 kB / 428.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6465, allocations: 0 / 428.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009583/0.6475, allocations: 197.7 kB / 428.5 MB, free: 12.5 MB / 330.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.001768/0.6492, allocations: 1.797 MB / 430.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009101/0.6502, allocations: 418.9 kB / 430.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6502, allocations: 1.812 kB / 430.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.6506, allocations: 221.8 kB / 430.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.6518, allocations: 174.6 kB / 431.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.655, allocations: 1.154 MB / 432.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.6556, allocations: 0.9593 MB / 433.2 MB, free: 9.219 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005414/0.6562, allocations: 88.27 kB / 433.3 MB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/0.6566, allocations: 308.7 kB / 433.6 MB, free: 9.137 MB / 330.7 MB Notification: Performance of SimCode: time 8.81e-07/0.6566, allocations: 0 / 433.6 MB, free: 9.137 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05345/0.7101, allocations: 16.91 MB / 450.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.7104, allocations: 185.6 kB / 450.7 MB, free: 11 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.215/3.926, allocations: 3.938 kB / 450.7 MB, free: 11 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat does not exist to compare? outputFormat=mat