Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.167/2.167, allocations: 195 MB / 202.9 MB, free: 6.734 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.692e-05, allocations: 3.219 kB / 249.8 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4732/0.5749, allocations: 93.23 MB / 387.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.5753, allocations: 81.08 kB / 387.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1324/0.7078, allocations: 28.15 MB / 415.8 MB, free: 5.441 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.7078, allocations: 0.6562 kB / 415.8 MB, free: 5.441 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.682e-05/0.7079, allocations: 24 kB / 415.8 MB, free: 5.418 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003249/0.7112, allocations: 1.142 MB / 416.9 MB, free: 4.297 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.7113, allocations: 11.97 kB / 416.9 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.7124, allocations: 194.3 kB / 417.1 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.7149, allocations: 0.8075 MB / 417.9 MB, free: 3.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/0.715, allocations: 28 kB / 418 MB, free: 3.391 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.7152, allocations: 63.5 kB / 418 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001789/0.717, allocations: 0.5392 MB / 418.6 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.7193, allocations: 0.7625 MB / 419.3 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.251e-05/0.7193, allocations: 7.844 kB / 419.3 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.7195, allocations: 0 / 419.3 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.7195, allocations: 24 kB / 419.4 MB, free: 2.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008368/0.7279, allocations: 3.753 MB / 423.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009394/0.7289, allocations: 416.3 kB / 423.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008177/0.7297, allocations: 235.4 kB / 423.7 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.103e-05/0.7298, allocations: 8 kB / 423.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.7298, allocations: 34 kB / 423.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 3.747e-06/0.7299, allocations: 4 kB / 423.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.003466/0.7333, allocations: 1.132 MB / 424.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.7334, allocations: 93.44 kB / 425 MB, free: 13.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.7348, allocations: 0.5952 MB / 425.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.7348, allocations: 25.7 kB / 425.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005476/0.7354, allocations: 0.5728 MB / 426.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.7356, allocations: 163.8 kB / 426.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.7357, allocations: 0 / 426.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.7359, allocations: 389.2 kB / 426.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.7363, allocations: 137.5 kB / 426.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/0.7371, allocations: 432.2 kB / 427.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/0.7377, allocations: 223.6 kB / 427.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.7378, allocations: 4 kB / 427.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002092/0.7399, allocations: 0.6784 MB / 428.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.7399, allocations: 8 kB / 428.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.7399, allocations: 11.98 kB / 428.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005058/0.7405, allocations: 94.59 kB / 428.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.7417, allocations: 160.5 kB / 428.5 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/0.7454, allocations: 2.883 MB / 431.4 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.7465, allocations: 23.89 kB / 431.4 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/0.7466, allocations: 32 kB / 431.4 MB, free: 7.727 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.7469, allocations: 144.5 kB / 431.5 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001341/0.7482, allocations: 444.6 kB / 432 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.7485, allocations: 87.02 kB / 432.1 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.7499, allocations: 454 kB / 432.5 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.75, allocations: 7.938 kB / 432.5 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.75, allocations: 4 kB / 432.5 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.75, allocations: 3.984 kB / 432.5 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004656/0.7547, allocations: 1.28 MB / 433.8 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.7547, allocations: 3.984 kB / 433.8 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008285/0.7556, allocations: 79.91 kB / 433.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004805/0.7561, allocations: 85.88 kB / 434 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.043e-05/0.7562, allocations: 7.984 kB / 434 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003935/0.7601, allocations: 2.869 MB / 436.8 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.596e-05/0.7602, allocations: 7.984 kB / 436.9 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.7631, allocations: 0.821 MB / 437.7 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006071/0.7637, allocations: 192 kB / 437.9 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.764, allocations: 11.95 kB / 437.9 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008838/0.7649, allocations: 24.06 kB / 437.9 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.765, allocations: 35.94 kB / 437.9 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.7651, allocations: 16 kB / 438 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001156/0.7663, allocations: 459.2 kB / 438.4 MB, free: 292 kB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7663, allocations: 0 / 438.4 MB, free: 292 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001678/0.768, allocations: 196 kB / 438.6 MB, free: 96 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00318/0.7712, allocations: 2.025 MB / 440.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.7731, allocations: 0.635 MB / 441.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.7732, allocations: 64 / 441.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.7743, allocations: 426.9 kB / 441.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.7763, allocations: 171.6 kB / 441.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007541/0.7838, allocations: 1.387 MB / 443.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/0.7856, allocations: 1.04 MB / 444.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001609/0.7873, allocations: 98.89 kB / 444.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001745/0.7891, allocations: 383.3 kB / 444.7 MB, free: 9.73 MB / 346.7 MB Notification: Performance of SimCode: time 2.815e-06/0.7892, allocations: 0 / 444.7 MB, free: 9.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1196/0.9087, allocations: 16.63 MB / 461.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004021/0.9092, allocations: 168.5 kB / 461.5 MB, free: 8.961 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.627/4.536, allocations: 0 / 461.5 MB, free: 8.961 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat does not exist to compare? outputFormat=mat