Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") Notification: Performance of loadModel(PowerSystems): time 2.15/2.15, allocations: 233 MB / 245.6 MB, free: 15.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.132e-05, allocations: 4 kB / 301.3 MB, free: 8.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08907/0.08912, allocations: 53.25 MB / 354.5 MB, free: 2.836 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/0.4574, allocations: 96.38 MB / 450.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00208/0.4595, allocations: 0.6873 MB / 451.6 MB, free: 5.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05647/0.516, allocations: 14.51 MB / 466.1 MB, free: 6.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.782e-06/0.516, allocations: 0 / 466.1 MB, free: 6.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.12e-05/0.5161, allocations: 15.94 kB / 466.1 MB, free: 6.473 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001465/0.5176, allocations: 0.7513 MB / 466.8 MB, free: 5.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.5176, allocations: 8.031 kB / 466.8 MB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.5178, allocations: 55.34 kB / 466.9 MB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.5197, allocations: 0.6911 MB / 467.6 MB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.5198, allocations: 24.78 kB / 467.6 MB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.323e-05/0.5199, allocations: 40.52 kB / 467.7 MB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.5208, allocations: 446.7 kB / 468.1 MB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.5209, allocations: 8.969 kB / 468.1 MB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/0.5209, allocations: 16 kB / 468.1 MB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.521, allocations: 11.94 kB / 468.1 MB, free: 4.289 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006254/0.5216, allocations: 253.4 kB / 468.4 MB, free: 4.043 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.5246, allocations: 1.868 MB / 470.2 MB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.5252, allocations: 240.1 kB / 470.5 MB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.5254, allocations: 79.02 kB / 470.6 MB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.5255, allocations: 8.141 kB / 470.6 MB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003514/0.5258, allocations: 171.3 kB / 470.7 MB, free: 1.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.237e-06/0.5259, allocations: 0 / 470.7 MB, free: 1.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.002467/0.5283, allocations: 1.078 MB / 471.8 MB, free: 364 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.5285, allocations: 132.5 kB / 471.9 MB, free: 200 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005658/0.529, allocations: 342.9 kB / 472.3 MB, free: 15.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.5291, allocations: 29.7 kB / 472.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.5293, allocations: 302.1 kB / 472.6 MB, free: 15.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5295, allocations: 94.66 kB / 472.7 MB, free: 15.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.5295, allocations: 11.94 kB / 472.7 MB, free: 15.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5297, allocations: 334.8 kB / 473 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.5299, allocations: 80.73 kB / 473.1 MB, free: 14.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.5303, allocations: 216.4 kB / 473.3 MB, free: 14.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.5306, allocations: 142.8 kB / 473.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.127e-06/0.5306, allocations: 4 kB / 473.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001136/0.5318, allocations: 430 kB / 473.9 MB, free: 14.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.5318, allocations: 29.7 kB / 473.9 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.282e-06/0.5318, allocations: 8.688 kB / 473.9 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005112/0.5324, allocations: 92.77 kB / 474 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.5327, allocations: 67.91 kB / 474.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/0.5356, allocations: 1.811 MB / 475.9 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.536, allocations: 19.95 kB / 475.9 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.536, allocations: 23.98 kB / 475.9 MB, free: 11.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.5362, allocations: 132.9 kB / 476.1 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-05/0.5363, allocations: 43.44 kB / 476.1 MB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008245/0.5371, allocations: 297.7 kB / 476.4 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.5372, allocations: 7.938 kB / 476.4 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.563e-06/0.5372, allocations: 0 / 476.4 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.318e-06/0.5372, allocations: 4 kB / 476.4 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.5387, allocations: 0.765 MB / 477.2 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.603e-06/0.5388, allocations: 0 / 477.2 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.5391, allocations: 51.92 kB / 477.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002747/0.5394, allocations: 44.81 kB / 477.3 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.5395, allocations: 11.98 kB / 477.3 MB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.5412, allocations: 1.429 MB / 478.7 MB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.5412, allocations: 0 / 478.7 MB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.5423, allocations: 0.5206 MB / 479.2 MB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.5425, allocations: 136.6 kB / 479.4 MB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.613e-05/0.5426, allocations: 11.98 kB / 479.4 MB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.5429, allocations: 16 kB / 479.4 MB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.543, allocations: 27.83 kB / 479.4 MB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.5431, allocations: 12 kB / 479.4 MB, free: 8.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004179/0.5435, allocations: 265.2 kB / 479.7 MB, free: 7.938 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.98e-07/0.5435, allocations: 0 / 479.7 MB, free: 7.938 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007572/0.5443, allocations: 123.9 kB / 479.8 MB, free: 7.816 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.motor.phi_el,dcm_ser.motor.w_el,dcm_ser.motor.i,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/0.5454, allocations: 359.8 kB / 480.2 MB, free: 7.516 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.5465, allocations: 434.2 kB / 480.6 MB, free: 7.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.669e-06/0.5466, allocations: 0 / 480.6 MB, free: 7.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.5471, allocations: 241.6 kB / 480.8 MB, free: 6.824 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007018/0.5478, allocations: 117.5 kB / 480.9 MB, free: 6.707 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.5498, allocations: 0.8282 MB / 481.8 MB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/0.5504, allocations: 0.8626 MB / 482.6 MB, free: 4.953 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.5506, allocations: 39.42 kB / 482.7 MB, free: 4.914 MB / 410.7 MB Notification: Performance of SimCode: time 1.905e-06/0.5506, allocations: 3.938 kB / 482.7 MB, free: 4.91 MB / 410.7 MB Notification: Performance of Templates: time 0.01422/0.5648, allocations: 7.964 MB / 490.6 MB, free: 12.95 MB / 426.7 MB