Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadModel(PowerSystems): time 2.273/2.273, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.116e-05, allocations: 4 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3814, allocations: 53.22 MB / 357.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.008057/0.3895, allocations: 4.529 MB / 362.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003796/0.3934, allocations: 1.475 MB / 363.6 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006425/0.3941, allocations: 34.78 kB / 363.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.3945, allocations: 96.97 kB / 363.7 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.3956, allocations: 235.4 kB / 363.9 MB, free: 9.406 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005559/0.3961, allocations: 134.2 kB / 364.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008235/0.397, allocations: 295.5 kB / 364.4 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004674/0.3975, allocations: 226.9 kB / 364.6 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.3979, allocations: 156.8 kB / 364.7 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.3983, allocations: 152 kB / 364.9 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.699e-05/0.3984, allocations: 13.38 kB / 364.9 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.3985, allocations: 13.75 kB / 364.9 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.3986, allocations: 80.58 kB / 365 MB, free: 8.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.3988, allocations: 40.75 kB / 365 MB, free: 8.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005906/0.3994, allocations: 388.4 kB / 365.4 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3994, allocations: 4 kB / 365.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3994, allocations: 0 / 365.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.3994, allocations: 1.094 kB / 365.4 MB, free: 8.469 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001542/0.401, allocations: 0.6073 MB / 366 MB, free: 7.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.401, allocations: 8.844 kB / 366 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.4012, allocations: 47.03 kB / 366.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008865/0.4021, allocations: 382.5 kB / 366.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.4022, allocations: 56.2 kB / 366.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.4023, allocations: 43.47 kB / 366.6 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.4035, allocations: 433.7 kB / 367 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.4035, allocations: 1.281 kB / 367 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.545e-05/0.4036, allocations: 15.67 kB / 367 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.4036, allocations: 9.062 kB / 367 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008839/0.4045, allocations: 283.7 kB / 367.3 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.4079, allocations: 1.848 MB / 369.1 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.4085, allocations: 179.8 kB / 369.3 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.4085, allocations: 10.17 kB / 369.3 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.4086, allocations: 36.95 kB / 369.3 MB, free: 5.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 6.201e-06/0.4086, allocations: 3.984 kB / 369.4 MB, free: 5.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002642/0.4112, allocations: 0.9231 MB / 370.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.4113, allocations: 105 kB / 370.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.4118, allocations: 280.6 kB / 370.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.4119, allocations: 25.7 kB / 370.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.4121, allocations: 290.1 kB / 371 MB, free: 3.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.284e-05/0.4122, allocations: 79 kB / 371 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.4123, allocations: 8 kB / 371 MB, free: 3.668 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4124, allocations: 322.8 kB / 371.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.4127, allocations: 75.95 kB / 371.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.4131, allocations: 200 kB / 371.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.4135, allocations: 112.1 kB / 371.7 MB, free: 2.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.4135, allocations: 7.891 kB / 371.7 MB, free: 2.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009139/0.4145, allocations: 318.1 kB / 372.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4145, allocations: 8.781 kB / 372.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4145, allocations: 4 kB / 372.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.4146, allocations: 4 kB / 372.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.4151, allocations: 79.91 kB / 372.2 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/0.4152, allocations: 11.92 kB / 372.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.4155, allocations: 16 kB / 372.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.4156, allocations: 20.16 kB / 372.2 MB, free: 2.445 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (41): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002943/0.4159, allocations: 177.8 kB / 372.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.416, allocations: 35.58 kB / 372.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006557/0.4167, allocations: 200.7 kB / 372.6 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.4167, allocations: 4 kB / 372.6 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4167, allocations: 0 / 372.6 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.4167, allocations: 0 / 372.6 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.4182, allocations: 0.6443 MB / 373.3 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4182, allocations: 7.938 kB / 373.3 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.4187, allocations: 51.86 kB / 373.3 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.4187, allocations: 0 / 373.3 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.4188, allocations: 12.02 kB / 373.3 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.4188, allocations: 0 / 373.3 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/0.4188, allocations: 4 kB / 373.3 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009977/0.4198, allocations: 0.4885 MB / 373.8 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.42, allocations: 100.7 kB / 373.9 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.907e-05/0.4201, allocations: 8 kB / 373.9 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.4204, allocations: 15.98 kB / 373.9 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.4205, allocations: 11.98 kB / 373.9 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.4205, allocations: 12 kB / 374 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003393/0.4208, allocations: 215.1 kB / 374.2 MB, free: 348 kB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4209, allocations: 0 / 374.2 MB, free: 348 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.000588/0.4215, allocations: 67.98 kB / 374.2 MB, free: 280 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.motor.phi_el,machine.motor.w_el) * 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.0001483/0.4216, allocations: 107.2 kB / 374.3 MB, free: 164 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007037/0.4223, allocations: 210.7 kB / 374.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.4224, allocations: 0 / 374.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.4227, allocations: 83.84 kB / 374.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007991/0.4235, allocations: 92.84 kB / 374.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.4261, allocations: 1.142 MB / 375.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.4266, allocations: 0.8266 MB / 376.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.4268, allocations: 31.44 kB / 376.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4268, allocations: 0 / 376.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of Templates: time 0.01082/0.4376, allocations: 4.427 MB / 381.1 MB, free: 9.305 MB / 314.7 MB