Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadModel(PowerSystems): time 2.157/2.157, allocations: 233 MB / 245.6 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.672e-05, allocations: 11.94 kB / 301.3 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09012/0.09018, allocations: 53.25 MB / 354.5 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3708/0.461, allocations: 92.5 MB / 447 MB, free: 9.555 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.4614, allocations: 91.94 kB / 447.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04081/0.5022, allocations: 9.908 MB / 457 MB, free: 15.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.199e-06/0.5022, allocations: 0 / 457 MB, free: 15.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.598e-05/0.5023, allocations: 15.92 kB / 457 MB, free: 15.46 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001085/0.5034, allocations: 0.5785 MB / 457.6 MB, free: 14.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.5034, allocations: 12.03 kB / 457.6 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.5035, allocations: 39.53 kB / 457.6 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.5053, allocations: 0.6075 MB / 458.3 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.5054, allocations: 24.55 kB / 458.3 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/0.5055, allocations: 28.52 kB / 458.3 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.5061, allocations: 333.9 kB / 458.6 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.5062, allocations: 0 / 458.6 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.5062, allocations: 12 kB / 458.6 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.5063, allocations: 8 kB / 458.7 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.5067, allocations: 188.7 kB / 458.8 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.5089, allocations: 1.495 MB / 460.3 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.5094, allocations: 190.4 kB / 460.5 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.5096, allocations: 76.14 kB / 460.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.5096, allocations: 8 kB / 460.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.5097, allocations: 34.56 kB / 460.6 MB, free: 11.56 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 2.96e-06/0.5097, allocations: 3.938 kB / 460.6 MB, free: 11.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.001687/0.5114, allocations: 0.827 MB / 461.5 MB, free: 10.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.742e-05/0.5115, allocations: 136.5 kB / 461.6 MB, free: 10.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.5119, allocations: 267.6 kB / 461.9 MB, free: 10.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.512, allocations: 30.27 kB / 461.9 MB, free: 10.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.5122, allocations: 262.4 kB / 462.1 MB, free: 9.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.866e-05/0.5123, allocations: 74.94 kB / 462.2 MB, free: 9.844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.5123, allocations: 4 kB / 462.2 MB, free: 9.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5125, allocations: 322.8 kB / 462.5 MB, free: 9.516 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.5126, allocations: 52.05 kB / 462.6 MB, free: 9.465 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.5128, allocations: 146.4 kB / 462.7 MB, free: 9.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.513, allocations: 75.91 kB / 462.8 MB, free: 9.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.028e-06/0.5131, allocations: 0 / 462.8 MB, free: 9.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00053/0.5136, allocations: 227.7 kB / 463 MB, free: 8.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.5136, allocations: 12.06 kB / 463 MB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.115e-06/0.5137, allocations: 0 / 463 MB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.5137, allocations: 8 kB / 463 MB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.5142, allocations: 79.89 kB / 463.1 MB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.5153, allocations: 1.282 MB / 464.4 MB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.5156, allocations: 8 kB / 464.4 MB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.5156, allocations: 12 kB / 464.4 MB, free: 7.449 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.5158, allocations: 116.9 kB / 464.5 MB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.5159, allocations: 39.56 kB / 464.6 MB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.5164, allocations: 196.5 kB / 464.8 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.672e-06/0.5164, allocations: 4 kB / 464.8 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.982e-06/0.5164, allocations: 0 / 464.8 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.5164, allocations: 9.203 kB / 464.8 MB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.5175, allocations: 0.5394 MB / 465.3 MB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.438e-06/0.5175, allocations: 4 kB / 465.3 MB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.5179, allocations: 55.94 kB / 465.4 MB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.08e-06/0.5179, allocations: 7.984 kB / 465.4 MB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.518, allocations: 4 kB / 465.4 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.803e-06/0.518, allocations: 0 / 465.4 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.799e-06/0.518, allocations: 4 kB / 465.4 MB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.5187, allocations: 0.5194 MB / 465.9 MB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.5188, allocations: 104.7 kB / 466 MB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.5189, allocations: 8.031 kB / 466 MB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.5192, allocations: 7.953 kB / 466 MB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.5192, allocations: 15.92 kB / 466.1 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.5193, allocations: 8.656 kB / 466.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002902/0.5196, allocations: 214.2 kB / 466.3 MB, free: 5.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.5196, allocations: 0 / 466.3 MB, free: 5.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006103/0.5202, allocations: 68 kB / 466.3 MB, free: 5.414 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (motor.phi_el,motor.w_el,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002265/0.5205, allocations: 140.9 kB / 466.5 MB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.521, allocations: 160.3 kB / 466.6 MB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.402e-06/0.521, allocations: 192 / 466.6 MB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.5212, allocations: 67.94 kB / 466.7 MB, free: 5.047 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006898/0.5219, allocations: 83.78 kB / 466.8 MB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.5234, allocations: 0.6403 MB / 467.4 MB, free: 4.289 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.524, allocations: 0.807 MB / 468.2 MB, free: 3.453 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.5241, allocations: 31.42 kB / 468.3 MB, free: 3.422 MB / 394.7 MB Notification: Performance of SimCode: time 1.646e-06/0.5241, allocations: 0 / 468.3 MB, free: 3.422 MB / 394.7 MB Notification: Performance of Templates: time 0.009171/0.5333, allocations: 4.819 MB / 473.1 MB, free: 14.62 MB / 410.7 MB