Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.596e-05, allocations: 4 kB / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 47.57 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.5527, allocations: 93.17 MB / 410.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.5531, allocations: 87.5 kB / 410.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1041/0.6572, allocations: 23.04 MB / 433.3 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6573, allocations: 4 kB / 433.3 MB, free: 7.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.112e-05/0.6574, allocations: 24 kB / 433.4 MB, free: 7.594 MB / 346.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.002412/0.6598, allocations: 0.9661 MB / 434.3 MB, free: 6.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.6598, allocations: 12.03 kB / 434.3 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002299/0.6601, allocations: 129 kB / 434.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007717/0.6609, allocations: 146.7 kB / 434.6 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.6628, allocations: 0.6823 MB / 435.3 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.6629, allocations: 65.44 kB / 435.3 MB, free: 5.773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.6631, allocations: 76.44 kB / 435.4 MB, free: 5.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.6649, allocations: 0.7265 MB / 436.1 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.286e-05/0.665, allocations: 7.891 kB / 436.2 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.6651, allocations: 33.81 kB / 436.2 MB, free: 5.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.6652, allocations: 24 kB / 436.2 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.6665, allocations: 463.3 kB / 436.7 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006889/0.6734, allocations: 3.457 MB / 440.1 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.674, allocations: 213.8 kB / 440.3 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.6743, allocations: 92.3 kB / 440.4 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.6743, allocations: 4 kB / 440.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.6744, allocations: 42.23 kB / 440.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.697e-06/0.6744, allocations: 0 / 440.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.002118/0.6765, allocations: 0.8065 MB / 441.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.6766, allocations: 85.34 kB / 441.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.6779, allocations: 0.6131 MB / 442 MB, free: 356 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.6779, allocations: 29.08 kB / 442 MB, free: 324 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/0.6785, allocations: 0.4944 MB / 442.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.6787, allocations: 114.3 kB / 442.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.6788, allocations: 7.5 kB / 442.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003383/0.6791, allocations: 382.5 kB / 443 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.6794, allocations: 101.8 kB / 443.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.68, allocations: 405.2 kB / 443.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.6805, allocations: 166.3 kB / 443.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.6805, allocations: 4 kB / 443.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001474/0.682, allocations: 0.5498 MB / 444.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.682, allocations: 8 kB / 444.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.6821, allocations: 12.06 kB / 444.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.6823, allocations: 36.72 kB / 444.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009136/0.6832, allocations: 143.6 kB / 444.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.6846, allocations: 1.287 MB / 445.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008473/0.6855, allocations: 39.59 kB / 445.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.6856, allocations: 34.94 kB / 445.7 MB, free: 12.76 MB / 362.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.000174/0.6857, allocations: 144.6 kB / 445.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.6859, allocations: 71.16 kB / 446 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007804/0.6867, allocations: 284.3 kB / 446.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.6867, allocations: 4 kB / 446.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.6867, allocations: 3.953 kB / 446.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6867, allocations: 0 / 446.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.689, allocations: 1.042 MB / 447.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.689, allocations: 0 / 447.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.6896, allocations: 73.48 kB / 447.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.6897, allocations: 19.92 kB / 447.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.6898, allocations: 12.8 kB / 447.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.691, allocations: 1.275 MB / 448.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.6911, allocations: 4 kB / 448.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.6922, allocations: 0.5867 MB / 449.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005196/0.6927, allocations: 168.6 kB / 449.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/0.6931, allocations: 11.89 kB / 449.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/0.695, allocations: 27 kB / 449.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.6952, allocations: 35.39 kB / 449.5 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.6952, allocations: 7.562 kB / 449.5 MB, free: 9.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001513/0.6968, allocations: 476.5 kB / 450 MB, free: 8.867 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6968, allocations: 3.938 kB / 450 MB, free: 8.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002086/0.6989, allocations: 193.8 kB / 450.2 MB, free: 8.691 MB / 362.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.003673/0.7026, allocations: 1.777 MB / 451.9 MB, free: 6.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002023/0.7048, allocations: 397.3 kB / 452.3 MB, free: 6.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.7049, allocations: 6.25 kB / 452.3 MB, free: 6.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.7053, allocations: 218.1 kB / 452.5 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.7068, allocations: 167.3 kB / 452.7 MB, free: 6.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.7104, allocations: 1.165 MB / 453.9 MB, free: 5.184 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008125/0.7113, allocations: 0.953 MB / 454.8 MB, free: 4.199 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006974/0.712, allocations: 94.02 kB / 454.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005864/0.7126, allocations: 306.7 kB / 455.2 MB, free: 3.938 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7126, allocations: 3.938 kB / 455.2 MB, free: 3.934 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0663/0.7789, allocations: 16.87 MB / 472.1 MB, free: 3.133 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002937/0.7793, allocations: 184.3 kB / 472.3 MB, free: 2.906 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.103/3.882, allocations: 0 / 472.3 MB, free: 2.906 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat does not exist to compare? outputFormat=mat