Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_VCurve2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.072/2.072, allocations: 214.7 MB / 226.9 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.581e-05, allocations: 4 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 49.7 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5468/0.6578, allocations: 139.9 MB / 469.2 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.6581, allocations: 74.41 kB / 469.2 MB, free: 8.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.698/2.356, allocations: 275 MB / 0.7268 GB, free: 58.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.326e-06/2.356, allocations: 0 / 0.7268 GB, free: 58.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006533/2.357, allocations: 183.3 kB / 0.727 GB, free: 58.26 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.03617/2.393, allocations: 7.555 MB / 0.7344 GB, free: 55.85 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/2.393, allocations: 12.19 kB / 0.7344 GB, free: 55.85 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006191/2.399, allocations: 1.292 MB / 0.7356 GB, free: 55.74 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03899/2.438, allocations: 4.546 MB / 0.7401 GB, free: 55.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02316/2.462, allocations: 6.715 MB / 0.7466 GB, free: 54.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008147/2.462, allocations: 0.5891 MB / 0.7472 GB, free: 54.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003712/2.466, allocations: 0.7621 MB / 0.748 GB, free: 54.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04137/2.508, allocations: 13.34 MB / 0.761 GB, free: 53.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004572/2.508, allocations: 13.47 kB / 0.761 GB, free: 53.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003387/2.512, allocations: 342.6 kB / 0.7613 GB, free: 53.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009893/2.513, allocations: 0.5856 MB / 0.7619 GB, free: 53.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0385/2.551, allocations: 12.63 MB / 0.7742 GB, free: 52.19 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.113/2.664, allocations: 45.88 MB / 0.819 GB, free: 26.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02763/2.692, allocations: 16.47 MB / 0.8351 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0148/2.707, allocations: 5.219 MB / 0.8402 GB, free: 7.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/2.708, allocations: 299.8 kB / 0.8405 GB, free: 7.461 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01451/2.722, allocations: 4.479 MB / 0.8449 GB, free: 3.652 MB / 458.7 MB Notification: Performance of pre-optimization done (n=612): time 1.322e-05/2.722, allocations: 0 / 0.8449 GB, free: 3.652 MB / 458.7 MB Notification: Performance of matching and sorting (n=618): time 0.0684/2.791, allocations: 19.44 MB / 0.8639 GB, free: 2.059 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002413/2.791, allocations: 324.6 kB / 0.8642 GB, free: 1.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3628/3.154, allocations: 2.703 MB / 0.8668 GB, free: 73.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001422/3.155, allocations: 117.5 kB / 0.8669 GB, free: 73.08 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003265/3.159, allocations: 3.017 MB / 0.8699 GB, free: 72.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003969/3.163, allocations: 2.049 MB / 0.8719 GB, free: 71.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/3.165, allocations: 123.7 kB / 0.872 GB, free: 71.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009408/3.166, allocations: 0.5719 MB / 0.8725 GB, free: 71.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01111/3.177, allocations: 3.856 MB / 0.8763 GB, free: 71.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01318/3.19, allocations: 5.253 MB / 0.8814 GB, free: 69.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0148/3.205, allocations: 4.834 MB / 0.8862 GB, free: 69.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/3.205, allocations: 11.59 kB / 0.8862 GB, free: 69.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.03672/3.242, allocations: 11.27 MB / 0.8972 GB, free: 69.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.547e-05/3.242, allocations: 48.42 kB / 0.8972 GB, free: 68.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/3.242, allocations: 37.78 kB / 0.8973 GB, free: 68.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009229/3.251, allocations: 2.562 MB / 0.8998 GB, free: 68.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/3.262, allocations: 1.283 MB / 0.901 GB, free: 68.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/3.273, allocations: 6.988 MB / 0.9078 GB, free: 66.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008896/3.282, allocations: 430.1 kB / 0.9082 GB, free: 66.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00191/3.284, allocations: 270.5 kB / 0.9085 GB, free: 66.79 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (670): * Single equations (assignments): 632 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 33 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 4,6 9,6 9,10 71} Notification: Performance of prepare postOptimizeDAE: time 0.00195/3.286, allocations: 486.8 kB / 0.909 GB, free: 66.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002/3.288, allocations: 422 kB / 0.9094 GB, free: 66.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03953/3.327, allocations: 10.64 MB / 0.9198 GB, free: 65.99 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002864/3.328, allocations: 132 kB / 0.9199 GB, free: 65.99 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.919e-05/3.328, allocations: 3.953 kB / 0.9199 GB, free: 65.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001688/3.328, allocations: 26.11 kB / 0.9199 GB, free: 65.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0834/3.411, allocations: 22.57 MB / 0.942 GB, free: 57.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.576e-05/3.412, allocations: 3.969 kB / 0.942 GB, free: 57.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008788/3.42, allocations: 0.8659 MB / 0.9428 GB, free: 57.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01197/3.432, allocations: 2.453 MB / 0.9452 GB, free: 56.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001716/3.434, allocations: 132.4 kB / 0.9453 GB, free: 56.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/3.45, allocations: 6.824 MB / 0.952 GB, free: 52.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/3.45, allocations: 3.375 kB / 0.952 GB, free: 52.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05013/3.5, allocations: 15.87 MB / 0.9675 GB, free: 44.54 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005035/3.505, allocations: 1.362 MB / 0.9688 GB, free: 43.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002159/3.507, allocations: 101.8 kB / 0.9689 GB, free: 43.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006454/3.514, allocations: 289.4 kB / 0.9692 GB, free: 43.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00199/3.516, allocations: 441.2 kB / 0.9696 GB, free: 43.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009896/3.517, allocations: 168.3 kB / 0.9698 GB, free: 43.47 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00512/3.522, allocations: 2.006 MB / 0.9717 GB, free: 42.67 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.61e-07/3.522, allocations: 6.172 kB / 0.9717 GB, free: 42.67 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009667/3.532, allocations: 1.571 MB / 0.9733 GB, free: 42.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 3 (smee.inertiaRotor.w,smee.excitation.electroMagneticConverter.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (467): * Single equations (assignments): 429 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 33 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 4,6 9,6 9,10 69} Notification: Performance of Backend phase and start with SimCode phase: time 0.04313/3.575, allocations: 17.84 MB / 0.9907 GB, free: 28.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02481/3.6, allocations: 9.24 MB / 0.9997 GB, free: 20.42 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/3.6, allocations: 2.812 kB / 0.9997 GB, free: 20.42 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01753/3.617, allocations: 4.65 MB / 1.004 GB, free: 16.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009668/3.627, allocations: 0.724 MB / 1.005 GB, free: 15.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07909/3.706, allocations: 17.01 MB / 1.022 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01399/3.72, allocations: 5.353 MB / 1.027 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01003/3.73, allocations: 1.542 MB / 1.028 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008184/3.739, allocations: 2.805 MB / 1.031 GB, free: 9.195 MB / 490.7 MB Notification: Performance of SimCode: time 1.452e-06/3.739, allocations: 0 / 1.031 GB, free: 9.195 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.722/4.461, allocations: 141.9 MB / 1.17 GB, free: 33.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/4.461, allocations: 179.2 kB / 1.17 GB, free: 33.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/11.74, allocations: 3.938 kB / 1.17 GB, free: 33.07 MB / 490.7 MB