Running command: "" <> buildModelFMU(HanserModelica.Rotational.TestDCPMMachine,fileNamePrefix="HanserModelica_HanserModelica_Rotational_TestDCPMMachine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.189/2.189, allocations: 214.7 MB / 226.9 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.51e-05/4.514e-05, allocations: 0 / 279.6 MB, free: 13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1466, allocations: 49.71 MB / 329.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4579/0.6046, allocations: 81.06 MB / 410.3 MB, free: 2.695 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.6049, allocations: 65.34 kB / 410.4 MB, free: 2.664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02095/0.6259, allocations: 4.896 MB / 415.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6259, allocations: 0 / 415.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.626, allocations: 8 kB / 415.3 MB, free: 14.55 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001178/0.6272, allocations: 0.5202 MB / 415.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.6272, allocations: 12.03 kB / 415.8 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.6273, allocations: 69.81 kB / 415.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.593e-05/0.6275, allocations: 31.62 kB / 415.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.6279, allocations: 266.7 kB / 416.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.628, allocations: 23.23 kB / 416.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-05/0.628, allocations: 38.55 kB / 416.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.6287, allocations: 246.3 kB / 416.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.6288, allocations: 10.2 kB / 416.5 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.6288, allocations: 7.188 kB / 416.5 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.6288, allocations: 11.94 kB / 416.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.6294, allocations: 175 kB / 416.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.6321, allocations: 1.102 MB / 417.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004256/0.6326, allocations: 126.1 kB / 417.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.6328, allocations: 57.98 kB / 418 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.6328, allocations: 6.875 kB / 418 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.6328, allocations: 30.84 kB / 418 MB, free: 12.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 3.156e-06/0.6329, allocations: 0 / 418 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001226/0.6341, allocations: 0.4908 MB / 418.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.6342, allocations: 63.28 kB / 418.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.6344, allocations: 178.9 kB / 418.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.6345, allocations: 32.52 kB / 418.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.6346, allocations: 184.3 kB / 418.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.6347, allocations: 57.64 kB / 419 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.6347, allocations: 0 / 419 MB, free: 11.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6349, allocations: 337.6 kB / 419.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.635, allocations: 45.56 kB / 419.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.6352, allocations: 81.36 kB / 419.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.6354, allocations: 60 kB / 419.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6354, allocations: 4 kB / 419.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005358/0.636, allocations: 199.3 kB / 419.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.636, allocations: 8 kB / 419.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.636, allocations: 3.984 kB / 419.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.6362, allocations: 20.55 kB / 419.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.6366, allocations: 52.03 kB / 419.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.6379, allocations: 1.262 MB / 421.1 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.6382, allocations: 19.95 kB / 421.1 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.6383, allocations: 7.125 kB / 421.1 MB, free: 9.121 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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.0001222/0.6384, allocations: 116.2 kB / 421.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.6385, allocations: 15.81 kB / 421.2 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.27e-05/0.6386, allocations: 20.66 kB / 421.2 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.6386, allocations: 4 kB / 421.2 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6386, allocations: 7.938 kB / 421.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.6386, allocations: 3.984 kB / 421.2 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.6398, allocations: 0.574 MB / 421.8 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.6398, allocations: 0 / 421.8 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.6402, allocations: 43.91 kB / 421.9 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001386/0.6404, allocations: 20.67 kB / 421.9 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.6404, allocations: 7.359 kB / 421.9 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.6417, allocations: 1.279 MB / 423.2 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6417, allocations: 0 / 423.2 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.6424, allocations: 357.5 kB / 423.5 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.6425, allocations: 96.14 kB / 423.6 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.6425, allocations: 4 kB / 423.6 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.6428, allocations: 15.34 kB / 423.6 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.6429, allocations: 19.73 kB / 423.7 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.643, allocations: 4 kB / 423.7 MB, free: 6.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.6432, allocations: 145.4 kB / 423.8 MB, free: 6.398 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6432, allocations: 8 kB / 423.8 MB, free: 6.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000497/0.6437, allocations: 51.62 kB / 423.9 MB, free: 6.344 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (machine.inductor.i,load.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.001017/0.6447, allocations: 1.03 MB / 424.9 MB, free: 5.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00061/0.6453, allocations: 227.8 kB / 425.1 MB, free: 5.145 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6454, allocations: 3.938 kB / 425.1 MB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.6457, allocations: 168 kB / 425.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.6462, allocations: 41.88 kB / 425.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.6479, allocations: 0.5466 MB / 425.9 MB, free: 4.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.6484, allocations: 0.7636 MB / 426.6 MB, free: 3.621 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.6486, allocations: 21.53 kB / 426.6 MB, free: 3.598 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.6487, allocations: 82.97 kB / 426.7 MB, free: 3.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.093e-06/0.6487, allocations: 0 / 426.7 MB, free: 3.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.679, allocations: 4.114 MB / 430.8 MB, free: 15.53 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003434/0.6794, allocations: 176.9 kB / 431 MB, free: 15.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.162, allocations: 0 / 431 MB, free: 15.29 MB / 362.7 MB