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.197/2.197, allocations: 233 MB / 245.6 MB, free: 14.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.269e-05, allocations: 0 / 301.3 MB, free: 7.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.08961, allocations: 53.23 MB / 354.5 MB, free: 2.613 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3826/0.4723, allocations: 94.26 MB / 448.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.4726, allocations: 87.95 kB / 448.8 MB, free: 7.695 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04443/0.517, allocations: 11.36 MB / 460.2 MB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.471e-06/0.5171, allocations: 4 kB / 460.2 MB, free: 12.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.603e-05/0.5171, allocations: 12 kB / 460.2 MB, free: 12.21 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00124/0.5184, allocations: 0.6201 MB / 460.8 MB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5184, allocations: 11.97 kB / 460.8 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.5186, allocations: 47.44 kB / 460.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.5201, allocations: 0.5493 MB / 461.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.5202, allocations: 54.48 kB / 461.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.898e-05/0.5203, allocations: 44.45 kB / 461.5 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008676/0.5212, allocations: 421.4 kB / 461.9 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.5212, allocations: 4 kB / 461.9 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.5213, allocations: 16 kB / 462 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.5213, allocations: 8 kB / 462 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006109/0.5219, allocations: 244.9 kB / 462.2 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.525, allocations: 1.862 MB / 464.1 MB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.5254, allocations: 168.2 kB / 464.2 MB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.5256, allocations: 74.58 kB / 464.3 MB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.5256, allocations: 11.94 kB / 464.3 MB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.5257, allocations: 38.55 kB / 464.4 MB, free: 7.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 3.227e-06/0.5257, allocations: 0 / 464.4 MB, free: 7.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001791/0.5275, allocations: 0.84 MB / 465.2 MB, free: 6.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.5276, allocations: 106.8 kB / 465.3 MB, free: 6.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/0.528, allocations: 274.6 kB / 465.6 MB, free: 6.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.5281, allocations: 33.7 kB / 465.6 MB, free: 6.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.5283, allocations: 298 kB / 465.9 MB, free: 6.094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.752e-05/0.5284, allocations: 67.02 kB / 466 MB, free: 6.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.5284, allocations: 8 kB / 466 MB, free: 6.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5286, allocations: 326.9 kB / 466.3 MB, free: 5.691 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.5288, allocations: 72.55 kB / 466.4 MB, free: 5.621 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.5291, allocations: 196.2 kB / 466.5 MB, free: 5.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.5294, allocations: 102.5 kB / 466.6 MB, free: 5.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.399e-06/0.5294, allocations: 0 / 466.6 MB, free: 5.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006753/0.5301, allocations: 295.9 kB / 466.9 MB, free: 4.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.5301, allocations: 8 kB / 466.9 MB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5301, allocations: 5.125 kB / 467 MB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.5302, allocations: 8 kB / 467 MB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.5306, allocations: 79.91 kB / 467 MB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.141e-05/0.5307, allocations: 11.92 kB / 467 MB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.531, allocations: 16 kB / 467.1 MB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.531, allocations: 16 kB / 467.1 MB, free: 4.836 MB / 394.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.0001313/0.5311, allocations: 126.4 kB / 467.2 MB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.5313, allocations: 31.62 kB / 467.2 MB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.5317, allocations: 198.7 kB / 467.4 MB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.5318, allocations: 4 kB / 467.4 MB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.062e-06/0.5318, allocations: 0 / 467.4 MB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.865e-06/0.5318, allocations: 0 / 467.4 MB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.5331, allocations: 0.6261 MB / 468.1 MB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.823e-06/0.5331, allocations: 0 / 468.1 MB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.5335, allocations: 56 kB / 468.1 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.056e-06/0.5335, allocations: 0 / 468.1 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.5335, allocations: 4 kB / 468.1 MB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.146e-06/0.5335, allocations: 3.938 kB / 468.1 MB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.677e-06/0.5336, allocations: 0 / 468.1 MB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007268/0.5343, allocations: 492.8 kB / 468.6 MB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.5344, allocations: 108.7 kB / 468.7 MB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/0.5345, allocations: 11.95 kB / 468.7 MB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.5348, allocations: 4 kB / 468.7 MB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.5349, allocations: 19.95 kB / 468.7 MB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.5349, allocations: 12 kB / 468.8 MB, free: 3.035 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003017/0.5352, allocations: 210.2 kB / 469 MB, free: 2.828 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.5352, allocations: 4 kB / 469 MB, free: 2.824 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006155/0.5359, allocations: 76 kB / 469 MB, free: 2.75 MB / 394.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.0002155/0.5361, allocations: 136.3 kB / 469.2 MB, free: 2.609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004703/0.5366, allocations: 179.8 kB / 469.3 MB, free: 2.434 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.019e-06/0.5366, allocations: 0 / 469.3 MB, free: 2.434 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.5368, allocations: 80.98 kB / 469.4 MB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.5375, allocations: 81.36 kB / 469.5 MB, free: 2.273 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.5392, allocations: 0.7076 MB / 470.2 MB, free: 1.523 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.5397, allocations: 0.8304 MB / 471 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.5399, allocations: 27.44 kB / 471.1 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of SimCode: time 1.885e-06/0.5399, allocations: 4 kB / 471.1 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of Templates: time 0.009245/0.5491, allocations: 4.619 MB / 475.7 MB, free: 12.04 MB / 410.7 MB