Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.805/1.805, allocations: 171.2 MB / 178.4 MB, free: 152 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.505e-05/2.511e-05, allocations: 8 kB / 219.6 MB, free: 6.922 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2591, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.4072, allocations: 84.06 MB / 342.4 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.4076, allocations: 83.95 kB / 342.5 MB, free: 9.598 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4136/0.8212, allocations: 40.19 MB / 382.7 MB, free: 81.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.8212, allocations: 1.688 kB / 382.7 MB, free: 81.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001331/0.8214, allocations: 31.34 kB / 382.7 MB, free: 81.43 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004449/0.8258, allocations: 1.559 MB / 384.3 MB, free: 80.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.8259, allocations: 15.05 kB / 384.3 MB, free: 80.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.8274, allocations: 256.2 kB / 384.5 MB, free: 80.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003501/0.8309, allocations: 1.101 MB / 385.6 MB, free: 80.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.196e-05/0.831, allocations: 50.16 kB / 385.7 MB, free: 80.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003699/0.8314, allocations: 99.17 kB / 385.8 MB, free: 80.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003217/0.8346, allocations: 0.8091 MB / 386.6 MB, free: 80.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003922/0.8386, allocations: 1.213 MB / 387.8 MB, free: 79.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-05/0.8387, allocations: 3.594 kB / 387.8 MB, free: 79.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.8389, allocations: 4 kB / 387.8 MB, free: 79.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.506e-05/0.839, allocations: 41.34 kB / 387.9 MB, free: 79.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.8521, allocations: 6.357 MB / 394.2 MB, free: 75.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.8532, allocations: 340.3 kB / 394.5 MB, free: 74.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.8539, allocations: 188.8 kB / 394.7 MB, free: 74.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-05/0.8539, allocations: 6.25 kB / 394.7 MB, free: 74.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006248/0.8546, allocations: 248 kB / 395 MB, free: 74.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.667e-06/0.8546, allocations: 4 kB / 395 MB, free: 74.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.004071/0.8587, allocations: 1.502 MB / 396.5 MB, free: 73.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.647e-05/0.8588, allocations: 190.3 kB / 396.7 MB, free: 73.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.8608, allocations: 0.849 MB / 397.5 MB, free: 73.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.8609, allocations: 25.7 kB / 397.5 MB, free: 73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009134/0.8618, allocations: 0.8846 MB / 398.4 MB, free: 72.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.862, allocations: 194.4 kB / 398.6 MB, free: 72.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/0.8621, allocations: 3.875 kB / 398.6 MB, free: 72.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.8622, allocations: 353.6 kB / 399 MB, free: 71.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006466/0.8629, allocations: 185.1 kB / 399.2 MB, free: 71.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.864, allocations: 0.752 MB / 399.9 MB, free: 70.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009293/0.8649, allocations: 323 kB / 400.2 MB, free: 70.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/0.865, allocations: 7.812 kB / 400.2 MB, free: 70.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002919/0.8679, allocations: 0.9496 MB / 401.2 MB, free: 70.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.005e-05/0.868, allocations: 39.3 kB / 401.2 MB, free: 70.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/0.868, allocations: 22.06 kB / 401.2 MB, free: 70.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/0.8684, allocations: 75.47 kB / 401.3 MB, free: 70.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.8703, allocations: 270.3 kB / 401.6 MB, free: 70.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.8725, allocations: 2.477 MB / 404.1 MB, free: 67.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.8744, allocations: 47.59 kB / 404.1 MB, free: 67.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.8745, allocations: 60 kB / 404.2 MB, free: 67.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002618/0.8748, allocations: 165.8 kB / 404.3 MB, free: 67.28 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001274/0.8761, allocations: 459.5 kB / 404.8 MB, free: 66.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.8764, allocations: 122.3 kB / 404.9 MB, free: 66.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.8778, allocations: 460.6 kB / 405.3 MB, free: 66.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.8778, allocations: 8 kB / 405.3 MB, free: 66.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.8779, allocations: 0 / 405.3 MB, free: 66.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.8779, allocations: 7.844 kB / 405.4 MB, free: 66.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.8819, allocations: 1.65 MB / 407 MB, free: 64.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.882, allocations: 7.938 kB / 407 MB, free: 64.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.8831, allocations: 110.7 kB / 407.1 MB, free: 64.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/0.8833, allocations: 41.52 kB / 407.2 MB, free: 64.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.8834, allocations: 19.77 kB / 407.2 MB, free: 64.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.8855, allocations: 2.458 MB / 409.6 MB, free: 62.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/0.8855, allocations: 7.938 kB / 409.6 MB, free: 62.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.8876, allocations: 1.005 MB / 410.6 MB, free: 60.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007445/0.8884, allocations: 232.5 kB / 410.9 MB, free: 60.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003357/0.8887, allocations: 4 kB / 410.9 MB, free: 60.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.8899, allocations: 26.98 kB / 410.9 MB, free: 60.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.89, allocations: 58.14 kB / 411 MB, free: 60.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.8901, allocations: 19.84 kB / 411 MB, free: 60.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001181/0.8913, allocations: 0.6105 MB / 411.6 MB, free: 60.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.8913, allocations: 0 / 411.6 MB, free: 60.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001838/0.8931, allocations: 287.3 kB / 411.9 MB, free: 59.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (dcpm1.inertiaRotor.phi,dcpm1.inertiaRotor.w,dcpm1.la.i,dcpm2.inertiaRotor.phi,dcpm2.inertiaRotor.w) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002259/0.8954, allocations: 2.73 MB / 414.6 MB, free: 56.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.8971, allocations: 0.8087 MB / 415.4 MB, free: 56.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.8971, allocations: 0 / 415.4 MB, free: 56.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007579/0.8979, allocations: 419.4 kB / 415.8 MB, free: 55.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.9001, allocations: 280.2 kB / 416.1 MB, free: 55.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/0.9055, allocations: 2.051 MB / 418.1 MB, free: 53.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/0.9063, allocations: 1.208 MB / 419.4 MB, free: 52.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001066/0.9074, allocations: 154.2 kB / 419.5 MB, free: 52.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000862/0.9083, allocations: 0.5657 MB / 420.1 MB, free: 51.46 MB / 314.7 MB Notification: Performance of SimCode: time 1.252e-06/0.9083, allocations: 0 / 420.1 MB, free: 51.46 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0913/0.9996, allocations: 22.99 MB / 443.1 MB, free: 28.46 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.9998, allocations: 156.6 kB / 443.2 MB, free: 28.27 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.127/4.127, allocations: 0 / 443.2 MB, free: 28.27 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_QuasiStationary_res.mat does not exist to compare? outputFormat=mat